Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Unpublished - rights reserved under the Copyright Laws of the United States. Copyright � 2003 Sun Microsystems, Inc. All rights reserved. Copyright � 2005 BEA Systems, Inc. All rights reserved. Use is subject to license terms. This distribution may include materials developed by third parties. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Module Name : JSIP Specification File Name : SipException.java Author : Phelim O'Doherty HISTORY Version Date Author Comments 1.1 08/10/2002 Phelim O'Doherty ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
 
 package javax.sip;



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

Author(s):
BEA Systems, NIST
Version:
1.2
 
 
 
 
 public class SipException extends Exception {



    
Constructs a new SipException
 
 
     public SipException() {
 
         super();
 
     }



    
Constructs a new SipException with the specified error message.

Parameters:
message the error message of this Exception.
 
 
     public SipException(String message) {
 
         super(message);
 
     }



    
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
 
 
     public SipException(String messageThrowable cause) {
         super(message);
          = cause;
     }


    
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.

Returns:
the cause of this throwable or null if the cause is nonexistent or unknown.
    public Throwable getCause() {
           return();
    }

    
The specialized cause that triggered this Exception. This cause informs an application of the underlying implementation problem that triggered this Exception.
    protected Throwable m_Cause = null;
New to GrepCode? Check out our FAQ X