gate.creole.gazetteer
Class InvalidFormatException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by gate.util.GateException
              extended by gate.creole.gazetteer.InvalidFormatException
All Implemented Interfaces:
Serializable

public class InvalidFormatException
extends GateException

exception thrown when an invalid format of a file is detected

See Also:
Serialized Form

Constructor Summary
InvalidFormatException()
           
InvalidFormatException(String file, String comment)
          Constructs the exception given a file and a comment
InvalidFormatException(URL url, String comment)
          Constructs the exception given an URL and a comment
 
Method Summary
 String getFile()
          Gets the associated file
 
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

InvalidFormatException

public InvalidFormatException(String file,
                              String comment)
Constructs the exception given a file and a comment

Parameters:
file - the file to be associated
comment - to be added to the basic excpetion message

InvalidFormatException

public InvalidFormatException(URL url,
                              String comment)
Constructs the exception given an URL and a comment

Parameters:
url - the url to be associated
comment - to be added to the basic excpetion message

InvalidFormatException

public InvalidFormatException()
Method Detail

getFile

public String getFile()
Gets the associated file

Returns:
the associated file