From d1937acb1423a7c76331bad83758d3d56d5ecf45 Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Mon, 24 Aug 2015 14:41:54 +0200 Subject: [PATCH] =?utf8?q?Use=20logException()=20Signed-off-by:Roland=20H?= =?utf8?q?=C3=A4der=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/org/mxchange/jcore/BaseFrameworkSystem.java | 2 +- .../database/backend/base64/Base64CsvDatabaseBackend.java | 4 ++-- .../mxchange/jcore/model/swing/contact/ContactTableModel.java | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/org/mxchange/jcore/BaseFrameworkSystem.java b/src/org/mxchange/jcore/BaseFrameworkSystem.java index d3e7e92..45cd77a 100644 --- a/src/org/mxchange/jcore/BaseFrameworkSystem.java +++ b/src/org/mxchange/jcore/BaseFrameworkSystem.java @@ -275,7 +275,7 @@ public class BaseFrameworkSystem implements FrameworkInterface { */ protected final void abortProgramWithException (final Throwable throwable) { // Log exception ... - this.getLogger().catching(throwable); + this.logException(throwable); // .. and exit System.exit(1); diff --git a/src/org/mxchange/jcore/database/backend/base64/Base64CsvDatabaseBackend.java b/src/org/mxchange/jcore/database/backend/base64/Base64CsvDatabaseBackend.java index 09587ae..e96886c 100644 --- a/src/org/mxchange/jcore/database/backend/base64/Base64CsvDatabaseBackend.java +++ b/src/org/mxchange/jcore/database/backend/base64/Base64CsvDatabaseBackend.java @@ -360,7 +360,7 @@ public class Base64CsvDatabaseBackend extends BaseDatabaseBackend implements Dat isEof = (this.getStorageFile().getFilePointer() >= this.length()); } catch (final IOException ex) { // Length cannot be determined - this.getLogger().catching(ex); + this.logException(ex); } // Return status @@ -413,7 +413,7 @@ public class Base64CsvDatabaseBackend extends BaseDatabaseBackend implements Dat // Convert to string input = new String(decoded).trim(); } catch (final IOException ex) { - this.getLogger().catching(ex); + this.logException(ex); } // Trace message diff --git a/src/org/mxchange/jcore/model/swing/contact/ContactTableModel.java b/src/org/mxchange/jcore/model/swing/contact/ContactTableModel.java index 1ed727d..9638240 100644 --- a/src/org/mxchange/jcore/model/swing/contact/ContactTableModel.java +++ b/src/org/mxchange/jcore/model/swing/contact/ContactTableModel.java @@ -84,7 +84,7 @@ public class ContactTableModel extends BaseModel implements TableModel { return manager.size(); } catch (final IOException ex) { // Log warning - this.getLogger().catching(ex); + this.logException(ex); // Return zero return 0; -- 2.39.5