public SQLException(Throwable theCause){
  this(theCause == null ? null : theCause.toString(),null,0,theCause);
}

public SQLException ( Throwable theCause ) { this ( theCause == null ? null : theCause . toString ( ) , null , 0 , theCause ) ; }
creates an sqlexception object . the reason string is set to the null if cause = = null or cause . tostring ( ) if cause ! = null , and the cause throwable object is set to the given cause throwable object .
