Class ViewException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.shredzone.commons.view.exception.ViewException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ErrorResponseException
,ViewContextException
@ParametersAreNonnullByDefault public class ViewException extends Exception
This exception is raised when a view could not be rendered for various reasons.- Author:
- Richard "Shred" Körber
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ViewException()
Creates a newViewException
.ViewException(String msg)
Creates a newViewException
.ViewException(String msg, Throwable cause)
Creates a newViewException
.ViewException(Throwable cause)
Creates a newViewException
.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
ViewException
public ViewException()
Creates a newViewException
.
-
ViewException
public ViewException(String msg)
Creates a newViewException
.- Parameters:
msg
- Message
-
ViewException
public ViewException(Throwable cause)
Creates a newViewException
.- Parameters:
cause
- Exception that caused this exception
-
ViewException
public ViewException(String msg, Throwable cause)
Creates a newViewException
.- Parameters:
msg
- Messagecause
- Exception that caused this exception
-
-