NIST-SIP: The Reference Implementation for JAIN-SIP 1.2

javax.sip
Class SipException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by javax.sip.SipException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
DialogDoesNotExistException, ObjectInUseException, PeerUnavailableException, ProviderDoesNotExistException, TooManyHopsException, TransactionAlreadyExistsException, TransactionDoesNotExistException, TransactionUnavailableException, TransportAlreadySupportedException, TransportNotSupportedException

public class SipException
extends Exception

A SipException is thrown when a general SIP exception is encountered, when no other specialized exception defined in this specification can handle the error.

Version:
1.2
Author:
BEA Systems, NIST
See Also:
Serialized Form

Constructor Summary
SipException()
          Constructs a new SipException
SipException(String message)
          Constructs a new SipException with the specified error message.
SipException(String message, Throwable cause)
          Constructs a new SipException with the specified error message and specialized cause that triggered this error condition.
 
Method Summary
 Throwable getCause()
          Returns the cause of this throwable or null if the cause is nonexistent or unknown.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SipException

public SipException()
Constructs a new SipException


SipException

public SipException(String message)
Constructs a new SipException with the specified error message.

Parameters:
message - the error message of this Exception.

SipException

public SipException(String message,
                    Throwable cause)
Constructs a new SipException with the specified error message and specialized cause that triggered this error condition.

Parameters:
message - the detail of the error message
cause - the specialized cause that triggered this exception
Method Detail

getCause

public Throwable getCause()
Returns the cause of this throwable or null if the cause is nonexistent or unknown. (The cause is the throwable that caused this throwable to get thrown.) This implementation returns the cause that was supplied via the constructor requiring a Throwable.

Overrides:
getCause in class Throwable
Returns:
the cause of this throwable or null if the cause is nonexistent or unknown.

NIST-SIP: The Reference Implementation for JAIN-SIP 1.2

A product of the NIST/ITL Advanced Networking Technologies Division.
See conditions of use.
Submit a bug report or feature request.