Package org.postgresql.util
Class PSQLWarning
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.sql.SQLException
-
- java.sql.SQLWarning
-
- org.postgresql.util.PSQLWarning
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Iterable<java.lang.Throwable>
public class PSQLWarning extends java.sql.SQLWarning
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PSQLWarning(ServerErrorMessage err)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getMessage()
ServerErrorMessage
getServerErrorMessage()
-
Methods inherited from class java.sql.SQLException
getErrorCode, getNextException, getSQLState, iterator, setNextException
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
PSQLWarning
public PSQLWarning(ServerErrorMessage err)
-
-
Method Detail
-
getMessage
public java.lang.String getMessage()
- Overrides:
getMessage
in classjava.lang.Throwable
-
getServerErrorMessage
public ServerErrorMessage getServerErrorMessage()
-
-