dekaf-inter/src/exceptions/UnexpectedDBException.java (15 lines of code) (raw):

package org.jetbrains.dekaf.inter.exceptions; import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.Nullable; import java.sql.SQLException; /** * Unknown database error. */ public final class UnexpectedDBException extends DBException { public UnexpectedDBException(@NotNull final SQLException sqlException, @Nullable String statementText) { super(sqlException, statementText); } public UnexpectedDBException(@NotNull final String message, @NotNull final Exception exception, @Nullable String statementText) { super(message, exception, statementText); } }