Adds an SQLException object to the end of the chain.
SQLException
Parameters:
ex
See also: getNextException
Diagram: Exceptions