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

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.service.ServiceException
                      extended by com.sun.javacard.javax.smartcard.rmiclient.ServiceExceptionSubclass
All Implemented Interfaces:
java.io.Serializable

public class ServiceExceptionSubclass
extends ServiceException

This exception class represents a card subclass of ServiceException. ServiceException represents a service framework related exception.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class javacard.framework.service.ServiceException
CANNOT_ACCESS_IN_COMMAND, CANNOT_ACCESS_OUT_COMMAND, COMMAND_DATA_TOO_LONG, COMMAND_IS_FINISHED, DISPATCH_TABLE_FULL, ILLEGAL_PARAM, REMOTE_OBJECT_NOT_EXPORTED
 
Constructor Summary
ServiceExceptionSubclass(java.lang.String msg, short reason)
          Constructs an ServiceExceptionSubclass 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.service.ServiceException
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

ServiceExceptionSubclass

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

Parameters:
msg - the associated message string
reason - 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 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) Copyright © 1998, 2010, Oracle and/or its affiliates. All rights reserved.