Class ResourceNotFoundException

  • All Implemented Interfaces:
    java.io.Serializable

    public class ResourceNotFoundException
    extends VelocityException
    Application-level exception thrown when a resource of any type isn't found by the Velocity engine.
    When this exception is thrown, a best effort will be made to have useful information in the exception's message. For complete information, consult the runtime log.
    Version:
    $Id$
    Author:
    Geir Magnusson Jr., Daniel Rall
    See Also:
    Serialized Form
    • 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

      • ResourceNotFoundException

        public ResourceNotFoundException​(java.lang.String exceptionMessage)
        Parameters:
        exceptionMessage -
        See Also:
        VelocityException(String)
      • ResourceNotFoundException

        public ResourceNotFoundException​(java.lang.String exceptionMessage,
                                         java.lang.Throwable t)
        Parameters:
        exceptionMessage -
        t -
        Since:
        1.5
        See Also:
        VelocityException(String, Throwable)
      • ResourceNotFoundException

        public ResourceNotFoundException​(java.lang.String exceptionMessage,
                                         java.lang.Throwable t,
                                         java.lang.String[] stacktrace)
        Parameters:
        exceptionMessage -
        t -
        stacktrace - VTL stacktrace
        Since:
        2.2
        See Also:
        VelocityException(String, Throwable)
      • ResourceNotFoundException

        public ResourceNotFoundException​(java.lang.Throwable t)
        Parameters:
        t -
        Since:
        1.5
        See Also:
        VelocityException(Throwable)
      • ResourceNotFoundException

        public ResourceNotFoundException​(java.lang.Throwable t,
                                         java.lang.String[] stacktrace)
        Parameters:
        t -
        stacktrace - VTL stacktrace
        Since:
        2.2
        See Also:
        VelocityException(Throwable)