]> git.mxchange.org Git - jcore.git/commitdiff
Use logException()
authorRoland Haeder <roland@mxchange.org>
Mon, 24 Aug 2015 12:41:54 +0000 (14:41 +0200)
committerRoland Haeder <roland@mxchange.org>
Mon, 24 Aug 2015 12:41:54 +0000 (14:41 +0200)
Signed-off-by:Roland Häder <roland@mxchange.org>

src/org/mxchange/jcore/BaseFrameworkSystem.java
src/org/mxchange/jcore/database/backend/base64/Base64CsvDatabaseBackend.java
src/org/mxchange/jcore/model/swing/contact/ContactTableModel.java

index d3e7e924b58b390505cffcfafe12cd6a6c5352eb..45cd77a891aae7560d4cbdf2d083ab2b0bc31dc3 100644 (file)
@@ -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);
index 09587ae3afd8d181493c93f499f204999f33c7e3..e96886c220b763ea6a555665990d111f02564511 100644 (file)
@@ -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
index 1ed727d01e4f5763decd63d3e693bb2ab16ad203..9638240073e7fe62e7c05669f5e21b31cb7d98a4 100644 (file)
@@ -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;