DataLengthException.cs 678 B

1234567891011121314151617181920212223242526272829303132333435
  1. using System;
  2. namespace SharpCompress.Crypto
  3. {
  4. public class DataLengthException
  5. : CryptoException
  6. {
  7. /**
  8. * base constructor.
  9. */
  10. public DataLengthException()
  11. {
  12. }
  13. /**
  14. * create a DataLengthException with the given message.
  15. *
  16. * @param message the message to be carried with the exception.
  17. */
  18. public DataLengthException(
  19. string message)
  20. : base(message)
  21. {
  22. }
  23. public DataLengthException(
  24. string message,
  25. Exception exception)
  26. : base(message, exception)
  27. {
  28. }
  29. }
  30. }