java.lang.Object
java.lang.Throwable
java.lang.Exception
org.refcodes.exception.AbstractException
org.refcodes.decoupling.DependencyException
org.refcodes.decoupling.DependencyException.DependencyClaimException
org.refcodes.decoupling.DuplicateClaimException
- All Implemented Interfaces:
Serializable
,ClaimAccessor
,ClaimsAccessor
,DependencyAccessor
,org.refcodes.exception.ErrorCodeAccessor
,org.refcodes.exception.Trap
The
DuplicateClaimException
is thrown in case there are multiple
identical claims declared by a 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.InitializerDependenciesException
Nested classes/interfaces inherited from interface org.refcodes.decoupling.ClaimAccessor
ClaimAccessor.ClaimBuilder<B extends ClaimAccessor.ClaimBuilder<B>>, ClaimAccessor.ClaimMutator, ClaimAccessor.ClaimProperty
Nested classes/interfaces inherited from interface org.refcodes.decoupling.ClaimsAccessor
ClaimsAccessor.ClaimsBuilder<B extends ClaimsAccessor.ClaimsBuilder<B>>, ClaimsAccessor.ClaimsMutator, ClaimsAccessor.ClaimsProperty
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
Fields inherited from class org.refcodes.decoupling.DependencyException.DependencyClaimException
_claim, _claims
Fields inherited from class org.refcodes.decoupling.DependencyException
_dependency
-
Constructor Summary
ConstructorDescriptionDuplicateClaimException
(String aMessage, Claim aClaim, Claim[] aClaims, Dependency<?> aDependency) DuplicateClaimException
(String aMessage, Claim aClaim, Claim[] aClaims, Dependency<?> aDependency, String aErrorCode) DuplicateClaimException
(String aMessage, Claim aClaim, Claim[] aClaims, Dependency<?> aDependency, Throwable aCause) DuplicateClaimException
(String aMessage, Claim aClaim, Claim[] aClaims, Dependency<?> aDependency, Throwable aCause, String aErrorCode) DuplicateClaimException
(Claim aClaim, Claim[] aClaims, Dependency<?> aDependency, Throwable aCause) DuplicateClaimException
(Claim aClaim, Claim[] aClaims, Dependency<?> aDependency, Throwable aCause, String aErrorCode) -
Method Summary
Methods inherited from class org.refcodes.decoupling.DependencyException.DependencyClaimException
getClaim, getClaims, getPatternArguments
Methods inherited from class org.refcodes.decoupling.DependencyException
getDependency
Methods inherited from class org.refcodes.exception.AbstractException
getErrorCode, getMessage
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.refcodes.exception.Trap
toLocalizedMessage, toMessage, toMessage, toMessage, toShortLocalizedMessage, toShortMessage
-
Constructor Details
-
DuplicateClaimException
public DuplicateClaimException(String aMessage, Claim aClaim, Claim[] aClaims, Dependency<?> aDependency, String aErrorCode) -
DuplicateClaimException
-
DuplicateClaimException
public DuplicateClaimException(String aMessage, Claim aClaim, Claim[] aClaims, Dependency<?> aDependency, Throwable aCause) -
DuplicateClaimException
public DuplicateClaimException(String aMessage, Claim aClaim, Claim[] aClaims, Dependency<?> aDependency) -
DuplicateClaimException
public DuplicateClaimException(Claim aClaim, Claim[] aClaims, Dependency<?> aDependency, Throwable aCause, String aErrorCode) -
DuplicateClaimException
public DuplicateClaimException(Claim aClaim, Claim[] aClaims, Dependency<?> aDependency, Throwable aCause)
-