Create a default ServiceException and fold in the modifiers (i.
Create a default ServiceException and fold in the modifiers (i.e. to add a source/client endpoint).
Log an exception to the specified scribe endpoint.
Log an exception to the specified scribe endpoint.
See top level comment for this class for more details on performance implications.
Add a modifier to append a client address (i.
Add a modifier to append a client address (i.e. endpoint) to a generated ServiceException.
The endpoint string is the ip address of the host (e.g. "127.0.0.1").
Add a modifier to append a source address (i.
Add a modifier to append a source address (i.e. endpoint) to a generated ServiceException.
The endpoint string is the ip of the host concatenated with the port of the socket (e.g. "127.0.0.1:8080"). This is retained for orthogonality of exterior interfaces. We use the host name internaly.
An implementation of ExceptionReceiver custom to the chickadee reporting service.
Optionally logs stats to a statsReceiver if desired.
Note that this implementation does not guarantee that a logged exception will be received by the configured scribe endpoint because it just drops a failed message and does not retry. This is because it is intended to log to a local (i.e. on the same machine) scribe daemon, in which case there should be no network failure. If there is failure in this case, something else is very wrong!