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.

Copyright © 2006 Sun Microsystems, Inc. All rights reserved.

JSR 177

javacard.framework
Class ISOException

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
All Implemented Interfaces:
java.io.Serializable

public class ISOException
extends CardRuntimeException

ISOException class encapsulates an ISO 7816-4 response status word as its reason code.

See Also:
Serialized Form

Constructor Summary
ISOException(short sw)
          Constructs an ISOException instance with the specified status word.
 
Method Summary
static void throwIt(short sw)
          Throws an instance of the ISOException class with the specified status word.
 
Methods inherited from class javacard.framework.CardRuntimeException
getReason, setReason
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, 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

ISOException

public ISOException(short sw)
Constructs an ISOException instance with the specified status word.

Parameters:
sw - the ISO 7816-4 defined status word
Method Detail

throwIt

public static void throwIt(short sw)
Throws an instance of the ISOException class with the specified status word.

Parameters:
sw - ISO 7816-4 defined status word
Throws:
ISOException - always

JSR 177

Copyright © 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

For more information, please consult the JSR 177 specification.