Fix indentation
Move the methods to create ExceptionWithStackTraces in ExceptionWithStackTrace
Ensure that chained exceptions are sent in the right order