java.io.Serializable
CannotReflectException
, DuplicateMemberException
public class CannotCompileException
extends java.lang.Exception
Constructor | Description |
---|---|
CannotCompileException(java.lang.ClassFormatError e,
java.lang.String name) |
Constructs a CannotCompileException with a ClassFormatError.
|
CannotCompileException(java.lang.ClassNotFoundException e,
java.lang.String name) |
Constructs a CannotCompileException
with a
ClassNotFoundException . |
CannotCompileException(java.lang.String msg) |
Constructs a CannotCompileException with a message.
|
CannotCompileException(java.lang.String msg,
java.lang.Throwable e) |
Constructs a CannotCompileException with a detailed message
and an
Exception representing the cause. |
CannotCompileException(java.lang.Throwable e) |
Constructs a CannotCompileException with an
Exception
representing the cause. |
CannotCompileException(javassist.compiler.CompileError e) |
Constructs a CannotCompileException with an
CompileError . |
CannotCompileException(NotFoundException e) |
Constructs a CannotCompileException with a
NotFoundException . |
Modifier and Type | Method | Description |
---|---|---|
java.lang.Throwable |
getCause() |
Gets the cause of this throwable.
|
java.lang.String |
getReason() |
Gets a long message if it is available.
|
java.lang.Throwable |
initCause(java.lang.Throwable cause) |
Initializes the cause of this throwable.
|
public CannotCompileException(java.lang.String msg)
msg
- the message.public CannotCompileException(java.lang.Throwable e)
Exception
representing the cause.e
- the cause.public CannotCompileException(java.lang.String msg, java.lang.Throwable e)
Exception
representing the cause.msg
- the message.e
- the cause.public CannotCompileException(NotFoundException e)
NotFoundException
.public CannotCompileException(javassist.compiler.CompileError e)
CompileError
.public CannotCompileException(java.lang.ClassNotFoundException e, java.lang.String name)
ClassNotFoundException
.public CannotCompileException(java.lang.ClassFormatError e, java.lang.String name)
public java.lang.Throwable getCause()
getCause
in class java.lang.Throwable
public java.lang.Throwable initCause(java.lang.Throwable cause)
initCause
in class java.lang.Throwable
public java.lang.String getReason()
Javassist, a Java-bytecode translator toolkit.
Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.