|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
gate.util.GateException
gate.creole.ontology.InvalidFormatException
An exception thrown when invalid format of an ontology file is detected
Field Summary | |
private String |
file
the ontology file |
private static String |
MSG
The basic exception message |
private URL |
url
the url of the file |
Fields inherited from class gate.util.GateException |
e |
Fields inherited from class java.lang.Exception |
|
Fields inherited from class java.lang.Throwable |
|
Constructor Summary | |
InvalidFormatException()
|
|
InvalidFormatException(String file,
String comment)
Construction given file and comment |
|
InvalidFormatException(URL url,
String comment)
Construction given file URL and comment |
Method Summary | |
String |
getFile()
Gets the file associated with this exception |
private URL |
getURL()
Gets the URL associated with this exception |
Methods inherited from class gate.util.GateException |
printStackTrace, printStackTrace |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private String file
private URL url
private static final String MSG
Constructor Detail |
public InvalidFormatException(String file, String comment)
file
- the ontology filecomment
- comment of the exceptionpublic InvalidFormatException(URL url, String comment)
url
- the ontology urlcomment
- comment of the exceptionpublic InvalidFormatException()
Method Detail |
public String getFile()
private URL getURL()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |