Class TargetEntityIdMemberMismatchException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.axonframework.modelling.annotation.TargetEntityIdMemberMismatchException
- All Implemented Interfaces:
Serializable
Exception indicating that while using the
PropertyBasedEntityIdResolver the indicated field could not be
found.
This indicates a mismatch between the property configured in the InjectEntity.idProperty() and the actual
payload class.
- Since:
- 5.0.0
- Author:
- Mitchell Herrijgers
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionTargetEntityIdMemberMismatchException(String fieldName, Class<?> payloadClass) Initialize the exception with the givenfieldNamethat was not found in the payload of typepayloadClass. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString