package com.jessieamorris.httpserver.exceptions;

/**
 * Created by jessie.
 */
public class InternalServerException extends HttpException {
	public InternalServerException(Exception e) {
		this.httpStatusCode = 500;
		this.httpStatusMessage = "Internal Server Error";

		this.httpBody = e.toString();
	}
}

@@ -285,21 +285,152 @@
 y = 
-e.toString();
+%22%22;%0A%09%09StackTraceElement%5B%5D stack = e.getStackTrace();%0A%09%09for (StackTraceElement s : stack) %7B%0A%09%09%09httpBody = httpBody + s.toString() + %22%5Cn%5Ct%5Ct%22;%0A%09%09%7D
 %0A%09%7D%0A

Improve stack trace outputs.