org.springframework.jdbc
Class UncategorizedSQLException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byorg.springframework.core.NestedRuntimeException
                  extended byorg.springframework.dao.DataAccessException
                      extended byorg.springframework.dao.UncategorizedDataAccessException
                          extended byorg.springframework.jdbc.UncategorizedSQLException
All Implemented Interfaces:
java.io.Serializable

public class UncategorizedSQLException
extends UncategorizedDataAccessException

Exception thrown when we can't classify a SQLException into one of our generic data access exceptions.

Version:
$Id: UncategorizedSQLException.java,v 1.3 2004/03/18 02:46:16 trisberg Exp $
Author:
Rod Johnson
See Also:
Serialized Form

Constructor Summary
UncategorizedSQLException(java.lang.String msg, java.lang.String sql, java.sql.SQLException ex)
          Constructor for ConnectionFactoryException.
 
Method Summary
 java.lang.String getSql()
          Return the SQL that led to the problem.
 java.sql.SQLException getSQLException()
          Return the underlying SQLException.
 
Methods inherited from class org.springframework.core.NestedRuntimeException
getCause, getMessage, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UncategorizedSQLException

public UncategorizedSQLException(java.lang.String msg,
                                 java.lang.String sql,
                                 java.sql.SQLException ex)
Constructor for ConnectionFactoryException.

Parameters:
msg - message
sql - SQL we were tring to execute
ex - SQLException
Method Detail

getSQLException

public java.sql.SQLException getSQLException()
Return the underlying SQLException.


getSql

public java.lang.String getSql()
Return the SQL that led to the problem.



Copyright (C) 2003-2004 The Spring Framework Project.