|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
javassist.CannotCompileException
public class CannotCompileException
Thrown when bytecode transformation has failed.
| Constructor Summary | |
|---|---|
CannotCompileException(ClassFormatError e,
String name)
Constructs a CannotCompileException with a ClassFormatError. |
|
CannotCompileException(ClassNotFoundException e,
String name)
Constructs a CannotCompileException with a ClassNotFoundException. |
|
CannotCompileException(CompileError e)
Constructs a CannotCompileException with an CompileError. |
|
CannotCompileException(NotFoundException e)
Constructs a CannotCompileException with a NotFoundException. |
|
CannotCompileException(String msg)
Constructs a CannotCompileException with a message. |
|
CannotCompileException(String msg,
Throwable e)
Constructs a CannotCompileException with a detailed message and an Exception representing the cause. |
|
CannotCompileException(Throwable e)
Constructs a CannotCompileException with an Exception
representing the cause. |
|
| Method Summary | |
|---|---|
Throwable |
getCause()
Gets the cause of this throwable. |
String |
getReason()
Gets a long message if it is available. |
Throwable |
initCause(Throwable cause)
Initializes the cause of this throwable. |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CannotCompileException(String msg)
msg - the message.public CannotCompileException(Throwable e)
Exception
representing the cause.
e - the cause.
public CannotCompileException(String msg,
Throwable e)
Exception representing the cause.
msg - the message.e - the cause.public CannotCompileException(NotFoundException e)
NotFoundException.
public CannotCompileException(CompileError e)
CompileError.
public CannotCompileException(ClassNotFoundException e,
String name)
ClassNotFoundException.
public CannotCompileException(ClassFormatError e,
String name)
| Method Detail |
|---|
public Throwable getCause()
getCause in class Throwablepublic Throwable initCause(Throwable cause)
initCause in class Throwablepublic String getReason()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||