public class PINException extends CardRuntimeException
PINException
represents a OwnerPIN
class
access-related exception.Modifier and Type | Field and Description |
---|---|
static short |
ILLEGAL_VALUE
This reason code is used to indicate that one or more input parameters
is out of allowed bounds.
|
Constructor and Description |
---|
PINException(short reason)
Constructs a
PINException . |
Modifier and Type | Method and Description |
---|---|
static void |
throwIt(short reason)
Throws an instance of
PINException with the
specified reason. |
getReason, setReason
public static final short ILLEGAL_VALUE
public PINException(short reason)
PINException
.
To conserve on resources use throwIt()
to use the JCRE owned instance of this class.reason
- the reason for the exceptionpublic static void throwIt(short reason)
PINException
with the
specified reason.reason
- the reason for the exception.PINException
- alwaysCopyright © 2013, Oracle and/or its affiliates. All rights reserved.
Use is subject to License Terms. Your use of this web site or any of its contents or software indicates your agreement to be bound by these License Terms.