public class KeychainException extends ExceptionWithInnerException
| Constructor and Description |
|---|
KeychainException()
Default constructor for CapiException.
|
KeychainException(java.lang.String message)
Constructor for CapiException.
|
KeychainException(java.lang.String message,
java.lang.Exception inner)
Constructs an
CapiException with the specified message,
caused by the specified exception |
KeychainException(java.lang.String message,
int errorValue,
java.lang.String systemErrorString)
Constructs an
CapiException with the specified message,
caused by the specified message |
| Modifier and Type | Method and Description |
|---|---|
Error |
getSystemError()
Returns the native system error that caused this exception.
|
java.lang.String |
getSystemErrorString()
Returns the text from the native system that describes the
cause of this exception.
|
getMessageChain, getMessageChainpublic KeychainException()
public KeychainException(java.lang.String message)
message - the detail message of the exception.public KeychainException(java.lang.String message,
java.lang.Exception inner)
CapiException with the specified message,
caused by the specified exceptionmessage - the detail message of the exceptioninner - the exception thrown by the inner code that was the cause of
this exceptionpublic KeychainException(java.lang.String message,
int errorValue,
java.lang.String systemErrorString)
CapiException with the specified message,
caused by the specified messagemessage - the detail message of the exception.errorValue - the integer error value returned by a native system call.systemErrorString - the text description of the error, returned by the native operating
system.public Error getSystemError()
null if the exception was not caused by a
native call.public java.lang.String getSystemErrorString()
null if the
exception was not caused by a native call.