Package javassist
Class CannotCompileException
java.lang.Object
java.lang.Throwable
java.lang.Exception
javassist.CannotCompileException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
CannotReflectException
,DuplicateMemberException
Thrown when bytecode transformation has failed.
- See Also:
-
Constructor Summary
ConstructorDescriptionCannotCompileException
(ClassFormatError e, String name) Constructs a CannotCompileException with a ClassFormatError.Constructs a CannotCompileException with aClassNotFoundException
.Constructs a CannotCompileException with a message.CannotCompileException
(String msg, Throwable e) Constructs a CannotCompileException with a detailed message and anException
representing the cause.Constructs a CannotCompileException with anException
representing the cause.CannotCompileException
(javassist.compiler.CompileError e) Constructs a CannotCompileException with anCompileError
.Constructs a CannotCompileException with aNotFoundException
. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
CannotCompileException
Constructs a CannotCompileException with a message.- Parameters:
msg
- the message.
-
CannotCompileException
Constructs a CannotCompileException with anException
representing the cause.- Parameters:
e
- the cause.
-
CannotCompileException
Constructs a CannotCompileException with a detailed message and anException
representing the cause.- Parameters:
msg
- the message.e
- the cause.
-
CannotCompileException
Constructs a CannotCompileException with aNotFoundException
. -
CannotCompileException
public CannotCompileException(javassist.compiler.CompileError e) Constructs a CannotCompileException with anCompileError
. -
CannotCompileException
Constructs a CannotCompileException with aClassNotFoundException
. -
CannotCompileException
Constructs a CannotCompileException with a ClassFormatError.
-
-
Method Details