Added javadocs and management for failure methods trace