Class InjectionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
build.codemodel.dependency.injection.InjectionException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
BindingAlreadyExistsException, CyclicDependencyException, InjectionFailedException, UnsatisfiedDependencyException, ValidationException
A
RuntimeException thrown when injection fails.- Since:
- Jun-2018
- Author:
- brian.oliver
- See Also:
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructs aInjectionExceptionInjectionException(String message) Constructs anInjectionExceptionwith a specific message.protectedInjectionException(String message, Throwable cause) Constructs anInjectionExceptioncaused by a specificThrowablewith a provided message.InjectionException(Throwable cause) Constructs anInjectionExceptioncaused by a specificThrowable. -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
InjectionException
protected InjectionException()Constructs aInjectionException -
InjectionException
Constructs anInjectionExceptionwith a specific message.- Parameters:
message- the message
-
InjectionException
Constructs anInjectionExceptioncaused by a specificThrowable.- Parameters:
cause- theThrowable
-
InjectionException
Constructs anInjectionExceptioncaused by a specificThrowablewith a provided message.- Parameters:
message- the messagecause- theThrowable
-