ds.ov2.util
Class Response_apdu.Card_response_error
java.lang.Object
java.lang.Throwable
java.lang.Exception
javax.smartcardio.CardException
ds.ov2.util.Response_apdu.Card_response_error
- All Implemented Interfaces:
- Serializable
- Enclosing class:
- Response_apdu
public class Response_apdu.Card_response_error
- extends CardException
Exception of response APDU's that indicate an error. Every such
exception is linked to a response APDU (because this is a
non-static inner class) and the status and its argument can be
accessed through the exception.
- See Also:
- Serialized Form
Field Summary |
static long |
serialVersionUID
Field to disable the serialVersionUID warning. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
serialVersionUID
public static final long serialVersionUID
- Field to disable the serialVersionUID warning.
- See Also:
- Constant Field Values
Response_apdu.Card_response_error
public Response_apdu.Card_response_error()
- Create a new response status exception out of the
containing response status object.
response_code
public short response_code()
- Return the pure response status. For status words that
carry an argument, as for instance
ISO7816.SW_BYTES_REMAINING_00
, the argument is stripped
off.
- Returns:
- the response status without potential arguments,
response_argument
public short response_argument()
- Argument of the respose status.
- Returns:
- the argument of the response status or -1 if the status
did not contain an argument.