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:
java.io.Serializable
- Enclosing class:
- BasicResolver
private static class BasicResolver.UnresolvedDependencyException extends java.lang.RuntimeException
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
Fields Modifier and Type Field Description private boolean
error
private static long
serialVersionUID
-
Constructor Summary
Constructors Constructor Description UnresolvedDependencyException()
Dependency has not been resolved.UnresolvedDependencyException(java.lang.String message)
Dependency has not been resolved.UnresolvedDependencyException(java.lang.String message, boolean error)
Dependency has not been resolved.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isError()
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
error
private boolean error
-
-
Constructor Detail
-
UnresolvedDependencyException
public UnresolvedDependencyException()
Dependency has not been resolved. This is not an error and won't log any message.
-
UnresolvedDependencyException
public UnresolvedDependencyException(java.lang.String message)
Dependency has not been resolved. This is an error and will log a message.
-
UnresolvedDependencyException
public UnresolvedDependencyException(java.lang.String message, boolean error)
Dependency has not been resolved. The boolean tells if it is an error or not, a message will be logged if non empty.
-
-