blob: 17bb3b5a9de10d3e597b6572ab566d0b12cd8bbb (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
package ftbsc.lll.exceptions;
/**
* Thrown when something goes wrong while parsing a mappings file.
*/
public class MalformedMappingsException extends Exception {
/**
* Constructs a new {@link MalformedMappingsException} given the line number
* and an error message.
* @param lineNumber the line the error occurred at
* @param error the error message
*/
public MalformedMappingsException(int lineNumber, String error) {
super(String.format("Unexpected token at line %d: %s!", lineNumber, error));
}
}
|