Top Fields Constructors Methods
javassist.compiler

public Class CompileError

extends Exception
Class Inheritance
Known Direct Subclasses
javassist.compiler.NoFieldException, javassist.compiler.SyntaxError
Imports
javassist.CannotCompileException, .NotFoundException

Field Summary

Modifier and TypeField and Description
private Lex
private String
private static final long

Constructor Summary

AccessConstructor and Description
public
public
public
public

Method Summary

Modifier and TypeMethod and Description
public Lex
public String
getMessage()

Overrides java.lang.Throwable.getMessage.

Returns the detail message string of this throwable.

public String
toString()

Overrides java.lang.Throwable.toString.

Returns a short description of this throwable.

Field Detail

lexback to summary
private Lex lex
reasonback to summary
private String reason
serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.lang.Exception.serialVersionUID.

default serialVersionUID

Constructor Detail

CompileErrorback to summary
public CompileError(String s, Lex l)
CompileErrorback to summary
public CompileError(String s)
CompileErrorback to summary
public CompileError(CannotCompileException e)
CompileErrorback to summary
public CompileError(NotFoundException e)

Method Detail

getLexback to summary
public Lex getLex()
getMessageback to summary
public String getMessage()

Overrides java.lang.Throwable.getMessage.

Doc from java.lang.Throwable.getMessage.

Returns the detail message string of this throwable.

Returns:String

the detail message string of this Throwable instance (which may be null).

Annotations
@Override
toStringback to summary
public String toString()

Overrides java.lang.Throwable.toString.

Doc from java.lang.Throwable.toString.

Returns a short description of this throwable. The result is the concatenation of:

  • the name of the class of this object
  • ": " (a colon and a space)
  • the result of invoking this object's getLocalizedMessage method
If getLocalizedMessage returns null, then just the class name is returned.
Returns:String

a string representation of this throwable.

Annotations
@Override