com.ibm.xdms.exception.sip
Class BadRequestException
java.lang.Object
java.lang.Throwable
java.lang.Exception
javax.servlet.ServletException
com.ibm.xdms.exception.XdmsException
com.ibm.xdms.exception.sip.SipException
com.ibm.xdms.exception.sip.BadRequestException
- All Implemented Interfaces:
- java.io.Serializable
public class BadRequestException
- extends SipException
The SIP request is not supported or invalid.
- See Also:
- Serialized Form
Constructor Summary |
BadRequestException()
Constructs a new SIP exception |
BadRequestException(java.lang.String message)
Constructs a new SIP exception with the specified message |
BadRequestException(java.lang.String message,
java.lang.Throwable rootCause)
Constructs a new SIP exception when the XDMS needs to throw an exception
and include a message about the "root cause" exception that interfered
with its normal operation, including a description message |
BadRequestException(java.lang.Throwable rootCause)
Constructs a new SIP exception when the XDMS needs to throw an exception
and include a message about the "root cause" exception that interfered
with its normal operation. |
Methods inherited from class javax.servlet.ServletException |
getRootCause |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
COPYRIGHT
public static final java.lang.String COPYRIGHT
LOGGER
protected static final java.util.logging.Logger LOGGER
- Logger
STATUS_CODE
public static final int STATUS_CODE
- See Also:
- Constant Field Values
SUBSCRIPTION_STATE
public static final java.lang.String SUBSCRIPTION_STATE
- See Also:
- Constant Field Values
DEFAULT_MESSAGE
public static final java.lang.String DEFAULT_MESSAGE
- See Also:
- Constant Field Values
BadRequestException
public BadRequestException()
- Constructs a new SIP exception
BadRequestException
public BadRequestException(java.lang.String message)
- Constructs a new SIP exception with the specified message
- Parameters:
message
- a String
specifying the text of the
exception message
BadRequestException
public BadRequestException(java.lang.String message,
java.lang.Throwable rootCause)
- Constructs a new SIP exception when the XDMS needs to throw an exception
and include a message about the "root cause" exception that interfered
with its normal operation, including a description message
- Parameters:
message
- a String
specifying the text of the
exception messagerootCause
- the Throwable
exception that interfered
with the XDMS's normal operation, making this XDMS exception
necessary
BadRequestException
public BadRequestException(java.lang.Throwable rootCause)
- Constructs a new SIP exception when the XDMS needs to throw an exception
and include a message about the "root cause" exception that interfered
with its normal operation. The exception's message is based on the
localized message of the underlying exception.
This method calls
the getLocalizedMessage method on the Throwable exception to get a
localized exception message.
- Parameters:
rootCause
- the Throwable
exception that interfered
with the XDMS's normal operation, making this XDMS exception
necessary