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

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

  • 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

      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 Details

    • isError

      public boolean isError()