Browse Source

Deleted all error prints

betaFixes
Bianca Mac 4 years ago
parent
commit
f71cd953c5
  1. 1
      health_data_export/.gitignore
  2. 1
      health_data_export/src/application/UICoordinator.java
  3. 3
      health_data_export/src/application/parsing/ParsingWrapper.java
  4. 1
      health_data_export/src/application/parsing/ReadHandler.java
  5. 8
      health_data_export/src/application/parsing/WriteHandler.java

1
health_data_export/.gitignore

@ -0,0 +1 @@
/target/

1
health_data_export/src/application/UICoordinator.java

@ -563,7 +563,6 @@ public class UICoordinator implements ChangeListener<Boolean>
catch (MalformedURLException e)
{
//do nth
e.printStackTrace();
}
}

3
health_data_export/src/application/parsing/ParsingWrapper.java

@ -79,7 +79,6 @@ public class ParsingWrapper
}
catch (Exception e)
{
e.printStackTrace();
throw new WrappedException(e, Text.E_WRITE_TO_TEMP_FILES);
}
@ -108,7 +107,6 @@ public class ParsingWrapper
}
catch(Exception e)
{
e.printStackTrace();
//file couldn't be created due to exception
}
if(!created)
@ -141,7 +139,6 @@ public class ParsingWrapper
}
catch(Exception e)
{
e.printStackTrace();
//Problem with the file streams, Nothing a user could change so:
return null;
}

1
health_data_export/src/application/parsing/ReadHandler.java

@ -79,7 +79,6 @@ public class ReadHandler extends DefaultHandler
} catch (ParseException e)
{
dateOfBirth=null;
e.printStackTrace();
//do nth if parsing error
}
}

8
health_data_export/src/application/parsing/WriteHandler.java

@ -128,13 +128,11 @@ public class WriteHandler extends DefaultHandler
{
errorMessages.append(e.getReason());
errorMessages.append("\n");
e.getException().printStackTrace();
}
catch (Exception e)
{
errorMessages.append(Text.E_CREATE_TEMP_FILES);
errorMessages.append("\n");
e.printStackTrace();
}
}
@ -207,7 +205,6 @@ public class WriteHandler extends DefaultHandler
}
catch (ParseException e)
{
e.printStackTrace();
// bad luck. Do nothing if parsing error
}
}
@ -267,8 +264,6 @@ public class WriteHandler extends DefaultHandler
{
errorMessages.append(e.getReason());
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("\n");
e.printStackTrace();
}
}
resetSubAttributes();
@ -476,7 +470,6 @@ public class WriteHandler extends DefaultHandler
}
catch (IOException e)
{
e.printStackTrace();
throw new WrappedException(e, Text.E_WRITE_TO_TEMP_FILES);
}
}
@ -501,7 +494,6 @@ public class WriteHandler extends DefaultHandler
}
catch (IOException e)
{
e.printStackTrace();
throw new WrappedException(e, Text.E_WRITE_TO_TEMP_FILES);
}
}

Loading…
Cancel
Save