Enhances Exception with additional mutable message buffer that gets reused
each time new message gets thrown.
This mutable buffer is only being used if Exception.msg is null and calling
ReusableException.enforce will reset it to null. Using ReusableException
as an instance to free form enforce function will assign to plain msg
field instead and temporarily shadow mutable one.
Enhances Exception with additional mutable message buffer that gets reused each time new message gets thrown.
This mutable buffer is only being used if Exception.msg is null and calling ReusableException.enforce will reset it to null. Using ReusableException as an instance to free form enforce function will assign to plain msg field instead and temporarily shadow mutable one.