net.sf.cotta
Class TIoException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by net.sf.cotta.TIoException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
PermissionDeniedException, TDirectoryNotFoundException, TFileNotFoundException

public class TIoException
extends java.io.IOException

The exception that wraps java.io.IOException. This should be the exception used throughout the client of Cotta, because it will be converted to extend RuntimeException in the future.

See Also:
Serialized Form

Constructor Summary
TIoException(TPath path, java.lang.String message)
           
TIoException(TPath path, java.lang.String message, java.io.IOException cause)
           
 
Method Summary
 TPath getPath()
           
 
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

TIoException

public TIoException(TPath path,
                    java.lang.String message)

TIoException

public TIoException(TPath path,
                    java.lang.String message,
                    java.io.IOException cause)
Method Detail

getPath

public TPath getPath()