ibis.ipl
Class IbisIOException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.io.IOException
              extended byibis.ipl.IbisIOException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
AlreadyConnectedException, BindingException, ConnectionClosedException, ConnectionRefusedException, ConnectionTimedOutException, PortMismatchException, ReceiveTimedOutException, RemoteException

public class IbisIOException
extends java.io.IOException

Like java.io.IOException, but with a cause.

See Also:
Serialized Form

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

IbisIOException

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


IbisIOException

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

Parameters:
s - the detail message

IbisIOException

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

Parameters:
s - the detail message
cause - the cause

IbisIOException

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