Class DuplicateClaimException
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, ErrorCodeAccessor, 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 DependencyException
DependencyException.ClaimDependenciesException, DependencyException.DependenciesException, DependencyException.DependencyClaimException, DependencyException.FactoryDependenciesException, DependencyException.InitializerDependenciesExceptionNested classes/interfaces inherited from interface ClaimAccessor
ClaimAccessor.ClaimBuilder<B>, ClaimAccessor.ClaimMutator, ClaimAccessor.ClaimPropertyNested classes/interfaces inherited from interface ClaimsAccessor
ClaimsAccessor.ClaimsBuilder<B>, ClaimsAccessor.ClaimsMutator, ClaimsAccessor.ClaimsPropertyNested 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 inherited from class DependencyException.DependencyClaimException
_claim, _claimsFields inherited from class DependencyException
_dependency -
Constructor Summary
ConstructorsConstructorDescriptionDuplicateClaimException(String aMessage, Claim aClaim, Claim[] aClaims, Dependency<?> aDependency) Instantiates the classDuplicateClaimException.DuplicateClaimException(String aMessage, Claim aClaim, Claim[] aClaims, Dependency<?> aDependency, String aErrorCode) Instantiates the classDuplicateClaimException.DuplicateClaimException(String aMessage, Claim aClaim, Claim[] aClaims, Dependency<?> aDependency, Throwable aCause) Instantiates the classDuplicateClaimException.DuplicateClaimException(String aMessage, Claim aClaim, Claim[] aClaims, Dependency<?> aDependency, Throwable aCause, String aErrorCode) Instantiates the classDuplicateClaimException.DuplicateClaimException(Claim aClaim, Claim[] aClaims, Dependency<?> aDependency, Throwable aCause) Instantiates the classDuplicateClaimException.DuplicateClaimException(Claim aClaim, Claim[] aClaims, Dependency<?> aDependency, Throwable aCause, String aErrorCode) Instantiates the classDuplicateClaimException. -
Method Summary
Methods inherited from class DependencyException.DependencyClaimException
getClaim, getClaims, getPatternArgumentsMethods inherited from class DependencyException
getDependencyMethods 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
-
Constructor Details
-
DuplicateClaimException
public DuplicateClaimException(String aMessage, Claim aClaim, Claim[] aClaims, Dependency<?> aDependency, String aErrorCode) Instantiates the classDuplicateClaimException.- See Also:
-
DuplicateClaimException
public DuplicateClaimException(String aMessage, Claim aClaim, Claim[] aClaims, Dependency<?> aDependency, Throwable aCause, String aErrorCode) Instantiates the classDuplicateClaimException.- See Also:
-
DuplicateClaimException
public DuplicateClaimException(String aMessage, Claim aClaim, Claim[] aClaims, Dependency<?> aDependency, Throwable aCause) Instantiates the classDuplicateClaimException.- See Also:
-
DuplicateClaimException
public DuplicateClaimException(String aMessage, Claim aClaim, Claim[] aClaims, Dependency<?> aDependency) Instantiates the classDuplicateClaimException.- See Also:
-
DuplicateClaimException
public DuplicateClaimException(Claim aClaim, Claim[] aClaims, Dependency<?> aDependency, Throwable aCause, String aErrorCode) Instantiates the classDuplicateClaimException.- See Also:
-
DuplicateClaimException
public DuplicateClaimException(Claim aClaim, Claim[] aClaims, Dependency<?> aDependency, Throwable aCause) Instantiates the classDuplicateClaimException.- See Also:
-