Skip to content

Commit

Permalink
Deprecate ApplicationErrorJdbcException for removal (#393)
Browse files Browse the repository at this point in the history
Closes #390
  • Loading branch information
sleberknight authored Jul 31, 2024
1 parent f460b69 commit 6f10533
Showing 1 changed file with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@
import lombok.extern.slf4j.Slf4j;
import org.apache.commons.lang3.RandomStringUtils;
import org.checkerframework.checker.nullness.qual.Nullable;
import org.kiwiproject.base.KiwiDeprecated;
import org.kiwiproject.base.KiwiDeprecated.Severity;
import org.kiwiproject.dropwizard.error.model.ApplicationError;
import org.kiwiproject.dropwizard.error.model.DataStoreType;

Expand Down Expand Up @@ -231,7 +233,16 @@ public static ApplicationError mapFrom(ResultSet rs) throws SQLException {

/**
* Runtime exception wrapper around JDBC-related exceptions, e.g. {@link SQLException}.
*
* @deprecated replaced by UncheckedSQLException in kiwi 4.2.0
*/
@Deprecated(since = "2.2.0", forRemoval = true)
@KiwiDeprecated(
removeAt = "4.0.0",
replacedBy = "org.kiwiproject.jdbc.UncheckedSQLException",
reference = "https://github.com/kiwiproject/kiwi-test/issues/508",
usageSeverity = Severity.SEVERE
)
public static class ApplicationErrorJdbcException extends RuntimeException {
public ApplicationErrorJdbcException(Throwable cause) {
super(cause);
Expand Down

0 comments on commit 6f10533

Please sign in to comment.