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:
Serializable
,Iterable<Throwable>
public class PSQLWarning extends 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 String
getMessage()
ServerErrorMessage
getServerErrorMessage()
-
Methods inherited from class java.sql.SQLWarning
getNextWarning, setNextWarning
-
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
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Constructor Detail
-
PSQLWarning
public PSQLWarning(ServerErrorMessage err)
-
-
Method Detail
-
getMessage
public String getMessage()
- Overrides:
getMessage
in classThrowable
-
getServerErrorMessage
public ServerErrorMessage getServerErrorMessage()
-
-