Package org.teiid.core.crypto
Class CryptoException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.teiid.core.TeiidException
-
- org.teiid.core.crypto.CryptoException
-
- All Implemented Interfaces:
Serializable
public class CryptoException extends TeiidException
A catch-all exception for any exceptions related to encryption and decryption operations.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.teiid.core.TeiidException
code
-
-
Constructor Summary
Constructors Constructor Description CryptoException()
No-Arg ConstructorCryptoException(String message)
Construct an instance with the message specified.CryptoException(Throwable e)
Construct an instance with a linked exception specified.CryptoException(Throwable e, String message)
Construct an instance from a message and an exception to chain to this one.CryptoException(BundleUtil.Event code, String message)
Construct an instance with the message and error code specified.CryptoException(BundleUtil.Event code, Throwable e)
CryptoException(BundleUtil.Event code, Throwable e, String message)
Construct an instance from a message and a code and an exception to chain to this one.
-
Method Summary
-
Methods inherited from class org.teiid.core.TeiidException
getCode, getMessage, getOriginalType, setCode, setOriginalType
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
CryptoException
public CryptoException()
No-Arg Constructor
-
CryptoException
public CryptoException(String message)
Construct an instance with the message specified.- Parameters:
message
- A message describing the exception
-
CryptoException
public CryptoException(Throwable e)
Construct an instance with a linked exception specified.- Parameters:
e
- An exception to chain to this exception
-
CryptoException
public CryptoException(BundleUtil.Event code, String message)
Construct an instance with the message and error code specified.- Parameters:
message
- A message describing the exceptioncode
- The error code
-
CryptoException
public CryptoException(Throwable e, String message)
Construct an instance from a message and an exception to chain to this one.- Parameters:
message
- A code denoting the exceptione
- An exception to nest within this one
-
CryptoException
public CryptoException(BundleUtil.Event code, Throwable e, String message)
Construct an instance from a message and a code and an exception to chain to this one.- Parameters:
e
- An exception to nest within this onemessage
- A message describing the exceptioncode
- A code denoting the exception
-
CryptoException
public CryptoException(BundleUtil.Event code, Throwable e)
-
-