SQLException.SQLException
Class Overview | Class Members | 
  This Package | 
All Packages
 public SQLException( String reason,
                     String SQLState,
                     int vendorCode )
Parameters
-  reason 
-  a description of the exception
    
-  SQLState 
-  an XOPEN code identifying the exception
    
-  vendorCode 
-  a database vendor specific exception code
  
Description
 Construct a fully-specified SQLException
  
 public SQLException( String reason,
                     String SQLState )
Parameters
-  reason 
-  a description of the exception
    
-  SQLState 
-  an XOPEN code identifying the exception
  
Description
 Construct an SQLException with a reason and SQLState;
 vendorCode defaults to 0.
  
 public SQLException( String reason )
Parameters
-  reason 
-  a description of the exception
  
Description
 Construct an SQLException with a reason; SQLState defaults to
 null and vendorCode defaults to 0.
  
 public SQLException()
Description
 Construct an SQLException; reason defaults to null, SQLState
 defaults to null and vendorCode defaults to 0.