PageRenderTime 121ms CodeModel.GetById 42ms RepoModel.GetById 0ms app.codeStats 0ms

/Porrima/Porrima/SettingsStoreException.cs

http://porrima.googlecode.com/
C# | 64 lines | 24 code | 5 blank | 35 comment | 0 complexity | 1136e9fab53f507ea3041c142661cdfb MD5 | raw file
Possible License(s): GPL-2.0, GPL-3.0
  1. // SettingsStore class exception
  2. // --------------------------------------------------------------------------------
  3. // Porrima Hex Editor
  4. // Copyright (C) 2008-2010 Stanislav Vorobyev <mailto:stanislav.vorobyev@gmail.com>
  5. //
  6. // This program is free software: you can redistribute it and/or modify
  7. // it under the terms of the GNU General Public License as published by
  8. // the Free Software Foundation, either version 3 of the License, or
  9. // (at your option) any later version.
  10. //
  11. // This program is distributed in the hope that it will be useful,
  12. // but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  14. // GNU General Public License for more details.
  15. //
  16. // You should have received a copy of the GNU General Public License
  17. // along with this program. If not, see <http://www.gnu.org/licenses/>.
  18. // --------------------------------------------------------------------------------
  19. // $Id: SettingsStoreException.cs 14 2010-09-12 11:57:54Z stanislav.vorobyev $
  20. using System;
  21. using System.Runtime.Serialization;
  22. namespace Porrima
  23. {
  24. /// <summary>
  25. /// ?????????????? ???????? ??? ?????? ? ???????????
  26. /// </summary>
  27. [Serializable]
  28. public class SettingsStoreException : Exception
  29. {
  30. /// <summary>
  31. /// ??????????? ??????????
  32. /// </summary>
  33. /// <param name="message">?????????</param>
  34. public SettingsStoreException(string message)
  35. : base(message)
  36. {
  37. }
  38. /// <summary>
  39. /// ??????????? ??????????
  40. /// </summary>
  41. public SettingsStoreException()
  42. {
  43. }
  44. /// <summary>
  45. /// ??????????? ??????????
  46. /// </summary>
  47. protected SettingsStoreException(SerializationInfo info, StreamingContext context)
  48. : base(info, context)
  49. {
  50. }
  51. /// <summary>
  52. /// ??????????? ??????????
  53. /// </summary>
  54. public SettingsStoreException(string message, Exception exception)
  55. : base(message, exception)
  56. {
  57. }
  58. }
  59. }