|
|||||||||
| 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(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(javassist.compiler.CompileError e)
Constructs a CannotCompileException with an CompileError. |
|
CannotCompileException(NotFoundException e)
Constructs a CannotCompileException with a NotFoundException. |
|
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. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
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)
| Method Detail |
|---|
public java.lang.Throwable getCause()
getCause in class java.lang.Throwablepublic java.lang.Throwable initCause(java.lang.Throwable cause)
initCause in class java.lang.Throwablepublic java.lang.String getReason()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||