Class PageNotFoundException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.shredzone.commons.view.exception.ViewException
-
- org.shredzone.commons.view.exception.ErrorResponseException
-
- org.shredzone.commons.view.exception.PageNotFoundException
-
- All Implemented Interfaces:
Serializable
@ParametersAreNonnullByDefault public class PageNotFoundException extends ErrorResponseException
This exception is thrown when an error happened because there is no view defined for the requested URL.- Author:
- Richard "Shred" Körber
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PageNotFoundException()
Creates a newPageNotFoundException
.PageNotFoundException(String msg)
Creates a newPageNotFoundException
with a message.
-
Method Summary
-
Methods inherited from class org.shredzone.commons.view.exception.ErrorResponseException
getResponseCode
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
PageNotFoundException
public PageNotFoundException()
Creates a newPageNotFoundException
.
-
PageNotFoundException
public PageNotFoundException(String msg)
Creates a newPageNotFoundException
with a message.- Parameters:
msg
- Message
-
-