com.sun.javacard.javax.smartcard.rmiclient
Class ISOExceptionSubclass

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by javacard.framework.CardRuntimeException
                  extended by javacard.framework.ISOException
                      extended by com.sun.javacard.javax.smartcard.rmiclient.ISOExceptionSubclass
All Implemented Interfaces:
java.io.Serializable

public class ISOExceptionSubclass
extends ISOException

This exception class represents a card subclass of ISOException. ISOException class encapsulates an ISO 7816-4 response status word as its reason code.

See Also:
Serialized Form

Constructor Summary
ISOExceptionSubclass(java.lang.String msg, short reason)
          Constructs an ISOExceptionSubclass with the specified reason and specified error message.
 
Method Summary
 java.lang.String getMessage()
          Returns the error message string of this throwable object.
 
Methods inherited from class javacard.framework.ISOException
throwIt
 
Methods inherited from class javacard.framework.CardRuntimeException
getReason, setReason
 
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

ISOExceptionSubclass

public ISOExceptionSubclass(java.lang.String msg,
                            short reason)
Constructs an ISOExceptionSubclass with the specified reason and specified error message.

Parameters:
msg - the associated message string
reason - the ISO 7816-4 defined status word
Method Detail

getMessage

public java.lang.String getMessage()
Returns the error message string of this throwable object.

Overrides:
getMessage in class java.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.


Copyright (c) 2009 Sun Microsystems, Inc. All rights reserved.