gate.creole.ontology
Class InvalidFormatException
java.lang.Object
java.lang.Throwable
java.lang.Exception
gate.util.GateException
gate.creole.ontology.InvalidFormatException
- All Implemented Interfaces:
- Serializable
public class InvalidFormatException
- extends GateException
An exception thrown when invalid format of an ontology file is detected
- See Also:
- Serialized Form
Method Summary |
String |
getFile()
Gets the file associated with this exception |
InvalidFormatException
public InvalidFormatException(String file,
String comment)
- Construction given file and comment
- Parameters:
file
- the ontology filecomment
- comment of the exception
InvalidFormatException
public InvalidFormatException(URL url,
String comment)
- Construction given file URL and comment
- Parameters:
url
- the ontology urlcomment
- comment of the exception
InvalidFormatException
public InvalidFormatException()
getFile
public String getFile()
- Gets the file associated with this exception
- Returns:
- the file associated with this exception