| Package | Description |
|---|---|
| gudusoft.gsqlparser.catalog.diagnostic | |
| gudusoft.gsqlparser.catalog.input |
| Modifier and Type | Method and Description |
|---|---|
CatalogDiagnosticCode |
CatalogDiagnostic.code() |
CatalogDiagnosticCode |
CatalogException.code()
Stable diagnostic code, or
null if none was supplied. |
static CatalogDiagnosticCode |
CatalogDiagnosticCode.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CatalogDiagnosticCode[] |
CatalogDiagnosticCode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
CatalogDiagnostic.Builder |
CatalogDiagnostic.Builder.code(CatalogDiagnosticCode v) |
static CatalogDiagnostic |
CatalogDiagnostic.of(CatalogDiagnosticSeverity severity,
CatalogDiagnosticCode code,
String message)
Convenience: build a diagnostic from severity + code + message only.
|
| Constructor and Description |
|---|
CatalogException(String message,
CatalogDiagnosticCode code) |
CatalogException(String message,
CatalogDiagnosticCode code,
CatalogQualifiedName name) |
CatalogException(String message,
Throwable cause,
CatalogDiagnosticCode code,
CatalogQualifiedName name) |
| Modifier and Type | Method and Description |
|---|---|
CatalogDiagnosticCode |
CatalogInputException.code()
Stable diagnostic code, or
null if none was supplied. |
| Constructor and Description |
|---|
CatalogInputException(String message,
CatalogDiagnosticCode code) |
CatalogInputException(String message,
Throwable cause,
CatalogDiagnosticCode code) |