MemoableResetException.cs 806 B

12345678910111213141516171819202122232425262728293031
  1. #if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
  2. #pragma warning disable
  3. using System;
  4. namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities
  5. {
  6. /**
  7. * Exception to be thrown on a failure to reset an object implementing Memoable.
  8. * <p>
  9. * The exception extends InvalidCastException to enable users to have a single handling case,
  10. * only introducing specific handling of this one if required.
  11. * </p>
  12. */
  13. public class MemoableResetException
  14. : InvalidCastException
  15. {
  16. /**
  17. * Basic Constructor.
  18. *
  19. * @param msg message to be associated with this exception.
  20. */
  21. public MemoableResetException(string msg)
  22. : base(msg)
  23. {
  24. }
  25. }
  26. }
  27. #pragma warning restore
  28. #endif