Package uicc.system

Class UICCSystemException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
javacard.framework.CardRuntimeException
uicc.system.UICCSystemException
All Implemented Interfaces:
Serializable

public class UICCSystemException extends javacard.framework.CardRuntimeException
This class extends the Throwable class and allows the classes of this package to throw specific exceptions in case of problems.
See Also:
  • Field Details

    • TERMINAL_CAPABILITY_NOT_AVAILABLE

      public static final short TERMINAL_CAPABILITY_NOT_AVAILABLE
      This reason code (= 1) is used to indicate that the Terminal Capability command as not been issued.
      See Also:
  • Constructor Details

    • UICCSystemException

      public UICCSystemException(short reason)
      Construct a UICCSystemException instance with the specified reason. To conserve on resources use throwIt() method to re-use the JCRE instance of this class.
      Parameters:
      reason - the reason for the exception
  • Method Details

    • throwIt

      public static void throwIt(short reason) throws UICCSystemException
      Throws the JCRE instance of the UICCSystemException class with the specified reason.
      Parameters:
      reason - the reason for the exception.
      Throws:
      UICCSystemException - always