blob: b6ea72058e8c5edd1893ca61e6249a1f48e13b97 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
public class LoadException extends Exception {
private int value;
private String msg;
public LoadException(int value, String msg) {
this.value = value;
this.msg = msg;
}
public String getMessage() {
return String.format("Invalid value %d (%s)", this.value, this.msg);
}
}
|