org.mobicents.servlet.sip.core.dispatchers
Class DispatcherException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by 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

Constructor Summary
DispatcherException(int errorCode)
           
DispatcherException(int errorCode, java.lang.String message)
           
DispatcherException(int errorCode, java.lang.String message, java.lang.Throwable cause)
           
DispatcherException(int errorCode, java.lang.Throwable cause)
           
DispatcherException(java.lang.String message)
           
DispatcherException(java.lang.String message, java.lang.Throwable cause)
           
DispatcherException(java.lang.Throwable cause)
           
 
Method Summary
 int getErrorCode()
           
 
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
 

Constructor Detail

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 -
Method Detail

getErrorCode

public int getErrorCode()
Returns:
the errorCode


Copyright © 2010. All Rights Reserved.