Class 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  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean isError()  
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • 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.
    • Method Detail

      • isError

        public boolean isError()