Class EncryptionException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.gcube.spatial.data.geonetwork.model.faults.EncryptionException
-
- All Implemented Interfaces:
Serializable
public class EncryptionException extends RuntimeException
Exception thrown when an encryption/decryption error occurs.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description EncryptionException()Constructs a new encryption exception.EncryptionException(String message)Constructs a new encryption exception with the specified detail message.EncryptionException(String message, Throwable cause)Constructs a new encryption exception with the specified detail message and cause.EncryptionException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace)Constructs a new encryption exception with the specified detail message, cause, suppression enabled or disabled, and writable stack trace enabled or disabled.EncryptionException(Throwable cause)Constructs a new encryption exception with the specified cause.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
EncryptionException
public EncryptionException()
Constructs a new encryption exception.
-
EncryptionException
public EncryptionException(String message)
Constructs a new encryption exception with the specified detail message.- Parameters:
message- the detail message
-
EncryptionException
public EncryptionException(Throwable cause)
Constructs a new encryption exception with the specified cause.- Parameters:
cause- the cause
-
EncryptionException
public EncryptionException(String message, Throwable cause)
Constructs a new encryption exception with the specified detail message and cause.- Parameters:
message- the detail messagecause- the cause
-
EncryptionException
public EncryptionException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace)
Constructs a new encryption exception with the specified detail message, cause, suppression enabled or disabled, and writable stack trace enabled or disabled.- Parameters:
message- the detail messagecause- the causeenableSuppression- whether suppression is enabled or disabledwritableStackTrace- whether the stack trace should be writable
-
-