edu.cs.ai.kreator.exceptions
Class UnknownFileTypeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by edu.cs.ai.kreator.exceptions.KreatorException
              extended by edu.cs.ai.kreator.exceptions.FileException
                  extended by edu.cs.ai.kreator.exceptions.UnknownFileTypeException
All Implemented Interfaces:
java.io.Serializable

public class UnknownFileTypeException
extends FileException

Exception to inform about an unknown file extension. Legal file extension you can find in Extensions

Author:
Sebastian Loh
See Also:
Serialized Form

Constructor Summary
UnknownFileTypeException(java.io.File unknownFile)
          Constructs a UnknownFileTypeException with a informative message and the File object which causes the exception
UnknownFileTypeException(java.lang.String message, java.io.File unkownFile)
          Constructs a UnknownFileTypeException with a informative message and the File object which causes the exception
 
Method Summary
 java.io.File getUnknownFile()
          Returns the File which was the reason for that Exception
 
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

UnknownFileTypeException

public UnknownFileTypeException(java.io.File unknownFile)
Constructs a UnknownFileTypeException with a informative message and the File object which causes the exception

Parameters:
message -
unknownFile -

UnknownFileTypeException

public UnknownFileTypeException(java.lang.String message,
                                java.io.File unkownFile)
Constructs a UnknownFileTypeException with a informative message and the File object which causes the exception

Parameters:
message -
unkownFile -
Method Detail

getUnknownFile

public java.io.File getUnknownFile()
Returns the File which was the reason for that Exception

Returns: