add reportException method
fix API