From 140d3aad3ed82ad9ba851afe9a58d2a23b1bb8eb Mon Sep 17 00:00:00 2001 From: Struchkov Mark Date: Thu, 10 Feb 2022 22:27:03 +0300 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=B8=D0=BB=20Su?= =?UTF-8?q?pplier=20=D0=B4=D0=BB=D1=8F=20=D0=B8=D1=81=D0=BA=D0=BB=D1=8E?= =?UTF-8?q?=D1=87=D0=B5=D0=BD=D0=B8=D1=8F=20FilterJooqHaitiException?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../filter/jooq/exception/FilterJooqHaitiException.java | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/main/java/dev/struchkov/haiti/filter/jooq/exception/FilterJooqHaitiException.java b/src/main/java/dev/struchkov/haiti/filter/jooq/exception/FilterJooqHaitiException.java index 049e617..8746108 100644 --- a/src/main/java/dev/struchkov/haiti/filter/jooq/exception/FilterJooqHaitiException.java +++ b/src/main/java/dev/struchkov/haiti/filter/jooq/exception/FilterJooqHaitiException.java @@ -1,20 +1,18 @@ package dev.struchkov.haiti.filter.jooq.exception; -import dev.struchkov.haiti.filter.exception.FilterException; +import dev.struchkov.haiti.context.exception.BasicException; import java.text.MessageFormat; import java.util.function.Supplier; -public class FilterJooqHaitiException extends FilterException { +public class FilterJooqHaitiException extends BasicException { public FilterJooqHaitiException(String message) { super(message); } public static Supplier filterJooqException(String message, Object... objects) { - return () -> { - return new FilterJooqHaitiException(MessageFormat.format(message, objects)); - }; + return () -> new FilterJooqHaitiException(MessageFormat.format(message, objects)); } }