Class ViewContextException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.shredzone.commons.view.exception.ViewException
-
- org.shredzone.commons.view.exception.ViewContextException
-
- All Implemented Interfaces:
Serializable
@ParametersAreNonnullByDefault public class ViewContextException extends ViewException
This exception is thrown when an error happened becauseViewContext
was unable to return the requested data.- Author:
- Richard "Shred" Körber
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ViewContextException()
Creates a newViewContextException
.ViewContextException(String msg)
Creates a newViewContextException
.ViewContextException(String msg, Throwable cause)
Creates a newViewContextException
.ViewContextException(Throwable cause)
Creates a newViewContextException
.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
ViewContextException
public ViewContextException()
Creates a newViewContextException
.
-
ViewContextException
public ViewContextException(String msg)
Creates a newViewContextException
.- Parameters:
msg
- Reason for the failure
-
ViewContextException
public ViewContextException(Throwable cause)
Creates a newViewContextException
.- Parameters:
cause
- Exception that caused the failure
-
ViewContextException
public ViewContextException(String msg, Throwable cause)
Creates a newViewContextException
.- Parameters:
msg
- Reason for the failurecause
- Exception that caused the failure
-
-