Package de.businesscode.util.jdbc
Class SQLDetailException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.sql.SQLException
de.businesscode.util.jdbc.SQLDetailException
- All Implemented Interfaces:
Serializable
,Iterable<Throwable>
An exception with SQL details, which may not be save to be included in the message to the client
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionSQLDetailException
(String message, String sql, SQLException sqlException) SQLDetailException
(String message, SQLException sqlException) -
Method Summary
Methods inherited from class java.sql.SQLException
getErrorCode, getNextException, getSQLState, iterator, setNextException
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
SQLDetailException
- Parameters:
message
- explaining what happenedsqlException
- root cause
-
SQLDetailException
- Parameters:
message
- explaining what happenedsql
- which caused this exception, may be null if not availablesqlException
- root cause
-
-
Method Details
-
getMessage
- Overrides:
getMessage
in classThrowable
-