functionality for exception reporting.