net.sf.fstreem
Class NotAFolderException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended bynet.sf.fstreem.NotAFolderException
All Implemented Interfaces:
java.io.Serializable

public class NotAFolderException
extends java.lang.RuntimeException

Thrown when an operation that should be executed on folders is attempted on a file FileSystemTreeNode.

See Also:
Serialized Form

Constructor Summary
NotAFolderException(java.io.File offendingFile)
           
NotAFolderException(java.lang.String message, java.io.File offendingFile)
           
NotAFolderException(java.lang.String message, java.lang.Throwable cause, java.io.File offendingFile)
           
NotAFolderException(java.lang.Throwable cause, java.io.File offendingFile)
           
 
Method Summary
 java.lang.String getMessage()
           
 java.io.File getOffendingFile()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, 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

NotAFolderException

public NotAFolderException(java.io.File offendingFile)

NotAFolderException

public NotAFolderException(java.lang.String message,
                           java.io.File offendingFile)

NotAFolderException

public NotAFolderException(java.lang.Throwable cause,
                           java.io.File offendingFile)

NotAFolderException

public NotAFolderException(java.lang.String message,
                           java.lang.Throwable cause,
                           java.io.File offendingFile)
Method Detail

getOffendingFile

public java.io.File getOffendingFile()

getMessage

public java.lang.String getMessage()