Package com.highdeal.bart.event
Class EventFailureException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.highdeal.hci.OperationFailureException
com.highdeal.bart.event.EventFailureException
- All Implemented Interfaces:
com.highdeal.hci.OperationResult,XMLMarshallable,Serializable
public class EventFailureException
extends com.highdeal.hci.OperationFailureException
Exception thrown within a processor implementation job.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionBuilds an empty event failure exception.EventFailureException(String message) Builds an event failure exception with a message. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddCharacterData(String cData) Adds character data to the content element.voidaddChild(String tagName, XMLMarshallable child) Adds a child to the object, thechildrepresenting the marshallable object which must be added to the element.voidmarshal(XMLOutputter output) Gives an XML representation of this object, including its children.voidsetAttributes(XMLAttributes atts) Sets the attributes of the XML representation of the element being processed.voidsetMessage(String message) Sets the message of this exception.Methods inherited from class com.highdeal.hci.OperationFailureException
getOperandReferenceMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
EventFailureException
public EventFailureException()Builds an empty event failure exception. -
EventFailureException
Builds an event failure exception with a message.- Parameters:
message- The message of the exception
-
-
Method Details
-
setMessage
Sets the message of this exception.- Parameters:
message- The message of this exception
-
getMessage
- Overrides:
getMessagein classThrowable
-
setAttributes
Description copied from interface:XMLMarshallableSets the attributes of the XML representation of the element being processed.- Parameters:
atts- TheXML attributesof the current element
-
addChild
Description copied from interface:XMLMarshallableAdds a child to the object, thechildrepresenting the marshallable object which must be added to the element.- Parameters:
tagName- The name of tag for the childchild- The child to be added
-
addCharacterData
Description copied from interface:XMLMarshallableAdds character data to the content element.- Parameters:
cData- The character data to be added
-
marshal
Description copied from interface:XMLMarshallableGives an XML representation of this object, including its children.- Parameters:
output- TheXML outputto marshal the object into
-