public static class FileCompiler.FileCompilerException
extends java.lang.Throwable
FileCompiler.| Modifier and Type | Field and Description |
|---|---|
private javax.tools.DiagnosticCollector<javax.tools.JavaFileObject> |
diagnostics
The compiler diagnostics.
|
private java.util.List<java.lang.String> |
options
The compiler options.
|
private static long |
serialVersionUID |
private java.util.List<java.io.File> |
sourceFiles
The list of source files for the compilation.
|
| Constructor and Description |
|---|
FileCompilerException(java.lang.String message,
java.util.List<java.io.File> sourceFiles,
java.util.List<java.lang.String> options,
javax.tools.DiagnosticCollector<javax.tools.JavaFileObject> diagnostics)
Creates a
FileCompiler.FileCompilerException with the error message, the list of source classes,
and compiler diagnostics from the compilation. |
| Modifier and Type | Method and Description |
|---|---|
javax.tools.DiagnosticCollector<javax.tools.JavaFileObject> |
getDiagnostics()
Returns the compiler diagnostics for the compilation that generated this exception.
|
java.util.List<java.lang.String> |
getOptions()
Returns the list of compiler options used in the compilation that generated this error.
|
java.util.List<java.io.File> |
getSourceFiles()
Returns the list of source files used in the compilation that generated this error.
|
private static final long serialVersionUID
private final java.util.List<java.io.File> sourceFiles
private final java.util.List<java.lang.String> options
private final javax.tools.DiagnosticCollector<javax.tools.JavaFileObject> diagnostics
FileCompilerException(java.lang.String message,
java.util.List<java.io.File> sourceFiles,
java.util.List<java.lang.String> options,
javax.tools.DiagnosticCollector<javax.tools.JavaFileObject> diagnostics)
FileCompiler.FileCompilerException with the error message, the list of source classes,
and compiler diagnostics from the compilation.message - the exception messagesourceFiles - the list of source filesoptions - the list of compiler optionsdiagnostics - the compiler diagnosticspublic java.util.List<java.io.File> getSourceFiles()
public java.util.List<java.lang.String> getOptions()
public javax.tools.DiagnosticCollector<javax.tools.JavaFileObject> getDiagnostics()