org.exist.storage.io
Class ExistIOException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by org.exist.storage.io.ExistIOException
All Implemented Interfaces:
Serializable

public class ExistIOException
extends IOException

A subclass of ExistIOException that adds the constructors for specifying a cause to the ExistIOException class (missing in ExistIOException until Java 6).

Author:
Chris Offerman
See Also:
Serialized Form

Constructor Summary
ExistIOException()
          Constructs an ExistIOException with null as its error detail message.
ExistIOException(String message)
          Constructs an ExistIOException with a given message String.
ExistIOException(String message, Throwable cause)
          Constructs an ExistIOException with a given message String and a Throwable that was its underlying cause.
ExistIOException(Throwable cause)
          Constructs an ExistIOException with null as its error detail message and a Throwable that was its underlying cause.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ExistIOException

public ExistIOException()
Constructs an ExistIOException with null as its error detail message. No underlying cause is set; getCause will return null.


ExistIOException

public ExistIOException(String message)
Constructs an ExistIOException with a given message String. No underlying cause is set; getCause will return null.

Parameters:
message - the error message.
See Also:
Throwable.getMessage()

ExistIOException

public ExistIOException(Throwable cause)
Constructs an ExistIOException with null as its error detail message and a Throwable that was its underlying cause.

Parameters:
cause - the Throwable (Error or Exception) that caused this exception to occur.
See Also:
Throwable.getCause()

ExistIOException

public ExistIOException(String message,
                        Throwable cause)
Constructs an ExistIOException with a given message String and a Throwable that was its underlying cause.

Parameters:
message - the error message.
cause - the Throwable (Error or Exception) that caused this exception to occur.
See Also:
Throwable.getCause(), Throwable.getMessage()


Copyright (C) Wolfgang Meier. All rights reserved.