Class DependencyException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.refcodes.exception.AbstractException
org.refcodes.decoupling.DependencyException
- All Implemented Interfaces:
Serializable, DependencyAccessor, org.refcodes.exception.ErrorCodeAccessor, org.refcodes.exception.Trap
- Direct Known Subclasses:
DependencyException.DependenciesException, DependencyException.DependencyClaimException, InstallDependencyException
public abstract class DependencyException
extends org.refcodes.exception.AbstractException
implements DependencyAccessor
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 org.refcodes.exception.ErrorCodeAccessor
org.refcodes.exception.ErrorCodeAccessor.ErrorCodeBuilder<B>, org.refcodes.exception.ErrorCodeAccessor.ErrorCodeMutator, org.refcodes.exception.ErrorCodeAccessor.ErrorCodeProperty -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDependencyException(String aMessage, Dependency<?> aDependency) DependencyException(String aMessage, Dependency<?> aDependency, String aErrorCode) DependencyException(String aMessage, Dependency<?> aDependency, Throwable aCause) DependencyException(String aMessage, Dependency<?> aDependency, Throwable aCause, String aErrorCode) DependencyException(Dependency<?> aDependency, Throwable aCause) DependencyException(Dependency<?> aDependency, Throwable aCause, String aErrorCode) -
Method Summary
Modifier and TypeMethodDescriptionDependency<?> Retrieves the dependency from the dependency property.Object[]Methods inherited from class org.refcodes.exception.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 org.refcodes.exception.Trap
toLocalizedMessage, toMessage, toMessage, toMessage, toShortLocalizedMessage, toShortMessage
-
Field Details
-
_dependency
-
-
Constructor Details
-
DependencyException
- Parameters:
aDependency- The relatedDependency.
-
DependencyException
public DependencyException(String aMessage, Dependency<?> aDependency, Throwable aCause, String aErrorCode) - Parameters:
aDependency- The relatedDependency.
-
DependencyException
- Parameters:
aDependency- The relatedDependency.
-
DependencyException
- Parameters:
aDependency- The relatedDependency.
-
DependencyException
- Parameters:
aDependency- The relatedDependency.
-
DependencyException
- Parameters:
aDependency- The relatedDependency.
-
-
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 interfaceorg.refcodes.exception.Trap
-