Class DefaultSQLExceptionHandler

    • Constructor Detail

      • DefaultSQLExceptionHandler

        public DefaultSQLExceptionHandler​(java.util.logging.Logger logger)
    • Method Detail

      • setCustomHandler

        public static void setCustomHandler​(@Nullable
                                            @Nullable SQLExceptionHandler handler)
      • get

        @NotNull
        public static @NotNull SQLExceptionHandler get​(java.util.logging.Logger logger)
      • getLogger

        protected java.util.logging.Logger getLogger()
      • accept

        public void accept​(java.sql.SQLException exception,
                           SQLAction<?> sqlAction)
        Specified by:
        accept in interface java.util.function.BiConsumer<java.sql.SQLException,​SQLAction<?>>