il.co.iter.dbdom
Class DBDOMSqlException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--il.co.iter.dbdom.DBDOMException
                          |
                          +--il.co.iter.dbdom.DBDOMSqlException
All Implemented Interfaces:
java.io.Serializable

public class DBDOMSqlException
extends DBDOMException

DOMSqlException is thrown when an error occures in a JDBC connection other than a DOMException. The original SQLException is accessible through the getSQLEception().

See Also:
Serialized Form

Fields inherited from class il.co.iter.dbdom.DBDOMException
rootException
 
Constructor Summary
DBDOMSqlException(java.sql.SQLException sqle)
          Constructs a DBDOMSqlException with no specified detailed message.
DBDOMSqlException(java.lang.String message, java.sql.SQLException sqle)
          Constructs a DBDOMSqlException with a specified detailed message.
 
Method Summary
 java.sql.SQLException getSQLException()
           
 
Methods inherited from class il.co.iter.dbdom.DBDOMException
printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DBDOMSqlException

public DBDOMSqlException(java.sql.SQLException sqle)
Constructs a DBDOMSqlException with no specified detailed message.
Parameters:
sqle - SQLException that caused this exception to be thrown

DBDOMSqlException

public DBDOMSqlException(java.lang.String message,
                         java.sql.SQLException sqle)
Constructs a DBDOMSqlException with a specified detailed message.
Parameters:
message - the specified detailed message.
sqle - SQLException that caused this exception to be thrown
Method Detail

getSQLException

public java.sql.SQLException getSQLException()
Returns:
a refernce to the SQLException that caused this exception to be thrown