public class InvalidFormatException extends GateException
Constructor and Description |
---|
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
|
Modifier and Type | Method and Description |
---|---|
String |
getFile()
Gets the associated file
|
URL |
getURL()
Gets the asssociated URL
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
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()