Class TransactionExceptionSubclass
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- javacard.framework.CardRuntimeException
-
- javacard.framework.TransactionException
-
- com.sun.javacard.javax.smartcard.rmiclient.TransactionExceptionSubclass
-
- All Implemented Interfaces:
java.io.Serializable
public class TransactionExceptionSubclass extends TransactionException
This exception class represents a card subclass ofTransactionException
.TransactionException
represents an exception in the transaction subsystem.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class javacard.framework.TransactionException
BUFFER_FULL, IN_PROGRESS, INTERNAL_FAILURE, NOT_IN_PROGRESS
-
-
Constructor Summary
Constructors Constructor Description TransactionExceptionSubclass(java.lang.String msg, short reason)
Constructs an TransactionExceptionSubclass with the specified reason and specified error message.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getMessage()
Returns the error message string of this throwable object.-
Methods inherited from class javacard.framework.TransactionException
throwIt
-
Methods inherited from class javacard.framework.CardRuntimeException
getReason, setReason
-
-
-
-
Constructor Detail
-
TransactionExceptionSubclass
public TransactionExceptionSubclass(java.lang.String msg, short reason)
Constructs an TransactionExceptionSubclass with the specified reason and specified error message.- Parameters:
msg
- the associated message stringreason
- the reason for the exception.
-
-
Method Detail
-
getMessage
public java.lang.String getMessage()
Returns the error message string of this throwable object.- Overrides:
getMessage
in classjava.lang.Throwable
- Returns:
- the error message string of this Throwable object if it was created with an error message string; or null if it was created with no error message.
-
-