Package jakarta.mvc.engine
Class ViewEngineException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- jakarta.mvc.engine.ViewEngineException
-
- All Implemented Interfaces:
Serializable
public class ViewEngineException extends Exception
Exception thrown by
ViewEngine.processView(ViewEngineContext)
when unable to process a view.- Since:
- 1.0
- Author:
- Santiago Pericas-Geertsen
- See Also:
Throwable.getMessage()
,Throwable.getCause()
, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ViewEngineException(String message)
Construct an instance using a message.ViewEngineException(String message, Throwable cause)
Construct an instance using a message and a cause.ViewEngineException(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
-
-
-
-
Constructor Detail
-
ViewEngineException
public ViewEngineException(String message)
Construct an instance using a message.- Parameters:
message
- the message.
-
ViewEngineException
public ViewEngineException(String message, Throwable cause)
Construct an instance using a message and a cause.- Parameters:
message
- the message.cause
- the underlying cause.
-
ViewEngineException
public ViewEngineException(Throwable cause)
Construct an instance using a cause.- Parameters:
cause
- the underlying cause.
-
-