Class AmbigousFactoryException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.refcodes.exception.AbstractException
org.refcodes.decoupling.DependencyException
org.refcodes.decoupling.DependencyException.DependenciesException
org.refcodes.decoupling.DependencyException.FactoryDependenciesException
org.refcodes.decoupling.AmbigousFactoryException
- All Implemented Interfaces:
Serializable, DependenciesAccessor, DependencyAccessor, org.refcodes.exception.ErrorCodeAccessor, org.refcodes.exception.Trap
The
AmbigousFactoryException is thrown in case one
FactoryClaim instance can be matched by multiple dependencies.- 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 DependenciesAccessor
DependenciesAccessor.DependenciesBuilder<T,B>, DependenciesAccessor.DependenciesMutator<T>, DependenciesAccessor.DependenciesProperty<T> 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 inherited from class DependencyException.FactoryDependenciesException
_factoryClaimFields inherited from class DependencyException.DependenciesException
_dependenciesFields inherited from class DependencyException
_dependency -
Constructor Summary
ConstructorsConstructorDescriptionAmbigousFactoryException(String aMessage, FactoryClaim<?, ?> aFactory, Dependency<?> aDependency, Dependency<?>[] aDependencies) AmbigousFactoryException(String aMessage, FactoryClaim<?, ?> aFactory, Dependency<?> aDependency, Dependency<?>[] aDependencies, String aErrorCode) AmbigousFactoryException(String aMessage, FactoryClaim<?, ?> aFactory, Dependency<?> aDependency, Dependency<?>[] aDependencies, Throwable aCause) AmbigousFactoryException(String aMessage, FactoryClaim<?, ?> aFactory, Dependency<?> aDependency, Dependency<?>[] aDependencies, Throwable aCause, String aErrorCode) AmbigousFactoryException(FactoryClaim<?, ?> aFactory, Dependency<?> aDependency, Dependency<?>[] aDependencies, Throwable aCause) AmbigousFactoryException(FactoryClaim<?, ?> aFactory, Dependency<?> aDependency, Dependency<?>[] aDependencies, Throwable aCause, String aErrorCode) -
Method Summary
Methods inherited from class DependencyException.FactoryDependenciesException
getFactory, getPatternArgumentsMethods inherited from class DependencyException.DependenciesException
getDependenciesMethods inherited from class DependencyException
getDependencyMethods 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
-
Constructor Details
-
AmbigousFactoryException
public AmbigousFactoryException(String aMessage, FactoryClaim<?, ?> aFactory, Dependency<?> aDependency, Dependency<?>[] aDependencies, String aErrorCode) -
AmbigousFactoryException
public AmbigousFactoryException(String aMessage, FactoryClaim<?, ?> aFactory, Dependency<?> aDependency, Dependency<?>[] aDependencies, Throwable aCause, String aErrorCode) -
AmbigousFactoryException
public AmbigousFactoryException(String aMessage, FactoryClaim<?, ?> aFactory, Dependency<?> aDependency, Dependency<?>[] aDependencies, Throwable aCause) -
AmbigousFactoryException
public AmbigousFactoryException(String aMessage, FactoryClaim<?, ?> aFactory, Dependency<?> aDependency, Dependency<?>[] aDependencies) -
AmbigousFactoryException
public AmbigousFactoryException(FactoryClaim<?, ?> aFactory, Dependency<?> aDependency, Dependency<?>[] aDependencies, Throwable aCause, String aErrorCode) -
AmbigousFactoryException
public AmbigousFactoryException(FactoryClaim<?, ?> aFactory, Dependency<?> aDependency, Dependency<?>[] aDependencies, Throwable aCause)
-