Class UnsatisfiedDependencyException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
build.codemodel.dependency.injection.InjectionException
build.codemodel.dependency.injection.UnsatisfiedDependencyException
- All Implemented Interfaces:
Serializable
Thrown when the value for a
Dependency can not be resolved for injection.- Since:
- Jun-2018
- Author:
- brian.oliver
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionUnsatisfiedDependencyException(Dependency dependency) Constructs anUnsatisfiedDependencyException.UnsatisfiedDependencyException(Dependency dependency, String message) Constructs anUnsatisfiedDependencyException.UnsatisfiedDependencyException(Dependency dependency, String message, Throwable cause) Constructs anUnsatisfiedDependencyException.UnsatisfiedDependencyException(Dependency dependency, Throwable cause) Constructs anUnsatisfiedDependencyException. -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
UnsatisfiedDependencyException
Constructs anUnsatisfiedDependencyException.- Parameters:
dependency- theDependencythat could not be satisfiedcause- the causingThrowable
-
UnsatisfiedDependencyException
Constructs anUnsatisfiedDependencyException.- Parameters:
dependency- theDependencythat could not be satisfied
-
UnsatisfiedDependencyException
Constructs anUnsatisfiedDependencyException.- Parameters:
dependency- theDependencythat could not be satisfiedmessage- the message
-
UnsatisfiedDependencyException
Constructs anUnsatisfiedDependencyException.- Parameters:
dependency- theDependencythat could not be satisfiedmessage- the message
-
-
Method Details
-
dependency
Obtains theDependencythat was not satisfied.- Returns:
- the
Dependency
-