Save This Page
Home » apache-openjpa-1.1.0-source » org.apache.openjpa.lib » jdbc » [javadoc | source]
org.apache.openjpa.lib.jdbc
public class: ReportingSQLException [javadoc | source]
java.lang.Object
   java.lang.Throwable
      java.lang.Exception
         java.sql.SQLException
            org.apache.openjpa.lib.jdbc.ReportingSQLException

All Implemented Interfaces:
    Iterable, Serializable

A SQLException that contains information about the Statement SQL that caused the exception.
Constructor:
 public ReportingSQLException(SQLException sqle,
    String sql) 
 public ReportingSQLException(SQLException sqle,
    Statement stmnt) 
 public ReportingSQLException(SQLException sqle,
    Statement stmnt,
    String sql) 
Method from org.apache.openjpa.lib.jdbc.ReportingSQLException Summary:
getErrorCode,   getSQLState,   getStatement
Methods from java.sql.SQLException:
getErrorCode,   getNextException,   getSQLState,   iterator,   setNextException
Methods from java.lang.Throwable:
fillInStackTrace,   getCause,   getLocalizedMessage,   getMessage,   getStackTrace,   initCause,   printStackTrace,   printStackTrace,   printStackTrace,   setStackTrace,   toString
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.openjpa.lib.jdbc.ReportingSQLException Detail:
 public int getErrorCode() 
 public String getSQLState() 
 public Statement getStatement() 
    Returns the Statement that caused the exception.