com.ibm.wsgw.beans
Interface ExceptionHandler
- All Known Subinterfaces:
- ExceptionHandlerRemote
- public interface ExceptionHandler
The ExceptionHandler interface encapsulates a service which takes actions
when exceptions occur during request/response handling in the WebServices
Gateway.
- Version:
- 1.7
- Author:
-
- See Also:
Field Summary |
static java.lang.String |
copyright
Copyright string. |
static java.lang.String |
JNDI_NAME
|
Method Summary |
ExceptionAction |
handleException(java.lang.String channelName,
java.lang.String gatewayServiceName,
java.lang.String operationName,
java.lang.String originator,
org.apache.wsif.WSIFRequest requestMessage,
java.lang.Throwable exception)
Called by a channel when an exception is caught as a result of processing a
request. |
copyright
public static final java.lang.String copyright
- Copyright string. Any code placed between the comments will be over written
JNDI_NAME
public static final java.lang.String JNDI_NAME
handleException
public ExceptionAction handleException(java.lang.String channelName,
java.lang.String gatewayServiceName,
java.lang.String operationName,
java.lang.String originator,
org.apache.wsif.WSIFRequest requestMessage,
java.lang.Throwable exception)
throws WSGWException,
java.rmi.RemoteException
- Called by a channel when an exception is caught as a result of processing a
request.
- Parameters:
channelName
- The name of the processing channel.gatewayServiceName
- The name of the service being invoked, if available.operationName
- The name of the operation being invoked, if available.originator
- The identity of the originator of the request.requestMessage
- The request message.exception
- The exception.- Returns:
- An object which indicates the required action.
- Throws:
WSGWException
- The exception has been mapped to this exception.java.rmi.RemoteException
- Required for EJB remote interfaces.- See Also:
Copyright © 2002 IBM. All Rights Reserved.