add specific exception type for variables