Class ViewableContextException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
jakarta.ws.rs.ProcessingException
org.glassfish.jersey.server.ContainerException
org.glassfish.jersey.server.mvc.spi.ViewableContextException
- All Implemented Interfaces:
Serializable
A runtime exception associated with errors when resolving a
Viewable
to a ResolvedViewable
by methods on ViewableContext
.- Author:
- Paul Sandoz
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionViewableContextException
(String message) Construct a new instance with the supplied message.ViewableContextException
(String message, Throwable cause) Construct a new instance with the supplied message and cause.Construct a new instance with the supplied cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ViewableContextException
Construct a new instance with the supplied message.- Parameters:
message
- the message.
-
ViewableContextException
Construct a new instance with the supplied message and cause.- Parameters:
message
- the message.cause
- the Throwable that caused the exception to be thrown.
-
ViewableContextException
Construct a new instance with the supplied cause.- Parameters:
cause
- the Throwable that caused the exception to be thrown.
-