railo.runtime.exp
Class DatabaseException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by javax.servlet.jsp.JspException
              extended by railo.runtime.exp.PageException
                  extended by railo.runtime.exp.PageExceptionImpl
                      extended by railo.runtime.exp.DatabaseException
All Implemented Interfaces:
Serializable, Dumpable, IPageException

public final class DatabaseException
extends PageExceptionImpl

Database Exception Object

See Also:
Serialized Form

Constructor Summary
DatabaseException(SQLException sqle, DatasourceConnection dc)
          Constructor of the class
DatabaseException(SQLException sqle, SQL sql, DatasourceConnection dc)
          Constructor of the class
DatabaseException(String message, SQLException sqle, SQL sql, DatasourceConnection dc)
          Constructor of the class
DatabaseException(String message, String detail, SQLException sqle, SQL sql, DatasourceConnection dc)
          Constructor of the class
 
Method Summary
 CatchBlock getCatchBlock(Config config)
           
 
Methods inherited from class railo.runtime.exp.PageExceptionImpl
addContext, getAddional, getAdditional, getCatchBlock, getCatchBlock, getCustomTypeAsString, getDetail, getErrorBlock, getErrorCode, getExtendedInfo, getLine, getPageDeep, getRootCause, getStackTrace, getStackTraceAsString, getTagContext, getTagContext, getTracePointer, getTypeAsString, printStackTrace, printStackTrace, printStackTrace, setAdditional, setDetail, setErrorCode, setExtendedInfo, setTracePointer, toDumpData, typeEqual
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DatabaseException

public DatabaseException(String message,
                         String detail,
                         SQLException sqle,
                         SQL sql,
                         DatasourceConnection dc)
Constructor of the class

Parameters:
message - error message
detail - detailed error message
sqle -
sql -
dc -

DatabaseException

public DatabaseException(String message,
                         SQLException sqle,
                         SQL sql,
                         DatasourceConnection dc)
Constructor of the class

Parameters:
message -
sqle -
sql -

DatabaseException

public DatabaseException(SQLException sqle,
                         SQL sql,
                         DatasourceConnection dc)
Constructor of the class

Parameters:
sqle -
sql -

DatabaseException

public DatabaseException(SQLException sqle,
                         DatasourceConnection dc)
Constructor of the class

Parameters:
sqle -
Method Detail

getCatchBlock

public CatchBlock getCatchBlock(Config config)
Overrides:
getCatchBlock in class PageExceptionImpl


Copyright © 2012 Railo