org.mobicents.servlet.sip.core.dispatchers
Class DispatcherException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.mobicents.servlet.sip.core.dispatchers.DispatcherException
- All Implemented Interfaces:
- java.io.Serializable
public class DispatcherException
- extends java.lang.Exception
This exception is thrown when a problem occurs in the Dispatching of tha SIP message
It contains the error code to return in response to the sip message.
- Author:
- Jean Deruelle
- See Also:
- Serialized Form
| 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 |
DispatcherException
public DispatcherException(java.lang.String message)
DispatcherException
public DispatcherException(java.lang.Throwable cause)
DispatcherException
public DispatcherException(java.lang.String message,
java.lang.Throwable cause)
- Parameters:
message - cause -
DispatcherException
public DispatcherException(int errorCode)
DispatcherException
public DispatcherException(int errorCode,
java.lang.String message)
- Parameters:
message -
DispatcherException
public DispatcherException(int errorCode,
java.lang.Throwable cause)
- Parameters:
cause -
DispatcherException
public DispatcherException(int errorCode,
java.lang.String message,
java.lang.Throwable cause)
- Parameters:
message - cause -
getErrorCode
public int getErrorCode()
- Returns:
- the errorCode
Copyright © 2010. All Rights Reserved.