ibis.ipl
Class IbisRuntimeException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byibis.ipl.IbisRuntimeException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
IbisConfigurationException, IllegalLockStateException

public class IbisRuntimeException
extends java.lang.RuntimeException

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

See Also:
Serialized Form

Constructor Summary
IbisRuntimeException()
          Constructsn a IbisRuntimeException with null as its error detail message.
IbisRuntimeException(java.lang.String s)
          Constructs a IbisRuntimeException with the specified detail message.
IbisRuntimeException(java.lang.String s, java.lang.Throwable cause)
          Constructs a IbisRuntimeException with the specified detail message and cause.
IbisRuntimeException(java.lang.Throwable cause)
          Constructs a IbisRuntimeException 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

IbisRuntimeException

public IbisRuntimeException()
Constructsn a IbisRuntimeException with null as its error detail message.


IbisRuntimeException

public IbisRuntimeException(java.lang.String s)
Constructs a IbisRuntimeException with the specified detail message.

Parameters:
s - the detail message

IbisRuntimeException

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

Parameters:
s - the detail message
cause - the cause

IbisRuntimeException

public IbisRuntimeException(java.lang.Throwable cause)
Constructs a IbisRuntimeException 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