Class EntityMissingForInstanceCommandHandlerException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.axonframework.modelling.entity.EntityMissingForInstanceCommandHandlerException
- All Implemented Interfaces:
Serializable
Exception indicating that an instance command handler was invoked for an entity that does not exist.
If this command is valid for the creation of an entity, as well as instance commands, a creational command can be
defined for the same Message.type().
- Since:
- 5.0.0
- Author:
- Mitchell Herrijgers
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new exception with the givencommand. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
EntityMissingForInstanceCommandHandlerException
Creates a new exception with the givencommand.- Parameters:
command- TheCommandMessagethat was handled.
-