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
public class ViewableContextException extends ContainerException
A runtime exception associated with errors when resolving aViewableto aResolvedViewableby methods onViewableContext.- Author:
- Paul Sandoz
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ViewableContextException(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.ViewableContextException(Throwable 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 Detail
-
ViewableContextException
public ViewableContextException(String message)
Construct a new instance with the supplied message.- Parameters:
message- the message.
-
ViewableContextException
public ViewableContextException(String message, Throwable cause)
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
public ViewableContextException(Throwable cause)
Construct a new instance with the supplied cause.- Parameters:
cause- the Throwable that caused the exception to be thrown.
-
-