com.caucho.java
Class CompileClassNotFound

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.ClassNotFoundException
              extended by com.caucho.java.CompileClassNotFound
All Implemented Interfaces:
CompileException, DisplayableException, LineCompileException, java.io.Serializable

public class CompileClassNotFound
extends java.lang.ClassNotFoundException
implements LineCompileException, DisplayableException

Wrapper for a compile error.

See Also:
Serialized Form

Constructor Summary
CompileClassNotFound(java.lang.Exception cause)
          Create a CompileClassNotFound exception wrapped around a root cause.
CompileClassNotFound(java.lang.String message)
          Create a CompileClassNotFound exception with a message.
 
Method Summary
 java.lang.Throwable getCause()
          Returns the root cause of the exception.
 java.lang.Throwable getRootCause()
          Returns the root cause of the exception.
 void print(java.io.PrintWriter out)
           
 
Methods inherited from class java.lang.ClassNotFoundException
getException
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CompileClassNotFound

public CompileClassNotFound(java.lang.String message)
Create a CompileClassNotFound exception with a message.

Parameters:
message - the exception message

CompileClassNotFound

public CompileClassNotFound(java.lang.Exception cause)
Create a CompileClassNotFound exception wrapped around a root cause.

Parameters:
cause - the wrapped exception
Method Detail

getRootCause

public java.lang.Throwable getRootCause()
Returns the root cause of the exception.


getCause

public java.lang.Throwable getCause()
Returns the root cause of the exception.

Overrides:
getCause in class java.lang.ClassNotFoundException

print

public void print(java.io.PrintWriter out)
Specified by:
print in interface DisplayableException