[ Web Proxy ]
URL:
Viewing: https://docs.oracle.com/en/java/javase/24/docs/api/java.sql/java/sql/SQLWarning.html [Back]  [Original]

SQLWarning (Java SE 24 & JDK 24)
Contents 
Hide sidebar ❮❯ Show sidebar
  1. Description
  2. Constructor Summary
  3. Method Summary
  4. Constructor Details
    1. SQLWarning(String, String, int)
    2. SQLWarning(String, String)
    3. SQLWarning(String)
    4. SQLWarning()
    5. SQLWarning(Throwable)
    6. SQLWarning(String, Throwable)
    7. SQLWarning(String, String, Throwable)
    8. SQLWarning(String, String, int, Throwable)
  5. Method Details
    1. getNextWarning()
    2. setNextWarning(SQLWarning)

Class SQLWarning

java.lang.Object
All Implemented Interfaces:
Serializable, Iterable<Throwable>
Direct Known Subclasses:
DataTruncation

public class SQLWarning extends SQLException

An exception that provides information on database access warnings. Warnings are silently chained to the object whose method caused it to be reported.

Warnings may be retrieved from Connection, Statement, and ResultSet objects. Trying to retrieve a warning on a connection after it has been closed will cause an exception to be thrown. Similarly, trying to retrieve a warning on a statement after it has been closed or on a result set after it has been closed will cause an exception to be thrown. Note that closing a statement also closes a result set that it might have produced.

Since:
1.1
See Also:


Web Proxy Viewer  |  New URL  |  Original Page