Consider using StringBuilder objects wherever you accumulate strings (e.g. for "exceptionString" variable).