catch IllegalArgumentException in resource controller and add in comment.