Top Fields Constructors Methods
org.postgresql.util

public Class PSQLException

extends SQLException
Class Inheritance
Imports
org.checkerframework.checker.nullness.qual.Nullable, org.checkerframework.dataflow.qual.Pure, java.sql.SQLException

Field Summary

Modifier and TypeField and Description
private @Nullable ServerErrorMessage

Constructor Summary

AccessConstructor and Description
public
public
public
public
PSQLException(ServerErrorMessage serverError, boolean detail)

Method Summary

Modifier and TypeMethod and Description
public @Nullable ServerErrorMessage
Inherited from java.sql.SQLException:
getErrorCodegetNextExceptiongetSQLStateiteratorsetNextException

Field Detail

serverErrorback to summary
private @Nullable ServerErrorMessage serverError

Constructor Detail

PSQLExceptionback to summary
public PSQLException(@Nullable String msg, @Nullable PSQLState state, @Nullable Throwable cause)
Annotations
@Pure
PSQLExceptionback to summary
public PSQLException(@Nullable String msg, @Nullable PSQLState state)
Annotations
@Pure
PSQLExceptionback to summary
public PSQLException(ServerErrorMessage serverError)
Annotations
@Pure
PSQLExceptionback to summary
public PSQLException(ServerErrorMessage serverError, boolean detail)
Annotations
@Pure

Method Detail

getServerErrorMessageback to summary
public @Nullable ServerErrorMessage getServerErrorMessage()
Annotations
@Pure