Class VodozemacException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.github.fherbreteau.vodozemac.exception.VodozemacException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ConversionException, DecryptionException, EciesException, EncryptionException, KeyException, PickleException, SasException, SessionCreationException, SignatureException

public class VodozemacException extends RuntimeException
Base exception class for all errors thrown by the vodozemac Java bindings.

All specific exception types (PickleException, DecryptionException, SessionCreationException, KeyException, SignatureException, SasException, ConversionException, EciesException, EncryptionException) extend this class, allowing callers to catch all vodozemac errors with a single catch clause if desired.

Author:
François HERBRETEAU
See Also:
  • Constructor Details

    • VodozemacException

      protected VodozemacException(String message)
      Constructs a new VodozemacException with the specified detail message.
      Parameters:
      message - the detail message
    • VodozemacException

      protected VodozemacException(String message, Throwable cause)
      Constructs a new VodozemacException with the specified detail message and a cause.
      Parameters:
      message - the detail message
      cause - the cause