Module org.refcodes.decoupling
Package org.refcodes.decoupling
Class DependencyException.DependencyClaimException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.refcodes.exception.AbstractException
org.refcodes.decoupling.DependencyException
org.refcodes.decoupling.DependencyException.DependencyClaimException
- All Implemented Interfaces:
Serializable,ClaimAccessor,ClaimsAccessor,DependencyAccessor,org.refcodes.exception.ErrorCodeAccessor,org.refcodes.exception.Trap
- Direct Known Subclasses:
DuplicateClaimException
- Enclosing class:
- DependencyException
public abstract static class DependencyException.DependencyClaimException
extends DependencyException
implements ClaimAccessor, ClaimsAccessor
The
DependencyException.DependencyClaimException is a DependencyException
containing an additional related Claim instance relative to
associated Claim instances.- 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.InitializerDependenciesExceptionNested classes/interfaces inherited from interface org.refcodes.decoupling.ClaimAccessor
ClaimAccessor.ClaimBuilder<B extends ClaimAccessor.ClaimBuilder<B>>, ClaimAccessor.ClaimMutator, ClaimAccessor.ClaimPropertyNested classes/interfaces inherited from interface org.refcodes.decoupling.ClaimsAccessor
ClaimsAccessor.ClaimsBuilder<B extends ClaimsAccessor.ClaimsBuilder<B>>, ClaimsAccessor.ClaimsMutator, ClaimsAccessor.ClaimsPropertyNested 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
ConstructorsConstructorDescriptionDependencyClaimException(Dependency<?> aDependency, Claim aClaim, Claim[] aClaims, String aMessage) Instantiates a newDependencyException.DependencyClaimException.DependencyClaimException(Dependency<?> aDependency, Claim aClaim, Claim[] aClaims, String aMessage, String aErrorCode) Instantiates a newDependencyException.DependencyClaimException.DependencyClaimException(Dependency<?> aDependency, Claim aClaim, Claim[] aClaims, String aMessage, Throwable aCause) Instantiates a newDependencyException.DependencyClaimException.DependencyClaimException(Dependency<?> aDependency, Claim aClaim, Claim[] aClaims, String aMessage, Throwable aCause, String aErrorCode) Instantiates a newDependencyException.DependencyClaimException.DependencyClaimException(Dependency<?> aDependency, Claim aClaim, Claim[] aClaims, Throwable aCause) Instantiates a newDependencyException.DependencyClaimException.DependencyClaimException(Dependency<?> aDependency, Claim aClaim, Claim[] aClaims, Throwable aCause, String aErrorCode) Instantiates a newDependencyException.DependencyClaimException. -
Method Summary
Methods inherited from class org.refcodes.decoupling.DependencyException
getDependencyMethods inherited from class org.refcodes.exception.AbstractException
getErrorCodeMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
DependencyClaimException
public DependencyClaimException(Dependency<?> aDependency, Claim aClaim, Claim[] aClaims, String aMessage, String aErrorCode) Instantiates a newDependencyException.DependencyClaimException.- Parameters:
aDependency- TheDependencydeclaration causing this exception.aClaim- theClaiminstance responsible for this exception.aClaims- theClaiminstances related to this exception.aMessage- The aMessage describing this exception.aErrorCode- The error code identifying this exception.
-
DependencyClaimException
public DependencyClaimException(Dependency<?> aDependency, Claim aClaim, Claim[] aClaims, String aMessage, Throwable aCause, String aErrorCode) Instantiates a newDependencyException.DependencyClaimException.- Parameters:
aDependency- TheDependencydeclaration causing this exception.aClaim- theClaiminstance responsible for this exception.aClaims- theClaiminstances related to this exception.aMessage- The aMessage describing this exception.aCause- TheThrowable(Exception) causing this exception.aErrorCode- The error code identifying this exception.
-
DependencyClaimException
public DependencyClaimException(Dependency<?> aDependency, Claim aClaim, Claim[] aClaims, String aMessage, Throwable aCause) Instantiates a newDependencyException.DependencyClaimException.- Parameters:
aDependency- TheDependencydeclaration causing this exception.aClaim- theClaiminstance responsible for this exception.aClaims- theClaiminstances related to this exception.aMessage- The aMessage describing this exception.aCause- TheThrowable(Exception) causing this exception.
-
DependencyClaimException
public DependencyClaimException(Dependency<?> aDependency, Claim aClaim, Claim[] aClaims, String aMessage) Instantiates a newDependencyException.DependencyClaimException.- Parameters:
aDependency- TheDependencydeclaration causing this exception.aClaim- theClaiminstance responsible for this exception.aClaims- theClaiminstances related to this exception.aMessage- The aMessage describing this exception.
-
DependencyClaimException
public DependencyClaimException(Dependency<?> aDependency, Claim aClaim, Claim[] aClaims, Throwable aCause, String aErrorCode) Instantiates a newDependencyException.DependencyClaimException.- Parameters:
aDependency- TheDependencydeclaration causing this exception.aClaim- theClaiminstance responsible for this exception.aClaims- theClaiminstances related to this exception.aCause- TheThrowable(Exception) causing this exception.aErrorCode- The error code identifying this exception.
-
DependencyClaimException
public DependencyClaimException(Dependency<?> aDependency, Claim aClaim, Claim[] aClaims, Throwable aCause) Instantiates a newDependencyException.DependencyClaimException.- Parameters:
aDependency- TheDependencydeclaration causing this exception.aClaim- theClaiminstance responsible for this exception.aClaims- theClaiminstances related to this exception.aCause- TheThrowable(Exception) causing this exception.
-
-
Method Details
-
getClaims
Retrieves theClaiminstances related to this exception.- Specified by:
getClaimsin interfaceClaimsAccessor- Returns:
- The unsatisfied
Dependencydeclarations
-
getClaim
Retrieves theClaiminstance responsible for this exception.- Specified by:
getClaimin interfaceClaimAccessor- Returns:
- The unsatisfied
Dependencydeclarations
-