public class PGException extends RuntimeException
PGException contains all fields that are needed to send an com.google.cloud.spanner.pgadapter.wireoutput.ErrorResponse.
Static Methods
newBuilder()
public static PGException.Builder newBuilder()
Type | Description |
PGException.Builder |
Methods
getSQLState()
public SQLState getSQLState()
Type | Description |
SQLState |
getSeverity()
public Severity getSeverity()
Type | Description |
Severity |