FileDocCategorySizeDatePackage
SdpException.javaAPI DocphoneME MR2 API (J2ME)2611Wed May 02 18:00:42 BST 2007gov.nist.javax.sdp

SdpException

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

Fields Summary
Constructors Summary
public SdpException()
Creates new SdpException

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

param
message a String specifying the text of the exception message

	super(message);
    
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.

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

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

param
rootCause the system exception that makes this SdpException necessary

        super(rootCause.getMessage());
    
Methods Summary