ReusableException

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.

Constructors

this
this()

Constructor

Members

Mixins

__anonymous
mixin ReusableExceptionImplementation!()
Undocumented in source.

Meta