Class DependencyException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.refcodes.exception.AbstractException
org.refcodes.decoupling.DependencyException
- All Implemented Interfaces:
Serializable, DependencyAccessor, ErrorCodeAccessor, Trap
- Direct Known Subclasses:
DependencyException.DependenciesException, DependencyException.DependencyClaimException, InstallDependencyException
The
DependencyException is the base checked exception for the
refcodes-decoupling package.- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static classTheDependencyException.ClaimDependenciesExceptionis aDependencyException.DependenciesExceptioncontaining an additional relatedClaiminstance.protected static classTheDependencyException.DependenciesExceptionis aDependencyExceptioncontaining additional related dependency.protected static classTheDependencyException.DependencyClaimExceptionis aDependencyExceptioncontaining an additional relatedClaiminstance relative to associatedClaiminstances.protected static classTheDependencyException.FactoryDependenciesExceptionis aDependencyException.DependenciesExceptioncontaining an additional relatedFactoryClaiminstance.protected static classTheDependencyException.InitializerDependenciesExceptionis aDependencyException.DependenciesExceptioncontaining an additional relatedInitializerClaiminstance.Nested classes/interfaces inherited from interface DependencyAccessor
DependencyAccessor.DependencyBuilder<T,B>, DependencyAccessor.DependencyMutator<T>, DependencyAccessor.DependencyProperty<T> Nested classes/interfaces inherited from interface ErrorCodeAccessor
ErrorCodeAccessor.ErrorCodeBuilder<B>, ErrorCodeAccessor.ErrorCodeMutator, ErrorCodeAccessor.ErrorCodeProperty -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDependencyException(String aMessage, Dependency<?> aDependency) Instantiates the classDependencyException.DependencyException(String aMessage, Dependency<?> aDependency, String aErrorCode) Instantiates the classDependencyException.DependencyException(String aMessage, Dependency<?> aDependency, Throwable aCause) Instantiates the classDependencyException.DependencyException(String aMessage, Dependency<?> aDependency, Throwable aCause, String aErrorCode) Instantiates the classDependencyException.DependencyException(Dependency<?> aDependency, Throwable aCause) Instantiates the classDependencyException.DependencyException(Dependency<?> aDependency, Throwable aCause, String aErrorCode) Instantiates the classDependencyException. -
Method Summary
Modifier and TypeMethodDescriptionDependency<?> Retrieves the dependency from the dependency property.Object[]Methods inherited from class AbstractException
getErrorCode, getMessageMethods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Trap
toLocalizedMessage, toMessage, toMessage, toMessage, toShortLocalizedMessage, toShortMessage
-
Field Details
-
_dependency
-
-
Constructor Details
-
DependencyException
Instantiates the classDependencyException.- Parameters:
aDependency- The relatedDependency.- See Also:
-
DependencyException
public DependencyException(String aMessage, Dependency<?> aDependency, Throwable aCause, String aErrorCode) Instantiates the classDependencyException.- Parameters:
aDependency- The relatedDependency.- See Also:
-
DependencyException
Instantiates the classDependencyException.- Parameters:
aDependency- The relatedDependency.- See Also:
-
DependencyException
Instantiates the classDependencyException.- Parameters:
aDependency- The relatedDependency.- See Also:
-
DependencyException
Instantiates the classDependencyException.- Parameters:
aDependency- The relatedDependency.- See Also:
-
DependencyException
Instantiates the classDependencyException.- Parameters:
aDependency- The relatedDependency.- See Also:
-
-
Method Details
-
getDependency
Retrieves the dependency from the dependency property.- Specified by:
getDependencyin interfaceDependencyAccessor- Returns:
- The dependency stored by the dependency property.
-
getPatternArguments
- Specified by:
getPatternArgumentsin interfaceTrap
-