Package com.vladmihalcea.sql.exception
Class SQLStatementCountMismatchException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Error
-
- java.lang.AssertionError
-
- com.vladmihalcea.sql.exception.SQLStatementCountMismatchException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
SQLDeleteCountMismatchException
,SQLInsertCountMismatchException
,SQLSelectCountMismatchException
,SQLUpdateCountMismatchException
public abstract class SQLStatementCountMismatchException extends AssertionError
SQLStatementCountMismatchException - Thrown whenever there is a mismatch between expected statements count and the ones being executed.- Author:
- Vlad Mihalcea
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
SQLStatementCountMismatchException(long expected, long recorded)
protected
SQLStatementCountMismatchException(String message, long expected, long recorded)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getExpected()
long
getRecorded()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
SQLStatementCountMismatchException
protected SQLStatementCountMismatchException(long expected, long recorded)
-
SQLStatementCountMismatchException
protected SQLStatementCountMismatchException(String message, long expected, long recorded)
-
-