Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.cantaloop.cgimlet.lang
Class CompileException  view CompileException download CompileException.java

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byorg.cantaloop.cgimlet.CodeGenerationException
                  extended byorg.cantaloop.cgimlet.lang.CompileException
All Implemented Interfaces:
java.io.Serializable

public class CompileException
extends org.cantaloop.cgimlet.CodeGenerationException

This exception is thrown if a CodeCompiler aborts the compilation due to an error or exits with an error code.

Version:
@version@ ($Revision: 1.3 $)

Nested Class Summary
 
Nested classes inherited from class java.lang.Throwable
 
Field Summary
private  java.lang.String m_stdErr
           
private  java.lang.String m_stdOut
           
 
Fields inherited from class org.cantaloop.cgimlet.CodeGenerationException
 
Fields inherited from class java.lang.RuntimeException
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
CompileException()
           
CompileException(java.lang.String msg)
          Creates a new CompileException instance with the given error message.
 
Method Summary
 java.lang.String getStdErr()
          Returns the message that was written to standard error by the compiler.
 java.lang.String getStdOut()
          Returns the message that was written to standard error by the compiler.
 void setStdErr(java.lang.String stdErr)
          Sets the message that was written to standard error by the compiler.
 void setStdOut(java.lang.String stdOut)
          Sets the message that was written to standard out by the compiler.
 
Methods inherited from class org.cantaloop.cgimlet.CodeGenerationException
getNestedException, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

m_stdErr

private java.lang.String m_stdErr

m_stdOut

private java.lang.String m_stdOut
Constructor Detail

CompileException

public CompileException()

CompileException

public CompileException(java.lang.String msg)
Creates a new CompileException instance with the given error message. This error message may not be the same message as produced by the compiler.

Method Detail

setStdErr

public void setStdErr(java.lang.String stdErr)
Sets the message that was written to standard error by the compiler.


getStdErr

public java.lang.String getStdErr()
Returns the message that was written to standard error by the compiler.


setStdOut

public void setStdOut(java.lang.String stdOut)
Sets the message that was written to standard out by the compiler.


getStdOut

public java.lang.String getStdOut()
Returns the message that was written to standard error by the compiler.