Save Stack Trace and Capture if javac Builds Fails