Module jakarta.mvc

Class ViewEngineException

  • All Implemented Interfaces:
    java.io.Serializable

    public class ViewEngineException
    extends java.lang.Exception

    Exception thrown by ViewEngine.processView(ViewEngineContext) when unable to process a view.

    Since:
    1.0
    See Also:
    Throwable.getMessage(), Throwable.getCause(), Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static long serialVersionUID  
    • Constructor Summary

      Constructors 
      Constructor Description
      ViewEngineException​(java.lang.String message)
      Construct an instance using a message.
      ViewEngineException​(java.lang.String message, java.lang.Throwable cause)
      Construct an instance using a message and a cause.
      ViewEngineException​(java.lang.Throwable cause)
      Construct an instance using a cause.
    • 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

      • ViewEngineException

        public ViewEngineException​(java.lang.String message)
        Construct an instance using a message.
        Parameters:
        message - the message.
      • ViewEngineException

        public ViewEngineException​(java.lang.String message,
                                   java.lang.Throwable cause)
        Construct an instance using a message and a cause.
        Parameters:
        message - the message.
        cause - the underlying cause.
      • ViewEngineException

        public ViewEngineException​(java.lang.Throwable cause)
        Construct an instance using a cause.
        Parameters:
        cause - the underlying cause.