Add ActionInvalid exception and handler.