Save This Page
Home » spring-framework-2.5.6-with-dependencies » org.springframework » jdbc » [javadoc | source]
org.springframework.jdbc
public class: UncategorizedSQLException [javadoc | source]
java.lang.Object
   java.lang.Throwable
      java.lang.Exception
         java.lang.RuntimeException
            org.springframework.core.NestedRuntimeException
               org.springframework.dao.DataAccessException
                  org.springframework.dao.NonTransientDataAccessException
                     org.springframework.dao.UncategorizedDataAccessException
                        org.springframework.jdbc.UncategorizedSQLException

All Implemented Interfaces:
    Serializable

Exception thrown when we can't classify a SQLException into one of our generic data access exceptions.
Constructor:
 public UncategorizedSQLException(String task,
    String sql,
    SQLException ex) 
    Constructor for UncategorizedSQLException.
    Parameters:
    task - name of current task
    sql - the offending SQL statement
    ex - the root cause
Method from org.springframework.jdbc.UncategorizedSQLException Summary:
getSQLException,   getSql
Methods from org.springframework.core.NestedRuntimeException:
contains,   getMessage,   getMostSpecificCause,   getRootCause
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.springframework.jdbc.UncategorizedSQLException Detail:
 public SQLException getSQLException() 
    Return the underlying SQLException.
 public String getSql() 
    Return the SQL that led to the problem.