www.element4solution.com

e4s.db
Class E4DBException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by e4s.util.E4Exception
              extended by e4s.db.E4DBException
All Implemented Interfaces:
java.io.Serializable

public class E4DBException
extends E4Exception

Database specific error handling, including information about SQL statements causing the error.

Since:
JDK 1.4
See Also:
Serialized Form

Field Summary
 
Fields inherited from class e4s.util.E4Exception
ERR_CALLBACK_GENERAL, ERR_CALLBACK_NOT_UNIQUE, ERR_CGI_PARAMETERS, ERR_CLIENT_OBJ_FIELDLENGTH, ERR_CLIENT_OBJECT_MISSING, ERR_FIELD_FINAL, ERR_FIELD_NOT_STATIC, ERR_HTML_FRAMESET, ERR_INTERFACE_EXPECTED, ERR_JAVA_SCRIPT, ERR_MULTIPLE_DECLARATIONS, ERR_NO_METHODS_DECLARED, ERR_SESSION_OBJECT_MISSING, ERR_SQL, ERR_USER_OBJ_FIELDLENGTH
 
Constructor Summary
E4DBException(E4DBException sqle)
           
E4DBException(java.lang.Exception e)
           
E4DBException(java.lang.Exception e, java.lang.String detailed_txt)
           
E4DBException(int code, java.lang.String cause)
           
E4DBException(java.sql.SQLException sqle)
           
E4DBException(java.sql.SQLException sqle, java.lang.String detailed_txt)
           
E4DBException(java.lang.String cause)
           
E4DBException(java.lang.Throwable t)
           
E4DBException(java.lang.Throwable t, java.lang.String detailed_txt)
           
 
Method Summary
static java.lang.String _getSVNVersionString()
          Get version info string from subversion.
 java.lang.String getDetailedText()
           
 java.lang.String getSQLState()
           
 
Methods inherited from class e4s.util.E4Exception
Log
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

E4DBException

public E4DBException(java.lang.String cause)

E4DBException

public E4DBException(int code,
                     java.lang.String cause)

E4DBException

public E4DBException(java.sql.SQLException sqle)

E4DBException

public E4DBException(E4DBException sqle)

E4DBException

public E4DBException(java.lang.Throwable t)

E4DBException

public E4DBException(java.lang.Throwable t,
                     java.lang.String detailed_txt)

E4DBException

public E4DBException(java.lang.Exception e)

E4DBException

public E4DBException(java.lang.Exception e,
                     java.lang.String detailed_txt)

E4DBException

public E4DBException(java.sql.SQLException sqle,
                     java.lang.String detailed_txt)
Method Detail

getDetailedText

public java.lang.String getDetailedText()

getSQLState

public java.lang.String getSQLState()

_getSVNVersionString

public static java.lang.String _getSVNVersionString()
Get version info string from subversion.

Returns:
the version info string.
See Also:
E4Util.getRevisionCodeFromSVN(Class)

www.element4solution.com