SerializableCannotReflectException, DuplicateMemberExceptionpublic class CannotCompileException extends Exception
| Constructor | Description |
|---|---|
CannotCompileException(ClassFormatError e,
String name) |
Constructs a CannotCompileException with a ClassFormatError.
|
CannotCompileException(ClassNotFoundException e,
String name) |
Constructs a CannotCompileException
with a
ClassNotFoundException. |
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. |
CannotCompileException(CompileError e) |
Constructs a CannotCompileException with an
CompileError. |
CannotCompileException(NotFoundException e) |
Constructs a CannotCompileException with a
NotFoundException. |
| Modifier and Type | Method | Description |
|---|---|---|
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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic 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)
public Throwable getCause()
public Throwable initCause(Throwable cause)
public String getReason()
Copyright © 2018 Shigeru Chiba, www.javassist.org. All rights reserved.