public static final class SemanticIRBuilder.SemanticIRBuildException extends RuntimeException
Diagnostic to every
throw site so external callers can pattern-match on
DiagnosticCode rather than parsing message text. The
legacy (String) constructor was removed in slice 67;
use one of the Diagnostic.error(gudusoft.gsqlparser.ir.semantic.DiagnosticCode, java.lang.String) factories and the
SemanticIRBuildException(Diagnostic) constructor.| Constructor and Description |
|---|
SemanticIRBuildException(Diagnostic diagnostic) |
| Modifier and Type | Method and Description |
|---|---|
Diagnostic |
getDiagnostic() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic SemanticIRBuildException(Diagnostic diagnostic)
public Diagnostic getDiagnostic()