Log And Throw
26. Mai 2016 1 Kommentar zu Log And ThrowjQAssistant can be used to find antipatterns very efficiently in existing code bases. One nice example is „log and throw“: try { … } catch (AnyException e) { LOGGER.error("Something very suspicious happened.", e); throw new OtherException(e); } The snippet catches an execption,
Read more