SQLWarning objects are a subclass of SQLException that deal with database access warnings. Warnings do not stop the implementation of an application, as exceptions do; they easily alert the user that something did not happen as planned. A warning can be reported on a Connection object, a Statement object (including Prepared Statement and Callable Statement objects), or a ResultSet object. Every of these classes has a getWarnings method, which you must invoke in order to see the first warning reported on the calling object