Package org.apache.ivy.plugins.resolver
Class BasicResolver.UnresolvedDependencyException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.ivy.plugins.resolver.BasicResolver.UnresolvedDependencyException
- All Implemented Interfaces:
Serializable
- Enclosing class:
- BasicResolver
Exception thrown internally in getDependency to indicate a dependency is unresolved.
Due to the contract of getDependency, this exception is never thrown publicly, but rather converted in a message (either error or verbose) and returning null
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate boolean
private static final long
-
Constructor Summary
ConstructorsConstructorDescriptionDependency has not been resolved.UnresolvedDependencyException
(String message) Dependency has not been resolved.UnresolvedDependencyException
(String message, boolean error) Dependency has not been resolved. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
error
private boolean error
-
-
Constructor Details
-
UnresolvedDependencyException
public UnresolvedDependencyException()Dependency has not been resolved. This is not an error and won't log any message. -
UnresolvedDependencyException
Dependency has not been resolved. This is an error and will log a message. -
UnresolvedDependencyException
Dependency has not been resolved. The boolean tells if it is an error or not, a message will be logged if non empty.
-
-
Method Details
-
isError
public boolean isError()
-