class Bundler::URI::File

def check_password(user)

raise InvalidURIError
def check_password(user)
  raise Bundler::URI::InvalidURIError, "can not set password for file Bundler::URI"
end