-
- All Implemented Interfaces:
-
java.io.Serializable,org.enodeframework.domain.DomainExceptionMessage,org.enodeframework.messaging.Message
public abstract class AbstractDomainExceptionMessage extends EnodeException implements DomainExceptionMessage
-
-
Constructor Summary
Constructors Constructor Description AbstractDomainExceptionMessage()AbstractDomainExceptionMessage(String id)
-
Method Summary
Modifier and Type Method Description StringgetId()Represents the unique identifier of the message. voidsetId(String id)DategetTimestamp()Represents the timestamp of the message. voidsetTimestamp(Date timestamp)Map<String, Object>getItems()Represents the extension key/values data of the message. voidsetItems(Map<String, Object> items)abstract voidserializeTo(Map<String, Object> serializableInfo)Serialize the current exception info to the given dictionary. abstract voidrestoreFrom(Map<String, Object> serializableInfo)Restore the current exception from the given dictionary. -
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, setStackTrace, toString -
Methods inherited from class org.enodeframework.messaging.Message
mergeItems -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
AbstractDomainExceptionMessage
AbstractDomainExceptionMessage()
-
AbstractDomainExceptionMessage
AbstractDomainExceptionMessage(String id)
-
-
Method Detail
-
getTimestamp
Date getTimestamp()
Represents the timestamp of the message.
-
setTimestamp
void setTimestamp(Date timestamp)
-
serializeTo
abstract void serializeTo(Map<String, Object> serializableInfo)
Serialize the current exception info to the given dictionary.
-
restoreFrom
abstract void restoreFrom(Map<String, Object> serializableInfo)
Restore the current exception from the given dictionary.
-
-
-
-