javacard.security
Class CryptoException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--javacard.framework.CardRuntimeException
                          |
                          +--javacard.security.CryptoException
All Implemented Interfaces:
java.io.Serializable

public class CryptoException
extends javacard.framework.CardRuntimeException

See Also:
Serialized Form

Field Summary
static short ILLEGAL_USE
           
static short ILLEGAL_VALUE
           
static short INVALID_INIT
           
static short NO_SUCH_ALGORITHM
           
private static CryptoException systemInstance
           
static short UNINITIALIZED_KEY
           
 
Fields inherited from class javacard.framework.CardRuntimeException
 
Fields inherited from class java.lang.RuntimeException
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
CryptoException(short reason)
           
 
Method Summary
static void throwIt(short reason)
           
 
Methods inherited from class javacard.framework.CardRuntimeException
getReason, setReason
 
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
 

Field Detail

systemInstance

private static CryptoException systemInstance

ILLEGAL_VALUE

public static final short ILLEGAL_VALUE
See Also:
Constant Field Values

UNINITIALIZED_KEY

public static final short UNINITIALIZED_KEY
See Also:
Constant Field Values

NO_SUCH_ALGORITHM

public static final short NO_SUCH_ALGORITHM
See Also:
Constant Field Values

INVALID_INIT

public static final short INVALID_INIT
See Also:
Constant Field Values

ILLEGAL_USE

public static final short ILLEGAL_USE
See Also:
Constant Field Values
Constructor Detail

CryptoException

public CryptoException(short reason)
Method Detail

throwIt

public static void throwIt(short reason)