|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.ClassNotFoundException
org.objectweb.fractal.julia.asm.ClassGenerationException
Thrown when a problem occurs during the generation of a class. See generateClass
.
Constructor Summary | |
ClassGenerationException(Throwable exception,
String classDescriptor,
String message)
Constructs a new ClassGenerationException object. |
Method Summary | |
String |
getClassDescriptor()
Returns the class descriptor of the class that cannot be generated. |
Throwable |
getException()
|
void |
printStackTrace()
Prints the stack backtrace. |
void |
printStackTrace(PrintStream s)
Prints this exception and its backtrace to the specified print stream. |
void |
printStackTrace(PrintWriter s)
Prints this exception and its backtrace to the specified print writer. |
Methods inherited from class java.lang.ClassNotFoundException |
getCause |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ClassGenerationException(Throwable exception, String classDescriptor, String message)
ClassGenerationException
object.
exception
- the cause of this exception. May be null.classDescriptor
- the class descriptor of the class that cannot be
generated.message
- the name of the interface that cannot be found.Method Detail |
public Throwable getException()
public String getClassDescriptor()
public void printStackTrace()
public void printStackTrace(PrintStream s)
s
- PrintStream to use for output.public void printStackTrace(PrintWriter s)
s
- PrintWriter to use for output.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |