public SQLWarning getSQLWarning()
{
SQLWarning sqlw = new SQLWarning(getMessage(), getSQLState(),
getErrorCode());
sqlw.initCause(this);
// Set up the nextException chain
if ( nextWarning_ != null )
{
// The exception chain gets constructed automatically through