You'll want to utilize the built-in line separator. The edge is usually that there's no need to problem what procedure you code is managing on, it will just work. Since Java 1.7Your 2nd case in point will reset the exception's stack trace. The primary most properly preserves the origins in the exception.which consequently features a hyperlink to a