java.lang.Object
java.lang.Throwable
java.lang.Exception
org.refcodes.exception.AbstractException
org.refcodes.decoupling.DependencyException
org.refcodes.decoupling.InstallDependencyException
- All Implemented Interfaces:
Serializable
,DependencyAccessor
,org.refcodes.exception.ErrorCodeAccessor
,org.refcodes.exception.Trap
This exception is thrown when trying to install a
Dependency
into the
Context
, though installing failed due to the dependency throwing an
exception during the process of installing (e.g. instantiation).- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.refcodes.decoupling.DependencyException
DependencyException.AliasDependenciesException, DependencyException.ClaimDependenciesException, DependencyException.DependenciesException, DependencyException.DependencyClaimException, DependencyException.FactoryDependenciesException, DependencyException.InitializerDependenciesException
Nested classes/interfaces inherited from interface org.refcodes.decoupling.DependencyAccessor
DependencyAccessor.DependencyBuilder<T,
B extends DependencyAccessor.DependencyBuilder<T, B>>, DependencyAccessor.DependencyMutator<T>, DependencyAccessor.DependencyProperty<T> Nested classes/interfaces inherited from interface org.refcodes.exception.ErrorCodeAccessor
org.refcodes.exception.ErrorCodeAccessor.ErrorCodeBuilder<B extends org.refcodes.exception.ErrorCodeAccessor.ErrorCodeBuilder<B>>, org.refcodes.exception.ErrorCodeAccessor.ErrorCodeMutator, org.refcodes.exception.ErrorCodeAccessor.ErrorCodeProperty
-
Constructor Summary
ConstructorDescriptionInstallDependencyException
(Dependency<?> aDependency, String aMessage) InstallDependencyException
(Dependency<?> aDependency, String aMessage, String aErrorCode) InstallDependencyException
(Dependency<?> aDependency, String aMessage, Throwable aCause) InstallDependencyException
(Dependency<?> aDependency, String aMessage, Throwable aCause, String aErrorCode) InstallDependencyException
(Dependency<?> aDependency, Throwable aCause) InstallDependencyException
(Dependency<?> aDependency, Throwable aCause, String aErrorCode) -
Method Summary
Methods inherited from class org.refcodes.decoupling.DependencyException
getDependency
Methods inherited from class org.refcodes.exception.AbstractException
getErrorCode
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
InstallDependencyException
-
InstallDependencyException
public InstallDependencyException(Dependency<?> aDependency, String aMessage, Throwable aCause, String aErrorCode) -
InstallDependencyException
-
InstallDependencyException
-
InstallDependencyException
-
InstallDependencyException
-