Cantaloop CGimlet - API Documentation, Version: 0.2.0, Date: 2002-05-13 21:30 CEST

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

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, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

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.

Copyright 2001, 2002 Stefan Heimann, David Leuschner. All rights reserved.