ibis.ipl
Class IbisException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byibis.ipl.IbisException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
AlreadyBoundException, NoMatchingIbisException, NotBoundException

public class IbisException
extends java.lang.Exception

Like java.lang.Exception, but with a cause.

See Also:
Serialized Form

Constructor Summary
IbisException()
          Constructs an IbisException with null as its error detail message.
IbisException(java.lang.String s)
          Constructs an IbisException with the specified detail message.
IbisException(java.lang.String s, java.lang.Throwable cause)
          Constructs an IbisException with the specified detail message and cause.
IbisException(java.lang.Throwable cause)
          Constructs an IbisException with the specified cause.
 
Method Summary
 java.lang.Throwable getCause()
          Returns the cause of this exception.
 java.lang.String getMessage()
          Returns the error detail message of this exception, including the one of cause, if there is one.
 java.lang.Throwable initCause(java.lang.Throwable t)
          Initializes and returns the cause of this exception.
 void printStackTrace()
          Prints stack trace of both cause and this.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IbisException

public IbisException()
Constructs an IbisException with null as its error detail message.


IbisException

public IbisException(java.lang.String s)
Constructs an IbisException with the specified detail message.

Parameters:
s - the detail message

IbisException

public IbisException(java.lang.String s,
                     java.lang.Throwable cause)
Constructs an IbisException with the specified detail message and cause.

Parameters:
s - the detail message
cause - the cause

IbisException

public IbisException(java.lang.Throwable cause)
Constructs an IbisException with the specified cause.

Parameters:
cause - the cause
Method Detail

initCause

public java.lang.Throwable initCause(java.lang.Throwable t)
Initializes and returns the cause of this exception.

Returns:
the cause.

getCause

public java.lang.Throwable getCause()
Returns the cause of this exception.

Returns:
the cause.

getMessage

public java.lang.String getMessage()
Returns the error detail message of this exception, including the one of cause, if there is one.

Returns:
the detail message.

printStackTrace

public void printStackTrace()
Prints stack trace of both cause and this.



The Ibis project