Make using exception in addActionWithChecking