class to override default php exception handler
class name refactor