gate.creole.gazetteer
Class InvalidFormatException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--gate.util.GateException
                    |
                    +--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 gate.util.GateException
printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, 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