Top Fields Constructors Methods
org.postgresql.util

public Class PSQLWarning

extends SQLWarning
Class Inheritance
Imports
org.checkerframework.checker.nullness.qual.Nullable, java.sql.SQLWarning

Field Summary

Modifier and TypeField and Description
private final ServerErrorMessage

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public @Nullable String
getMessage()

Overrides java.lang.Throwable.getMessage.

Returns the detail message string of this throwable.

public ServerErrorMessage
Inherited from java.sql.SQLWarning:
getNextWarningsetNextWarning

Field Detail

serverErrorback to summary
private final ServerErrorMessage serverError

Constructor Detail

PSQLWarningback to summary
public PSQLWarning(ServerErrorMessage err)

Method Detail

getMessageback to summary
public @Nullable String getMessage()

Overrides java.lang.Throwable.getMessage.

Doc from java.lang.Throwable.getMessage.

Returns the detail message string of this throwable.

Returns:@Nullable String

the detail message string of this Throwable instance (which may be null).

Annotations
@Override
getServerErrorMessageback to summary
public ServerErrorMessage getServerErrorMessage()