Class ComponentNotFoundException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.axonframework.common.configuration.ComponentNotFoundException
- All Implemented Interfaces:
Serializable
- Since:
- 5.0.0
- Author:
- Steven van Beelen, Mitchell Herrijgers
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionComponentNotFoundException(Class<?> type, @Nullable String name) Constructs aComponentNotFoundExceptionwith a default message describing aComponentcouldn't be found for the giventypeandname.ComponentNotFoundException(TypeReference<?> typeReference, @Nullable String name) Constructs aComponentNotFoundExceptionwith a default message describing aComponentcouldn't be found for the giventypeReferenceandname. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ComponentNotFoundException
Constructs aComponentNotFoundExceptionwith a default message describing aComponentcouldn't be found for the giventypeandname.- Parameters:
type- the type of the component that could not be found, typically an interfacename- the name of the component that could not be found, potentiallynullwhen unimportant
-
ComponentNotFoundException
Constructs aComponentNotFoundExceptionwith a default message describing aComponentcouldn't be found for the giventypeReferenceandname.- Parameters:
typeReference- the type of the component that could not be found, typically an interfacename- the name of the component that could not be found, potentiallynullwhen unimportant
-