Reverted change of expected exception.