|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception java.module.ModuleInitializationException java.module.UnsatisfiedDependencyException
public class UnsatisfiedDependencyException
Thrown to indicate that there is an unsatisifed import dependency in a module during resolution.
ImportDependency
,
ModuleDefinition
,
Serialized FormConstructor Summary | |
---|---|
UnsatisfiedDependencyException(String s,
ModuleDefinition moduleDef,
ImportDependency importDep,
VersionConstraint versionConstraint)
Constructs a UnsatisfiedDependencyException with the
detail message, the specified module definition, the import
dependency, and the override version constraint. |
|
UnsatisfiedDependencyException(String s,
Throwable cause,
ModuleDefinition moduleDef,
ImportDependency importDep,
VersionConstraint versionConstraint)
Constructs a UnsatisfiedDependencyException with the
detail message, the cause, the specified module definition, and the
import dependency, and the override version constraint. |
Method Summary | |
---|---|
ImportDependency |
getImportDependency()
Returns the import dependency of the module definition that is unsatisfied. |
ModuleDefinition |
getModuleDefinition()
Returns the module definition that has the unsatisfied dependency. |
VersionConstraint |
getOverrideVersionConstraint()
Returns the override version constraint. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public UnsatisfiedDependencyException(String s, ModuleDefinition moduleDef, ImportDependency importDep, VersionConstraint versionConstraint)
UnsatisfiedDependencyException
with the
detail message, the specified module definition, the import
dependency, and the override version constraint.
s
- the detail message.moduleDef
- the module definition.importDep
- the unsatisifed import dependency.versionConstraint
- the override version constraint.public UnsatisfiedDependencyException(String s, Throwable cause, ModuleDefinition moduleDef, ImportDependency importDep, VersionConstraint versionConstraint)
UnsatisfiedDependencyException
with the
detail message, the cause, the specified module definition, and the
import dependency, and the override version constraint.
s
- the detail message.cause
- the cause.moduleDef
- the module definition.importDep
- the unsatisifed import dependency.versionConstraint
- the override version constraint.Method Detail |
---|
public ModuleDefinition getModuleDefinition()
public ImportDependency getImportDependency()
public VersionConstraint getOverrideVersionConstraint()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |