Package wbs.utils.exceptions
Class WbsDatabaseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
wbs.utils.exceptions.WbsDatabaseException
- All Implemented Interfaces:
Serializable
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionWbsDatabaseException(@NotNull SQLException e, @NotNull String query) WbsDatabaseException(String message) -
Method Summary
Modifier and TypeMethodDescriptionaddQueryException(@NotNull SQLException e, @NotNull String query) forEach(BiConsumer<SQLException, String> consumer) @Nullable StringgetQuery()Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
WbsDatabaseException
public WbsDatabaseException() -
WbsDatabaseException
-
WbsDatabaseException
-
-
Method Details
-
addQueryException
public WbsDatabaseException addQueryException(@NotNull @NotNull SQLException e, @NotNull @NotNull String query) -
getAllWrapped
-
getQuery
-
getQueries
-
getQueryExceptions
-
forEach
-