Class PGException.Builder (0.20.0)

public static class PGException.Builder

Inheritance

java.lang.Object > PGException.Builder

Methods

build()

public PGException build()
Returns
TypeDescription
PGException

setCause(Throwable cause)

public PGException.Builder setCause(Throwable cause)
Parameter
NameDescription
causeThrowable
Returns
TypeDescription
PGException.Builder

setHints(String hints)

public PGException.Builder setHints(String hints)
Parameter
NameDescription
hintsString
Returns
TypeDescription
PGException.Builder

setSQLState(SQLState sqlState)

public PGException.Builder setSQLState(SQLState sqlState)
Parameter
NameDescription
sqlStateSQLState
Returns
TypeDescription
PGException.Builder

setSeverity(Severity severity)

public PGException.Builder setSeverity(Severity severity)
Parameter
NameDescription
severitySeverity
Returns
TypeDescription
PGException.Builder