Exceptions, Tracing and Utility Functions