com.ibm.processingbean.events
Class ActionErrorEvent
java.lang.Object
|
+--java.util.EventObject
|
+--com.ibm.processingbean.events.ActionErrorEvent
- Direct Known Subclasses:
- CryptoTransformationErrorEvent, IOErrorEvent
- public class ActionErrorEvent
- extends java.util.EventObject
This event is fired if the computation is(!) not finished(!) successfully. It
can be used by the application assembler only to indicate
whether the action was performed or not, regardless of the
details of any(!) exceptional situation.
- See Also:
EventObject
,
ActionErrorListener
, Serialized Form
Constructor Summary |
ActionErrorEvent(java.lang.Object source,
java.lang.Exception currentException,
int messageCode)
Constructs an ActionErrorEvent object with the specified
source object, message code and exception object. |
Methods inherited from class java.util.EventObject |
getSource,
toString |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
ActionErrorEvent
public ActionErrorEvent(java.lang.Object source,
java.lang.Exception currentException,
int messageCode)
- Constructs an
ActionErrorEvent
object with the specified
source object, message code and exception object.
- Parameters:
source
- object where the event originatedmessageCode
- code of the error messagecurrentException
- exception that is thrown
getCurrentException
public java.lang.Exception getCurrentException()
- Gets a current exception.
- Returns:
- current exception
getMessage
public java.lang.String getMessage()
- Gets a detailed error message.
- Returns:
- detailed error message
getMessageCode
public int getMessageCode()
- Gets the error message code.
- Returns:
- error message code