|
||||||||||
| 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.gazetteer.InvalidFormatException
public class 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 |
| 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 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 |
| 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 message
public 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 | |||||||||