com.ibm.wsgw.beans
Class ExceptionAction
java.lang.Object
|
+--com.ibm.wsgw.beans.ExceptionAction
- All Implemented Interfaces:
- java.io.Serializable
- public class ExceptionAction
- extends java.lang.Object
- implements java.io.Serializable
The ExceptionAction interface encapsulates the action to be taken following
an exception in a channel.
Gateway.
- Version:
- 1.4
- Author:
-
- See Also:
- , Serialized Form
Field Summary |
static java.lang.String |
copyright
Copyright string. |
static int |
LOG_EXCEPTION
This value indicates that the exception should be logged, then ignored. |
static int |
RETHROW_EXCEPTION
This value indicates that the exception should be re-thrown. |
static int |
RETURN_FAULT
This value indicates that the exception should be discarded and the given
fault message returned to the originator. |
Method Summary |
int |
getAction()
Returns the action. |
org.apache.wsif.WSIFMessage |
getFaultMessage()
Returns the fault message, if any. |
void |
setAction(int newValue)
Sets the action. |
void |
setFaultMessage(org.apache.wsif.WSIFMessage newValue)
Sets the fault message. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
copyright
public static final java.lang.String copyright
- Copyright string. Any code placed between the comments will be over written
RETURN_FAULT
public static final int RETURN_FAULT
- This value indicates that the exception should be discarded and the given
fault message returned to the originator.
RETHROW_EXCEPTION
public static final int RETHROW_EXCEPTION
- This value indicates that the exception should be re-thrown.
LOG_EXCEPTION
public static final int LOG_EXCEPTION
- This value indicates that the exception should be logged, then ignored.
ExceptionAction
public ExceptionAction()
getAction
public int getAction()
- Returns the action.
- Parameters:
- - Returns:
- The action.
- See Also:
setAction
public void setAction(int newValue)
- Sets the action.
- Parameters:
newValue
- The new value for the action.- Returns:
-
- See Also:
getFaultMessage
public org.apache.wsif.WSIFMessage getFaultMessage()
- Returns the fault message, if any.
- Parameters:
- - Returns:
- The fault message, if any.
- See Also:
setFaultMessage
public void setFaultMessage(org.apache.wsif.WSIFMessage newValue)
- Sets the fault message.
- Parameters:
newValue
- The new value for the fault message.- Returns:
-
- See Also:
Copyright © 2002 IBM. All Rights Reserved.