UnknownLanguageException.cs 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. /*
  2. * $RCSfile$
  3. * Copyright (C) 2004, 2005 David Hudson ([email protected])
  4. *
  5. * This library is free software; you can redistribute it and/or
  6. * modify it under the terms of the GNU Lesser General Public
  7. * License as published by the Free Software Foundation; either
  8. * version 2.1 of the License, or (at your option) any later version.
  9. *
  10. * This library is distributed in the hope that it will be useful,
  11. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  13. * Lesser General Public License for more details.
  14. *
  15. * You should have received a copy of the GNU Lesser General Public
  16. * License along with this library; if not, write to the Free Software
  17. * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  18. */
  19. using System;
  20. using System.Runtime.Serialization;
  21. namespace Prebuild.Core
  22. {
  23. /// <summary>
  24. /// </summary>
  25. [Serializable()]
  26. public class UnknownLanguageException : Exception
  27. {
  28. /// <summary>
  29. /// Basic exception.
  30. /// </summary>
  31. public UnknownLanguageException()
  32. {
  33. }
  34. /// <summary>
  35. /// Exception with specified string
  36. /// </summary>
  37. /// <param name="message">Exception message</param>
  38. public UnknownLanguageException(string message): base(message)
  39. {
  40. }
  41. /// <summary>
  42. ///
  43. /// </summary>
  44. /// <param name="message"></param>
  45. /// <param name="exception"></param>
  46. public UnknownLanguageException(string message, Exception exception) : base(message, exception)
  47. {
  48. }
  49. /// <summary>
  50. ///
  51. /// </summary>
  52. /// <param name="info"></param>
  53. /// <param name="context"></param>
  54. protected UnknownLanguageException(SerializationInfo info, StreamingContext context) : base( info, context )
  55. {
  56. }
  57. }
  58. }