public class SequenceCompilerException
extends java.lang.Throwable
String
.Modifier and Type | Field and Description |
---|---|
private javax.tools.DiagnosticCollector<javax.tools.JavaFileObject> |
diagnostics
The compiler diagnostics.
|
private static long |
serialVersionUID |
private java.lang.String |
sourceText
The source text for the class.
|
Constructor and Description |
---|
SequenceCompilerException(java.lang.String message,
java.lang.String sourceText,
javax.tools.DiagnosticCollector<javax.tools.JavaFileObject> diagnostics)
Creates a
SequenceCompilerException with a message, source text and compiler
diagnostics. |
SequenceCompilerException(java.lang.String message,
java.lang.Throwable cause,
java.lang.String sourceText,
javax.tools.DiagnosticCollector<javax.tools.JavaFileObject> diagnostics)
Creates a
SequenceCompilerException with a message, a compiler thrown exception, the
source text and compiler diagnostics. |
Modifier and Type | Method and Description |
---|---|
javax.tools.DiagnosticCollector<javax.tools.JavaFileObject> |
getDiagnostics()
Return the compiler diagnostics.
|
java.lang.String |
getSourceText()
Get the source text for the class being compiled when this exception was thrown.
|
private static final long serialVersionUID
private final java.lang.String sourceText
private final javax.tools.DiagnosticCollector<javax.tools.JavaFileObject> diagnostics
SequenceCompilerException(java.lang.String message, java.lang.String sourceText, javax.tools.DiagnosticCollector<javax.tools.JavaFileObject> diagnostics)
SequenceCompilerException
with a message, source text and compiler
diagnostics.message
- the exception messagesourceText
- the source text for the compiled classdiagnostics
- the compiler diagnosticsSequenceCompilerException(java.lang.String message, java.lang.Throwable cause, java.lang.String sourceText, javax.tools.DiagnosticCollector<javax.tools.JavaFileObject> diagnostics)
SequenceCompilerException
with a message, a compiler thrown exception, the
source text and compiler diagnostics.message
- the exception messagecause
- the compiler exceptionsourceText
- the source text for the compiled classdiagnostics
- the compiler diagnosticspublic java.lang.String getSourceText()
public javax.tools.DiagnosticCollector<javax.tools.JavaFileObject> getDiagnostics()