Class CryptoException

java.lang.Object
java.lang.Throwable
java.lang.Exception
i5.las2peer.tools.CryptoException
All Implemented Interfaces:
Serializable

public class CryptoException extends Exception
Exception for cryptografical problems.
See Also:
  • Constructor Details

    • CryptoException

      public CryptoException(String message)
      This constructor sets only the message for this exception and leaves the cause to null.
      Parameters:
      message - A message that describes the error.
    • CryptoException

      public CryptoException(Throwable cause)
      This constructor leaves the message null and sets only the cause for this exception. This is usually used to wrap other exception types and unify exception handling for the developer.
      Parameters:
      cause - An other exception that caused this one.
    • CryptoException

      public CryptoException(String message, Throwable cause)
      This constructor allows to set message and cause for this exception.
      Parameters:
      message - A message that describes the error.
      cause - An other exception that caused this one.