SecretException.cs 925 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. using System;
  2. using System.Runtime.Serialization;
  3. namespace Top.Api.Security
  4. {
  5. public class SecretException : TopException
  6. {
  7. public SecretException()
  8. : base()
  9. {
  10. }
  11. public SecretException(string message)
  12. : base(message)
  13. {
  14. }
  15. protected SecretException(SerializationInfo info, StreamingContext context)
  16. : base(info, context)
  17. {
  18. }
  19. public SecretException(string message, Exception innerException)
  20. : base(message, innerException)
  21. {
  22. }
  23. public SecretException(string errorCode, string errorMsg)
  24. : base(errorCode , errorMsg)
  25. {
  26. }
  27. public SecretException(string errorCode, string errorMsg, string subErrorCode, string subErrorMsg)
  28. : base(errorCode, errorMsg, subErrorCode, subErrorMsg)
  29. {
  30. }
  31. }
  32. }