com.ibm.websphere.servlet.response

Class ResponseErrorReport

  1. java.lang.Object
  2. extended byjava.lang.Throwable
  3. extended byjava.lang.Exception
  4. extended byjavax.servlet.ServletException
  5. extended bycom.ibm.websphere.servlet.error.ServletErrorReport
  6. extended bycom.ibm.websphere.servlet.response.ResponseErrorReport
All implemented interfaces:
java.io.Serializable

  1. public class ResponseErrorReport
  2. extends ServletErrorReport
See Also:
Serialized Form

Field Summary

Fields inherited from class com.ibm.websphere.servlet.error.ServletErrorReport
ATTRIBUTE_NAME

Constructor Summary

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.

Method Summary

Modifier and Type Method and Description
  1. void
setErrorCode(int sc)
Set the error code of the response.
  1. void
setTargetServletName(java.lang.String servletName)
Set the name of the target Servlet.
Methods inherited from class com.ibm.websphere.servlet.error.ServletErrorReport
getErrorCode, getExceptionClass, getExceptionType, getMessage, getMessageAsHTML, getStackTrace, getStackTraceAsString, getTargetServletName, getUnencodedMessage, getUnencodedMessageAsHTML
Methods inherited from class javax.servlet.ServletException
getRootCause
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Constructor Detail

ResponseErrorReport

  1. public ResponseErrorReport()

ResponseErrorReport

  1. public ResponseErrorReport(java.lang.String message)
Constructs a new ResponseErrorReport with the specified message.
Parameters:
message - Message of exception

ResponseErrorReport

  1. public ResponseErrorReport(java.lang.String message,
  2. 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

ResponseErrorReport

  1. public 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

setErrorCode

  1. public void setErrorCode(int sc)
Set the error code of the response.
Overrides:

setTargetServletName

  1. public void setTargetServletName( java.lang.String servletName)
Set the name of the target Servlet.
Overrides: