Package javacard.framework
Class PINException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- javacard.framework.CardRuntimeException
-
- javacard.framework.PINException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
PINExceptionSubclass
public class PINException extends CardRuntimeException
PINException
represents aOwnerPIN
class access-related exception.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static short
ILLEGAL_VALUE
This reason code is used to indicate that one or more input parameters is out of allowed bounds.
-
Constructor Summary
Constructors Constructor Description PINException(short reason)
Constructs a PINException.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
throwIt(short reason)
Throws an instance ofPINException
with the specified reason.-
Methods inherited from class javacard.framework.CardRuntimeException
getReason, setReason
-
-
-
-
Field Detail
-
ILLEGAL_VALUE
public static final short ILLEGAL_VALUE
This reason code is used to indicate that one or more input parameters is out of allowed bounds.- See Also:
- Constant Field Values
-
-
Method Detail
-
throwIt
public static void throwIt(short reason)
Throws an instance ofPINException
with the specified reason.- Parameters:
reason
- the reason for the exception.- Throws:
PINException
- always.
-
-