Class PGException.Builder (0.19.1)

publicstaticclass PGException.Builder

Inheritance

java.lang.Object > PGException.Builder

Methods

build()

publicPGExceptionbuild()
Returns
Type Description
PGException

setCause(Throwable cause)

publicPGException.BuildersetCause(Throwablecause)
Parameter
Name Description
cause Throwable
Returns
Type Description
PGException.Builder

setHints(String hints)

publicPGException.BuildersetHints(Stringhints)
Parameter
Name Description
hints String
Returns
Type Description
PGException.Builder

setSQLState(SQLState sqlState)

publicPGException.BuildersetSQLState(SQLStatesqlState)
Parameter
Name Description
sqlState SQLState
Returns
Type Description
PGException.Builder

setSeverity(Severity severity)

publicPGException.BuildersetSeverity(Severityseverity)
Parameter
Name Description
severity Severity
Returns
Type Description
PGException.Builder

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.