| |
|
| java.lang.Object java.lang.Throwable java.lang.Exception instantj.compile.CompilationFailedException
CompilationFailedException | public class CompilationFailedException extends Exception (Code) | | The exception wrapping the failed attempt to compile source. It
contains a compiler error statement and a collection of errors
encountered.
author: Nils Meier |
CompilationFailedException | public CompilationFailedException(String msg)(Code) | | Constructor
Parameters: msg - message explaining what went wrong |
CompilationFailedException | public CompilationFailedException(String msg, Collection errors)(Code) | | Constructor
Parameters: msg - message explaining what went wrong Parameters: errors - a collection of errors (java.lang.String) |
getErrors | public Collection getErrors()(Code) | | Returns the errors the compiler ran into
the collection of errors (java.lang.String) |
printErrors | public void printErrors(PrintStream out)(Code) | | Helper to print the compiler's errors to a PrintStream
|
printErrors | public void printErrors(PrintWriter out)(Code) | | Helper to print the compiler's errors to a PrintWriter
|
|
|
|