Class VelocityException

    • Constructor Detail

      • VelocityException

        public VelocityException​(String exceptionMessage)
        Parameters:
        exceptionMessage - The message to register.
      • VelocityException

        public VelocityException​(String exceptionMessage,
                                 Throwable wrapped)
        Parameters:
        exceptionMessage - The message to register.
        wrapped - A throwable object that caused the Exception.
        Since:
        1.5
      • VelocityException

        public VelocityException​(String exceptionMessage,
                                 Throwable wrapped,
                                 String[] vtlStackTrace)
        Parameters:
        exceptionMessage - The message to register.
        wrapped - A throwable object that caused the Exception.
        vtlStackTrace - VTL stacktrace
        Since:
        2.2
      • VelocityException

        public VelocityException​(Throwable wrapped)
        Parameters:
        wrapped - A throwable object that caused the Exception.
        Since:
        1.5
      • VelocityException

        public VelocityException​(Throwable wrapped,
                                 String[] vtlStackTrace)
        Parameters:
        wrapped - A throwable object that caused the Exception.
        vtlStackTrace - VTL stacktrace
        Since:
        2.2
    • Method Detail

      • getWrappedThrowable

        public Throwable getWrappedThrowable()
        Deprecated.
        returns the wrapped Throwable that caused this MethodInvocationException to be thrown
        Returns:
        Throwable thrown by method invocation
        Since:
        1.5
      • getVtlStackTrace

        public String[] getVtlStackTrace()