public class ResponseErrorReport
extends com.ibm.websphere.servlet.error.ServletErrorReport
| Constructor and Description |
|---|
ResponseErrorReport() |
ResponseErrorReport(java.lang.String message)
Constructs a new ResponseErrorReport with the specified message.
|
ResponseErrorReport(java.lang.String message,
java.lang.Throwable rootCause)
Constructs a new ResponseErrorReport with the specified message
and root cause.
|
ResponseErrorReport(java.lang.Throwable rootCause)
Constructs a new WebAppErrorReport with the specified message
and root cause.
|
| Modifier and Type | Method and Description |
|---|---|
void |
setErrorCode(int sc)
Set the error code of the response.
|
void |
setTargetServletName(java.lang.String servletName)
Set the name of the target Servlet.
|
getDebugMessageAsHTML, getErrorCode, getExceptionClass, getExceptionType, getMessage, getMessageAsHTML, getStackTraceAsString, getTargetServletName, getUnencodedMessage, getUnencodedMessageAsHTMLpublic ResponseErrorReport()
public ResponseErrorReport(java.lang.String message)
message - Message of exceptionpublic ResponseErrorReport(java.lang.String message,
java.lang.Throwable rootCause)
message - Message of exceptionrootCause - Exception that caused this exception to be raisedpublic ResponseErrorReport(java.lang.Throwable rootCause)
rootCause - Exception that caused this exception to be raisedpublic void setErrorCode(int sc)
setErrorCode in class com.ibm.websphere.servlet.error.ServletErrorReportpublic void setTargetServletName(java.lang.String servletName)
setTargetServletName in class com.ibm.websphere.servlet.error.ServletErrorReport