Handled most of exceptions