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

javax.sdp
Class SdpException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by javax.sdp.SdpException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
SdpFactoryException, SdpParseException

public class SdpException
extends Exception

The SdpException defines a general exception for the SDP classes to throw when they encounter a difficulty.

Version:
1.0
Author:
deruelle
See Also:
Serialized Form

Constructor Summary
SdpException()
          Creates new SdpException
SdpException(String message)
          Constructs a new SdpException with the message you specify.
SdpException(String message, Throwable rootCause)
          Constructs a new SdpException when the Codelet needs to throw an exception and include a message about another exception that interfered with its normal operation.
SdpException(Throwable rootCause)
          Constructs a new SdpException as a result of a system exception and uses the localized system exception message.
 
Method Summary
 Throwable getRootCause()
          Returns the Throwable system exception that makes this SdpException necessary.
 
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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SdpException

public SdpException()
Creates new SdpException


SdpException

public SdpException(String message)
Constructs a new SdpException with the message you specify.

Parameters:
message - a String specifying the text of the exception message

SdpException

public SdpException(String message,
                    Throwable rootCause)
Constructs a new SdpException when the Codelet needs to throw an exception and include a message about another exception that interfered with its normal operation.

Parameters:
message - a String specifying the text of the exception message
rootCause - the Throwable exception that interfered with the Codelet's normal operation, making this Codelet exception necessary

SdpException

public SdpException(Throwable rootCause)
Constructs a new SdpException as a result of a system exception and uses the localized system exception message.

Parameters:
rootCause - the system exception that makes this SdpException necessary
Method Detail

getRootCause

public Throwable getRootCause()
Returns the Throwable system exception that makes this SdpException necessary.

Returns:
Throwable

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.