org.apache.ivy.plugins.resolver

Class BasicResolver.UnresolvedDependencyException

private static class BasicResolver.UnresolvedDependencyException extends 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

Constructor Summary
UnresolvedDependencyException()
Dependency has not been resolved.
UnresolvedDependencyException(String message)
Dependency has not been resolved.
UnresolvedDependencyException(String message, boolean error)
Dependency has not been resolved.
Method Summary
booleanisError()

Constructor Detail

UnresolvedDependencyException

public UnresolvedDependencyException()
Dependency has not been resolved. This is not an error and won't log any message.

UnresolvedDependencyException

public UnresolvedDependencyException(String message)
Dependency has not been resolved. This is an error and will log a message.

UnresolvedDependencyException

public UnresolvedDependencyException(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.

Method Detail

isError

public boolean isError()