org.cantaloop.cgimlet.lang
Class CompileException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--java.lang.RuntimeException
|
+--org.cantaloop.cgimlet.CodeGenerationException
|
+--org.cantaloop.cgimlet.lang.CompileException
- All Implemented Interfaces:
- java.io.Serializable
- public class CompileException
- extends CodeGenerationException
This exception is thrown if a CodeCompiler
aborts the
compilation due to an error or exits with an error code.
- Version:
- 0.2.0 ($Revision: 1.3 $)
- Author:
- Stefan Heimann
- See Also:
- Serialized Form
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 java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
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.
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.