org.terrier.utility.io
Class WrappedIOException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by org.terrier.utility.io.WrappedIOException
All Implemented Interfaces:
java.io.Serializable

public class WrappedIOException
extends java.io.IOException

A class for IOException. Use this when you have an error, but are being forced by an existing API to return an IOException.

Since:
2.2
Author:
Craig Macdonald
See Also:
Serialized Form

Constructor Summary
WrappedIOException(java.lang.String message)
          Make a WrappedIOException with the specified message
WrappedIOException(java.lang.String message, java.lang.Throwable e)
          Make a WrappedIOException with the specified message and cause
WrappedIOException(java.lang.Throwable e)
          Make a WrappedIOException with the specified 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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WrappedIOException

public WrappedIOException(java.lang.String message)
Make a WrappedIOException with the specified message


WrappedIOException

public WrappedIOException(java.lang.Throwable e)
Make a WrappedIOException with the specified cause


WrappedIOException

public WrappedIOException(java.lang.String message,
                          java.lang.Throwable e)
Make a WrappedIOException with the specified message and cause



Terrier 3.5. Copyright © 2004-2011 University of Glasgow