classUtils.javassist
Class CannotCompileException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by classUtils.javassist.CannotCompileException
All Implemented Interfaces:
java.io.Serializable

public class CannotCompileException
extends java.lang.Exception

Thrown when bytecode transformation has failed.

See Also:
Serialized Form

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(CompileError e)
          Constructs a CannotCompileException with an CompileError.
CannotCompileException(java.lang.Exception e)
          Constructs a CannotCompileException with an Exception.
CannotCompileException(NotFoundException e)
          Constructs a CannotCompileException with a NotFoundException.
CannotCompileException(java.lang.String msg)
          Constructs a CannotCompileException with a message.
 
Method Summary
 java.lang.String getReason()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CannotCompileException

public CannotCompileException(java.lang.String msg)
Constructs a CannotCompileException with a message.


CannotCompileException

public CannotCompileException(java.lang.Exception e)
Constructs a CannotCompileException with an Exception.


CannotCompileException

public CannotCompileException(NotFoundException e)
Constructs a CannotCompileException with a NotFoundException.


CannotCompileException

public CannotCompileException(CompileError e)
Constructs a CannotCompileException with an CompileError.


CannotCompileException

public CannotCompileException(java.lang.ClassNotFoundException e,
                              java.lang.String name)
Constructs a CannotCompileException with a ClassNotFoundException.


CannotCompileException

public CannotCompileException(java.lang.ClassFormatError e,
                              java.lang.String name)
Constructs a CannotCompileException with a ClassFormatError.

Method Detail

getReason

public java.lang.String getReason()