The SQLWarning objects are subclasses of SQLException. They are involved in dealings with database access warnings. Warning actually doesnít stop the execution of program, as oppose to exceptions. They inform users that few things which are not present in execution plan are happening.
E.g: A privilege revoked didnít revoke.An error occurred, during the requested disconnections.
A warning might be on: A connection objectA ResultSet objectA