Package org.axonframework.messaging.core
Class MessageTypeNotResolvedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.axonframework.common.AxonException
org.axonframework.messaging.core.MessageTypeNotResolvedException
- All Implemented Interfaces:
Serializable
Exception thrown when a
MessageTypeResolver is unable to determine the MessageType for a given
payload type. This typically occurs when a resolver lacks a mapping for the requested type or when no compatible
resolver is available in the fallback chain.
This exception indicates a configuration issue where message types have not been properly registered for all payloads that might be resolved.
- Since:
- 5.0.0
- Author:
- Mateusz Nowak
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionMessageTypeNotResolvedException(String message) Initializes a new instance with the given errormessage. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
MessageTypeNotResolvedException
Initializes a new instance with the given errormessage.- Parameters:
message- The message describing the error that caused this exception.
-