Package org.axonframework.modelling
Class EntityIdResolutionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.axonframework.modelling.EntityIdResolutionException
- All Implemented Interfaces:
Serializable
Thrown when an
EntityIdResolver was unable to determine an id from
a given payload.- Since:
- 5.0.0
- Author:
- John Hendrikx
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionEntityIdResolutionException(Class<?> cls, List<Object> identifiers) Constructs a new instance. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
EntityIdResolutionException
Constructs a new instance.- Parameters:
cls- The payload type, cannot benullidentifiers- The extracted identifiers, cannot benull, or contain exactly 1 element- Throws:
IllegalArgumentException- When any argument isnull, or whenidentifierscontains exactly one element.
-