Deleted all error prints

This commit is contained in:
bs
2021-05-17 08:44:46 +02:00
parent 4d5ea6aa0a
commit f71cd953c5
5 changed files with 1 additions and 13 deletions
+1
View File
@@ -0,0 +1 @@
/target/
@@ -563,7 +563,6 @@ public class UICoordinator implements ChangeListener<Boolean>
catch (MalformedURLException e) catch (MalformedURLException e)
{ {
//do nth //do nth
e.printStackTrace();
} }
} }
@@ -79,7 +79,6 @@ public class ParsingWrapper
} }
catch (Exception e) catch (Exception e)
{ {
e.printStackTrace();
throw new WrappedException(e, Text.E_WRITE_TO_TEMP_FILES); throw new WrappedException(e, Text.E_WRITE_TO_TEMP_FILES);
} }
@@ -108,7 +107,6 @@ public class ParsingWrapper
} }
catch(Exception e) catch(Exception e)
{ {
e.printStackTrace();
//file couldn't be created due to exception //file couldn't be created due to exception
} }
if(!created) if(!created)
@@ -141,7 +139,6 @@ public class ParsingWrapper
} }
catch(Exception e) catch(Exception e)
{ {
e.printStackTrace();
//Problem with the file streams, Nothing a user could change so: //Problem with the file streams, Nothing a user could change so:
return null; return null;
} }
@@ -79,7 +79,6 @@ public class ReadHandler extends DefaultHandler
} catch (ParseException e) } catch (ParseException e)
{ {
dateOfBirth=null; dateOfBirth=null;
e.printStackTrace();
//do nth if parsing error //do nth if parsing error
} }
} }
@@ -128,13 +128,11 @@ public class WriteHandler extends DefaultHandler
{ {
errorMessages.append(e.getReason()); errorMessages.append(e.getReason());
errorMessages.append("\n"); errorMessages.append("\n");
e.getException().printStackTrace();
} }
catch (Exception e) catch (Exception e)
{ {
errorMessages.append(Text.E_CREATE_TEMP_FILES); errorMessages.append(Text.E_CREATE_TEMP_FILES);
errorMessages.append("\n"); errorMessages.append("\n");
e.printStackTrace();
} }
} }
@@ -207,7 +205,6 @@ public class WriteHandler extends DefaultHandler
} }
catch (ParseException e) catch (ParseException e)
{ {
e.printStackTrace();
// bad luck. Do nothing if parsing error // bad luck. Do nothing if parsing error
} }
} }
@@ -267,8 +264,6 @@ public class WriteHandler extends DefaultHandler
{ {
errorMessages.append(e.getReason()); errorMessages.append(e.getReason());
errorMessages.append("\n"); errorMessages.append("\n");
// TODO: alle prints entfernen
e.getException().printStackTrace();
} }
} }
@@ -377,7 +372,6 @@ public class WriteHandler extends DefaultHandler
{ {
errorMessages.append(Text.E_WRITE_TO_TEMP_FILES); errorMessages.append(Text.E_WRITE_TO_TEMP_FILES);
errorMessages.append("\n"); errorMessages.append("\n");
e.printStackTrace();
} }
} }
resetSubAttributes(); resetSubAttributes();
@@ -476,7 +470,6 @@ public class WriteHandler extends DefaultHandler
} }
catch (IOException e) catch (IOException e)
{ {
e.printStackTrace();
throw new WrappedException(e, Text.E_WRITE_TO_TEMP_FILES); throw new WrappedException(e, Text.E_WRITE_TO_TEMP_FILES);
} }
} }
@@ -501,7 +494,6 @@ public class WriteHandler extends DefaultHandler
} }
catch (IOException e) catch (IOException e)
{ {
e.printStackTrace();
throw new WrappedException(e, Text.E_WRITE_TO_TEMP_FILES); throw new WrappedException(e, Text.E_WRITE_TO_TEMP_FILES);
} }
} }