Package org.int4.dirk.api.definition
Class RequiredDependencyException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.int4.dirk.api.definition.DependencyException
-
- org.int4.dirk.api.definition.RequiredDependencyException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
AmbiguousRequiredDependencyException
public abstract class RequiredDependencyException extends DependencyException
Thrown when an attempt is made to register or remove a type that would cause a dependency required by another type to be ambiguous or unresolvable (either by providing a second alternative or by not providing one anymore).For example, when a type exists that requires a Database implementation and the only Database implementation is removed, then its requirements can no longer be met.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RequiredDependencyException(java.lang.String message)Constructs a new instance.
-