Exception PGException (0.7.0)

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()
Returns
TypeDescription
PGException.Builder

Methods

getSQLState()

public SQLState getSQLState()
Returns
TypeDescription
SQLState

getSeverity()

public Severity getSeverity()
Returns
TypeDescription
Severity