Class WrappedQueryExecutionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
de.chojo.sqlutil.wrapper.exception.WrappedQueryExecutionException
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintError code of the exceptionSQL state of the exceptionMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
WrappedQueryExecutionException
-
-
Method Details
-
initCause
- Overrides:
initCausein classThrowable- Throws:
ClassCastException- If the throwable is not aSQLException
-
getSQLState
SQL state of the exception- Returns:
- sql state
-
getErrorCode
public int getErrorCode()Error code of the exception- Returns:
- error code
-
getMessage
- Overrides:
getMessagein classThrowable
-