If the exception is empty no compare should be done