Remove souts
This commit is contained in:
parent
f12e6ee2d0
commit
2ef8bc2a68
|
@ -28,7 +28,6 @@ public class FileNotFoundExceptionTest {
|
||||||
try {
|
try {
|
||||||
new File(fileName).createNewFile();
|
new File(fileName).createNewFile();
|
||||||
readFailingFile();
|
readFailingFile();
|
||||||
System.out.println("File was created and read.");
|
|
||||||
} catch (IOException ioe) {
|
} catch (IOException ioe) {
|
||||||
throw new RuntimeException("BusinessException: even creation is not possible.", ioe);
|
throw new RuntimeException("BusinessException: even creation is not possible.", ioe);
|
||||||
}
|
}
|
||||||
|
@ -41,7 +40,6 @@ public class FileNotFoundExceptionTest {
|
||||||
readFailingFile();
|
readFailingFile();
|
||||||
} catch (FileNotFoundException ex) {
|
} catch (FileNotFoundException ex) {
|
||||||
LOG.error("Optional file " + fileName + " was not found.", ex);
|
LOG.error("Optional file " + fileName + " was not found.", ex);
|
||||||
System.out.println("File was logged.");
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue