Define variable for exception.