Package javassist.compiler
Class CompileError
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- javassist.compiler.CompileError
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
NoFieldException,SyntaxError
public class CompileError extends java.lang.Exception- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private Lexlexprivate java.lang.Stringreasonprivate static longserialVersionUIDdefault serialVersionUID
-
Constructor Summary
Constructors Constructor Description CompileError(java.lang.String s)CompileError(java.lang.String s, Lex l)CompileError(CannotCompileException e)CompileError(NotFoundException e)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LexgetLex()java.lang.StringgetMessage()java.lang.StringtoString()
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
default serialVersionUID- See Also:
- Constant Field Values
-
lex
private Lex lex
-
reason
private java.lang.String reason
-
-
Constructor Detail
-
CompileError
public CompileError(java.lang.String s, Lex l)
-
CompileError
public CompileError(java.lang.String s)
-
CompileError
public CompileError(CannotCompileException e)
-
CompileError
public CompileError(NotFoundException e)
-
-
Method Detail
-
getLex
public Lex getLex()
-
getMessage
public java.lang.String getMessage()
- Overrides:
getMessagein classjava.lang.Throwable
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Throwable
-
-