register exception if tracing object is avaiable