added missing 'previous' argument to exceptions