Package com.attivio.sdk.esb
Class ExceptionResponse
- java.lang.Object
-
- com.attivio.sdk.esb.AbstractPlatformMessage
-
- com.attivio.sdk.esb.ExceptionResponse
-
- All Implemented Interfaces:
PlatformMessage
,java.io.Serializable
,java.lang.Cloneable
public class ExceptionResponse extends AbstractPlatformMessage
Response containing an Exception.This message will be returned in situations where the sent in message encountered an unrecoverable exception during processing.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from interface com.attivio.sdk.esb.PlatformMessage
DEFAULT_MAX_LOG_LENGTH, MESSAGE_DROPPED, MESSAGE_SEND_TIME_PROP, PROP_MAX_LOG_LENGTH
-
-
Constructor Summary
Constructors Constructor Description ExceptionResponse(java.lang.Throwable e)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object other)
AttivioException
getCause()
Get the cause.AttivioException
getCause(java.lang.String message, java.lang.Object... args)
Get the cause.int
hashCode()
void
setCause(java.lang.Throwable e)
Set the cause for this ExceptionResponse.-
Methods inherited from class com.attivio.sdk.esb.AbstractPlatformMessage
addMessageHistory, addMessageHistory, clone, getClientId, getEstimatedSize, getMessageHistory, getMessageId, getMetadata, getProperty, getProperty, getProperty, getProperty, getProperty, getProperty, getWorkflowQueue, getWorkflowQueue, hasProperty, isRedelivered, removeProperty, removeWorkflowQueue, setClientId, setMessageId, setProperty, setRedelivered, setWorkflowQueue, setWorkflowQueue, toMessageString, toString, toString, toString, toString, toString, toString, toString, toString, toString, toString
-
-
-
-
Method Detail
-
getCause
public AttivioException getCause()
Get the cause.
-
setCause
public void setCause(java.lang.Throwable e)
Set the cause for this ExceptionResponse.NOTE:
e
will be converted to an AttivioException that is suitable for returning to the client. All exceptions in the cause chain will likewise be converted to AttivioExceptions..
-
getCause
public AttivioException getCause(java.lang.String message, java.lang.Object... args)
Get the cause.Use
message
as the default exception message if the cause has no message.
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classAbstractPlatformMessage
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals
in classAbstractPlatformMessage
-
-