Skip to content
Snippets Groups Projects

smaller changes to the exceptions

2 files
+ 15
0
Compare changes
  • Side-by-side
  • Inline

Files

package Exceptions;
public class LexerException extends Exception {
private String message;
public LexerException(String message) {
super(message);
this.message = message;
}
@Override
public String toString() {
return "lexer failed: " + message;
}
}
Loading