|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
javacard.framework.CardException
com.sun.javacard.javax.smartcard.rmiclient.CardExceptionSubclass
public class CardExceptionSubclass
This exception class represents a subclass of CardException on
the card.
The CardException class on the card
defines a field reason and two accessor methods
getReason() and setReason(). The reason
field encapsulates the exception cause identifier in the Java Card API
All Java Card API checked Exception classes on the card should extend
CardException.
| Constructor Summary | |
|---|---|
CardExceptionSubclass(java.lang.String msg,
short reason)
Construct a CardExceptionSubclass instance with the specified reason and the specified error message. |
|
| Method Summary | |
|---|---|
java.lang.String |
getMessage()
Returns the error message string of this throwable object. |
| Methods inherited from class javacard.framework.CardException |
|---|
getReason, setReason, throwIt |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CardExceptionSubclass(java.lang.String msg,
short reason)
msg - the associated message stringreason - the reason for the exception| Method Detail |
|---|
public java.lang.String getMessage()
getMessage in class java.lang.Throwable
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||