Class TooManyTagsOnEventMessageException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
org.axonframework.eventsourcing.eventstore.TooManyTagsOnEventMessageException
- All Implemented Interfaces:
Serializable
Exception indicating that an Event could not be appended to the event store because it contains more tags than the
storage engine can support.
- Since:
- 5.0.0
- Author:
- Allard Buijze
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionTooManyTagsOnEventMessageException(String message, EventMessage eventMessage, Set<Tag> tags) Initialize the exception with given explanatorymessagefor logging, referencing the giveneventMessageandtagsfor debug purposes. -
Method Summary
Modifier and TypeMethodDescriptionReturns the message that was rejected by the storage engine.tags()Returns the tags assigned to the message.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
TooManyTagsOnEventMessageException
Initialize the exception with given explanatorymessagefor logging, referencing the giveneventMessageandtagsfor debug purposes.- Parameters:
message- The message describing the exception.eventMessage- The violating message.tags- The tags assigned to the message.
-
-
Method Details
-
eventMessage
Returns the message that was rejected by the storage engine.- Returns:
- the message that was rejected by the storage engine.
-
tags
Returns the tags assigned to the message.- Returns:
- the tags assigned to the message.
-