Class InvalidResourceException

  • All Implemented Interfaces:
    java.io.Serializable

    public class InvalidResourceException
    extends java.lang.RuntimeException
    Thrown when a resource passed as an argument is not found.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      InvalidResourceException()
      Empty constructor, used when the provided resource exists but no mapper was able to read it.
      InvalidResourceException​(java.lang.String name)
      Named constructor, used when the specified resource doesn't exist.
    • Method Summary

      • 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

      • InvalidResourceException

        public InvalidResourceException()
        Empty constructor, used when the provided resource exists but no mapper was able to read it.
      • InvalidResourceException

        public InvalidResourceException​(java.lang.String name)
        Named constructor, used when the specified resource doesn't exist.
        Parameters:
        name - the resource name