Class ResponseErrorReport
- java.lang.Object
- 
- java.lang.Throwable
- 
- java.lang.Exception
- 
- javax.servlet.ServletException
- 
- com.ibm.websphere.servlet.error.ServletErrorReport
- 
- com.ibm.websphere.servlet.response.ResponseErrorReport
 
 
 
 
 
- 
- All Implemented Interfaces:
- java.io.Serializable
 
 public class ResponseErrorReport extends com.ibm.websphere.servlet.error.ServletErrorReport- See Also:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor 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.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetErrorCode(int sc)Set the error code of the response.voidsetTargetServletName(java.lang.String servletName)Set the name of the target Servlet.- 
Methods inherited from class com.ibm.websphere.servlet.error.ServletErrorReportgetDebugMessageAsHTML, getErrorCode, getExceptionClass, getExceptionType, getMessage, getMessageAsHTML, getStackTraceAsString, getTargetServletName, getUnencodedMessage, getUnencodedMessageAsHTML
 
- 
 
- 
- 
- 
Constructor Detail- 
ResponseErrorReportpublic ResponseErrorReport() 
 - 
ResponseErrorReportpublic ResponseErrorReport(java.lang.String message) Constructs a new ResponseErrorReport with the specified message.- Parameters:
- message- Message of exception
 
 - 
ResponseErrorReportpublic ResponseErrorReport(java.lang.String message, java.lang.Throwable rootCause)Constructs a new ResponseErrorReport with the specified message and root cause.- Parameters:
- message- Message of exception
- rootCause- Exception that caused this exception to be raised
 
 - 
ResponseErrorReportpublic ResponseErrorReport(java.lang.Throwable rootCause) Constructs a new WebAppErrorReport with the specified message and root cause.- Parameters:
- rootCause- Exception that caused this exception to be raised
 
 
- 
 - 
Method Detail- 
setErrorCodepublic void setErrorCode(int sc) Set the error code of the response.- Overrides:
- setErrorCodein class- com.ibm.websphere.servlet.error.ServletErrorReport
 
 - 
setTargetServletNamepublic void setTargetServletName(java.lang.String servletName) Set the name of the target Servlet.
 
- 
 
-