Package org.apache.empire.db.exceptions
Class EmpireSQLException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.empire.exceptions.EmpireException
org.apache.empire.db.exceptions.EmpireSQLException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
QueryFailedException,StatementFailedException
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.empire.exceptions.EmpireException
EmpireException.ExceptionMessageFormatter -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedEmpireSQLException(ErrorType type, String[] params, int nativeErrorIndex, SQLException cause) EmpireSQLException(DBObject obj, SQLException cause) EmpireSQLException(DBMSHandler dbms, SQLException cause) -
Method Summary
Modifier and TypeMethodDescriptionprotected static DBMSHandlerprotected static StringmessageFromSQLException(DBMSHandler dbms, SQLException sqle) Methods inherited from class org.apache.empire.exceptions.EmpireException
formatErrorMessage, getErrorParams, getErrorType, getMessageFormatter, log, setMessageFormatterMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
errorType
-
-
Constructor Details
-
EmpireSQLException
-
EmpireSQLException
-
EmpireSQLException
protected EmpireSQLException(ErrorType type, String[] params, int nativeErrorIndex, SQLException cause)
-
-
Method Details
-
messageFromSQLException
-
handlerFromObject
-
getNativeErrorMessage
-