org.entityfs.exception
Class NotAFileException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.entityfs.support.exception.FileSystemException
                  extended by org.entityfs.exception.WrongEntityTypeException
                      extended by org.entityfs.exception.NotAFileException
All Implemented Interfaces:
Serializable

public class NotAFileException
extends WrongEntityTypeException

This exception is thrown by a method that expected a file but got another type of entity.

Since:
1.0
Author:
Karl Gustafsson
See Also:
Serialized Form

Constructor Summary
NotAFileException(String msg)
           
NotAFileException(String msg, Throwable t)
           
 
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

NotAFileException

public NotAFileException(String msg)

NotAFileException

public NotAFileException(String msg,
                         Throwable t)