JFlex
public class ScannerException extends RuntimeException implements ErrorMessages
Field Summary | |
---|---|
int | column |
File | file |
int | line |
int | message |
Constructor Summary | |
---|---|
ScannerException(int message)
Creates a new ScannerException with a message only.
| |
ScannerException(File file, int message)
Creates a new ScannerException for a file with a message only.
| |
ScannerException(int message, int line)
Creates a new ScannerException with a message and line number.
| |
ScannerException(File file, int message, int line)
Creates a new ScannerException for a file with a message and line number.
| |
ScannerException(File file, int message, int line, int column)
Creates a new ScannerException with a message, line number and column.
|
Parameters: message the code for the error description presented to the user.
Parameters: file the file in which the error occured message the code for the error description presented to the user.
Parameters: message the code for the error description presented to the user. line the number of the line in the specification that contains the error
Parameters: message the code for the error description presented to the user. line the number of the line in the specification that contains the error
Parameters: message the code for the error description presented to the user. line the number of the line in the specification that contains the error column the column where the error starts