Module org.refcodes.decoupling
Package org.refcodes.decoupling
Class DependencyException.DependenciesException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.refcodes.exception.AbstractException
org.refcodes.decoupling.DependencyException
org.refcodes.decoupling.DependencyException.DependenciesException
- All Implemented Interfaces:
Serializable,DependenciesAccessor,DependencyAccessor,org.refcodes.exception.ErrorCodeAccessor,org.refcodes.exception.Trap
- Direct Known Subclasses:
DependencyException.ClaimDependenciesException,DependencyException.FactoryDependenciesException,DependencyException.InitializerDependenciesException,DependencyInstanciationException
- Enclosing class:
- DependencyException
protected abstract static class DependencyException.DependenciesException
extends DependencyException
implements DependenciesAccessor
The
DependencyException.DependenciesException is a DependencyException
containing additional related dependency.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.refcodes.decoupling.DependencyException
DependencyException.ClaimDependenciesException, DependencyException.DependenciesException, DependencyException.DependencyClaimException, DependencyException.FactoryDependenciesException, DependencyException.InitializerDependenciesExceptionNested classes/interfaces inherited from interface org.refcodes.decoupling.DependenciesAccessor
DependenciesAccessor.DependenciesBuilder<T,B extends DependenciesAccessor.DependenciesBuilder<T, B>>, DependenciesAccessor.DependenciesMutator<T>, DependenciesAccessor.DependenciesProperty<T> 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 -
Field Summary
FieldsFields inherited from class org.refcodes.decoupling.DependencyException
_dependency -
Constructor Summary
ConstructorsConstructorDescriptionDependenciesException(String aMessage, Dependency<?> aDependency, Dependency<?>[] aDependencies) DependenciesException(String aMessage, Dependency<?> aDependency, Dependency<?>[] aDependencies, String aErrorCode) DependenciesException(String aMessage, Dependency<?> aDependency, Dependency<?>[] aDependencies, Throwable aCause) DependenciesException(String aMessage, Dependency<?> aDependency, Dependency<?>[] aDependencies, Throwable aCause, String aErrorCode) DependenciesException(Dependency<?> aDependency, Dependency<?>[] aDependencies, Throwable aCause) DependenciesException(Dependency<?> aDependency, Dependency<?>[] aDependencies, Throwable aCause, String aErrorCode) -
Method Summary
Modifier and TypeMethodDescriptionDependency<?>[]Retrieves the dependencies from the dependencies property.Object[]Methods inherited from class org.refcodes.decoupling.DependencyException
getDependencyMethods inherited from class org.refcodes.exception.AbstractException
getErrorCode, getMessageMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringMethods inherited from class java.lang.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
-
_dependencies
-
-
Constructor Details
-
DependenciesException
public DependenciesException(String aMessage, Dependency<?> aDependency, Dependency<?>[] aDependencies, String aErrorCode) - Parameters:
aDependencies- theDependencydeclarations related to this exception.
-
DependenciesException
public DependenciesException(String aMessage, Dependency<?> aDependency, Dependency<?>[] aDependencies, Throwable aCause, String aErrorCode) - Parameters:
aDependencies- theDependencydeclarations related to this exception.
-
DependenciesException
public DependenciesException(String aMessage, Dependency<?> aDependency, Dependency<?>[] aDependencies, Throwable aCause) - Parameters:
aDependencies- theDependencydeclarations related to this exception.
-
DependenciesException
public DependenciesException(String aMessage, Dependency<?> aDependency, Dependency<?>[] aDependencies) - Parameters:
aDependencies- theDependencydeclarations related to this exception.
-
DependenciesException
public DependenciesException(Dependency<?> aDependency, Dependency<?>[] aDependencies, Throwable aCause, String aErrorCode) - Parameters:
aDependencies- theDependencydeclarations related to this exception.
-
DependenciesException
public DependenciesException(Dependency<?> aDependency, Dependency<?>[] aDependencies, Throwable aCause) - Parameters:
aDependencies- theDependencydeclarations related to this exception.
-
-
Method Details
-
getDependencies
Retrieves the dependencies from the dependencies property.- Specified by:
getDependenciesin interfaceDependenciesAccessor- Returns:
- The dependencies stored by the dependencies property.
-
getPatternArguments
- Specified by:
getPatternArgumentsin interfaceorg.refcodes.exception.Trap- Overrides:
getPatternArgumentsin classDependencyException
-