com.pheox.jcapi
Class JCAPIJNIRuntimeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.pheox.jcapi.JCAPIJNIRuntimeException
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- JCAPIJNIPKCS11RuntimeException
public class JCAPIJNIRuntimeException
- extends java.lang.RuntimeException
This class is used for indicating an unexpected internal error
in Microsoft CryptoAPI (MS CAPI) e.g. CSP errors.
An instance of this class is always created and thrown by the
JCAPI DLL, and is never caught by JCAPI Java classes.
In other words, a user of JCAPI might have to catch this
runtime exception outside JCAPI if required.
If a method in JCAPI can throw this exception, then it
is specified in the Javadoc for each method, even though
it is a runtime exception.
- Since:
- 1.0
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
JCAPIJNIRuntimeException
public JCAPIJNIRuntimeException()
- Default constructor.
- Since:
- 1.0
JCAPIJNIRuntimeException
public JCAPIJNIRuntimeException(java.lang.String message)
- Constructor.
- Parameters:
message - the exception message.- Since:
- 1.0
Copyright © 2011 Pheox. All Rights Reserved.