aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/javassist/compiler/CompileError.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/javassist/compiler/CompileError.java')
-rw-r--r--src/main/javassist/compiler/CompileError.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/javassist/compiler/CompileError.java b/src/main/javassist/compiler/CompileError.java
index 331b7847..5b857cf2 100644
--- a/src/main/javassist/compiler/CompileError.java
+++ b/src/main/javassist/compiler/CompileError.java
@@ -20,6 +20,8 @@ import javassist.CannotCompileException;
import javassist.NotFoundException;
public class CompileError extends Exception {
+ /** default serialVersionUID */
+ private static final long serialVersionUID = 1L;
private Lex lex;
private String reason;
@@ -43,10 +45,12 @@ public class CompileError extends Exception {
public Lex getLex() { return lex; }
+ @Override
public String getMessage() {
return reason;
}
+ @Override
public String toString() {
return "compile error: " + reason;
}