org.entityfs.exception
Class WrongEntityTypeException

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
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
NotADirectoryException, NotAFileException

public class WrongEntityTypeException
extends FileSystemException

This exception signals that an entity was of a different type than what was expected.

Since:
1.1
Author:
Karl Gustafsson
See Also:
Serialized Form
In_jar:
entityfs-core

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

WrongEntityTypeException

public WrongEntityTypeException(String msg)

WrongEntityTypeException

public WrongEntityTypeException(Throwable t)

WrongEntityTypeException

public WrongEntityTypeException(String msg,
                                Throwable t)