java.lang.Object
cloud.piranha.webapp.impl.WebXmlErrorPage
public class WebXmlErrorPage
extends java.lang.Object
The web.xml error-page.
- Author:
- Manfred Riem ([email protected])
-
Constructor Summary
Constructors Constructor Description WebXmlErrorPage(java.lang.String errorCode, java.lang.String exceptionType, java.lang.String location)
Constructor. -
Method Summary
Modifier and Type Method Description java.lang.String
getErrorCode()
Get the error code.java.lang.String
getExceptionType()
Get the exception type.java.lang.String
getLocation()
Get the location.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
WebXmlErrorPage
public WebXmlErrorPage(java.lang.String errorCode, java.lang.String exceptionType, java.lang.String location)Constructor.- Parameters:
errorCode
- the error code.exceptionType
- the exception type.location
- the location.
-
-
Method Details
-
getErrorCode
public java.lang.String getErrorCode()Get the error code.- Returns:
- the error code.
-
getExceptionType
public java.lang.String getExceptionType()Get the exception type.- Returns:
- the exception type.
-
getLocation
public java.lang.String getLocation()Get the location.- Returns:
- the location.
-