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:
Serializable

public class WrappedIOException
extends 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(String message)
          Make a WrappedIOException with the specified message
WrappedIOException(String message, Throwable e)
          Make a WrappedIOException with the specified message and cause
WrappedIOException(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(String message)
Make a WrappedIOException with the specified message


WrappedIOException

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


WrappedIOException

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



Terrier 3.6. Copyright © 2004-2011 University of Glasgow