Class ResourceMap.LookupException

    • Constructor Summary

      Constructors 
      Constructor Description
      LookupException​(java.lang.String msg, java.lang.String key, java.lang.Class type)
      Constructs an instance of this class with some useful information about the failure.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getKey()
      Returns the type of the name of resource for which lookup failed.
      java.lang.Class getType()
      Returns the type of the resource for which lookup failed.
      • 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
    • Constructor Detail

      • LookupException

        public LookupException​(java.lang.String msg,
                               java.lang.String key,
                               java.lang.Class type)
        Constructs an instance of this class with some useful information about the failure.
        Parameters:
        msg - the detail message
        type - the type of the resource
        key - the name of the resource
    • Method Detail

      • getType

        public java.lang.Class getType()
        Returns the type of the resource for which lookup failed.
        Returns:
        the resource type
      • getKey

        public java.lang.String getKey()
        Returns the type of the name of resource for which lookup failed.
        Returns:
        the resource name