Description of changes:
This code removes ReflectionToStringBuilder which is not supported on Java17 and uses PrintWriter to serialize the throwable stack trace instead.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Issue #, if available:
Description of changes: This code removes ReflectionToStringBuilder which is not supported on Java17 and uses PrintWriter to serialize the throwable stack trace instead.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.