|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Throwable | +--java.lang.Exception | +--gate.util.GateException | +--gate.creole.gazetteer.InvalidFormatException
exception thrown when an invalid format of a file is detected
Field Summary | |
private String |
file
the associated file |
private static String |
MSG
the basic exception message |
private URL |
url
the associated URL |
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)
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 |
private URL |
getURL()
Gets the asssociated URL |
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 file to be associatedcomment
- to be added to the basic excpetion messagepublic InvalidFormatException(URL url, String comment)
url
- the url to be associatedcomment
- to be added to the basic excpetion messagepublic 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 |