Uses of Class
javacard.framework.service.ServiceException

Packages that use ServiceException
javacard.framework.service   
 

Uses of ServiceException in javacard.framework.service
 

Methods in javacard.framework.service that throw ServiceException
static void ServiceException.throwIt(short reason)
          Throws the Java Card runtime environment-owned instance of ServiceException with the specified reason.
 boolean SecurityService.isChannelSecure(byte properties)
          Checks whether a secure channel is established between the card and the host for the ongoing session that guarantees the indicated properties.
 boolean SecurityService.isCommandSecure(byte properties)
          Checks whether a secure channel is in use between the card and the host for the ongoing command that guarantees the indicated properties.
 boolean SecurityService.isAuthenticated(short principal)
          Checks whether or not the specified principal is currently authenticated.
 void Dispatcher.addService(Service service, byte phase)
          Atomically adds the specified service to the dispatcher registry for the specified processing phase.
 void Dispatcher.removeService(Service service, byte phase)
          Atomically removes the specified service for the specified processing phase from the dispatcher registry.
 Exception Dispatcher.dispatch(APDU command, byte phase)
          Manages the processing of the command in the APDU object.
 byte BasicService.getP1(APDU apdu)
          Returns the first parameter byte for the command in the APDU object.
 boolean BasicService.fail(APDU apdu, short sw)
          Sets the processing state for the command in the APDU object to processed, and indicates that the processing has failed.
 void BasicService.setOutputLength(APDU apdu, short length)
          Sets the output length of the outgoing response for the command in the APDU object.
 boolean BasicService.succeedWithStatusWord(APDU apdu, short sw)
          Sets the processing state for the command in the APDU object to processed, and indicates that the processing has partially succeeded.
 byte BasicService.getP2(APDU apdu)
          Returns the second parameter byte for the command in the APDU object.
 void BasicService.setProcessed(APDU apdu)
          Sets the processing state of the command in the APDU object to processed.
 boolean BasicService.succeed(APDU apdu)
          Sets the processing state for the command in the APDU object to processed, and indicates that the processing has succeeded.
 short BasicService.receiveInData(APDU apdu)
          Receives the input data for the command in the APDU object if the input has not already been received.
 short BasicService.getOutputLength(APDU apdu)
          Returns the output length for the command in the APDU object.
 short BasicService.getStatusWord(APDU apdu)
          Returns the response status word for the command in the APDU object.
 

Constructors in javacard.framework.service that throw ServiceException
Dispatcher(short maxServices)
          Creates a Dispatcher with a designated maximum number of services.
 



Java and all Java-based trademarks and logos are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other countries.