Java Card
v2.2.2

Uses of Class
javacard.framework.service.ServiceException

Packages that use ServiceException
javacard.framework.service Provides a service framework of classes and interfaces that allow a Java Card technology-based applet to be designed as an aggregation of service components. 
 

Uses of ServiceException in javacard.framework.service
 

Methods in javacard.framework.service that throw ServiceException
 void Dispatcher.addService(Service service, byte phase)
          Atomically adds the specified service to the dispatcher registry for the specified processing phase.
 Exception Dispatcher.dispatch(APDU command, byte phase)
          Manages the processing of 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.
 short BasicService.getOutputLength(APDU apdu)
          Returns the output length for the command in the APDU object.
 byte BasicService.getP1(APDU apdu)
          Returns the first parameter byte for the command in the APDU object.
 byte BasicService.getP2(APDU apdu)
          Returns the second parameter byte for the command in the APDU object.
 short BasicService.getStatusWord(APDU apdu)
          Returns the response status word for the command in the APDU object.
 boolean SecurityService.isAuthenticated(short principal)
          Checks whether or not the specified principal is currently authenticated.
 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.
 short BasicService.receiveInData(APDU apdu)
          Receives the input data for the command in the APDU object if the input has not already been received.
 void Dispatcher.removeService(Service service, byte phase)
          Atomically removes the specified service for the specified processing phase from the dispatcher registry.
 void BasicService.setOutputLength(APDU apdu, short length)
          Sets the output length of the outgoing response 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.
 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.
static void ServiceException.throwIt(short reason)
          Throws the Java Card runtime environment-owned instance of ServiceException with the specified reason.
 

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


Java Card
v2.2.2

Copyright © 1993-2005 Sun Microsystems, Inc. 4150 Network Circle,
Santa Clara, CA, 95054, U.S.A. All Rights Reserved.