12#ifndef ZYPP_REPO_REPOEXCEPTION_H
13#define ZYPP_REPO_REPOEXCEPTION_H
18#include <zypp/base/Exception.h>
19#include <zypp-core/base/UserRequestException>
53 virtual std::ostream &
dumpOn( std::ostream &
str )
const;
191 virtual std::ostream &
dumpOn( std::ostream &
str )
const;
Base class for Exception.
What is known about a repository.
Repository already exists and some unique attribute can't be duplicated.
RepoAlreadyExistsException(const RepoInfo &info, const std::string &msg_r)
RepoAlreadyExistsException(const std::string &msg_r)
RepoAlreadyExistsException()
RepoAlreadyExistsException(const RepoInfo &info)
Exception for repository handling.
virtual std::ostream & dumpOn(std::ostream &str) const
Overload this to print a proper error message.
std::string alias() const
unique identifier for this source.
Thrown when the repo alias is found to be invalid.
RepoInvalidAliasException()
RepoInvalidAliasException(const RepoInfo &info, const std::string &msg_r)
RepoInvalidAliasException(const std::string &msg_r)
RepoInvalidAliasException(const RepoInfo &info)
thrown when it was impossible to determine an alias for this repo.
RepoNoAliasException(const RepoInfo &info)
RepoNoAliasException(const std::string &msg_r)
RepoNoAliasException(const RepoInfo &info, const std::string &msg_r)
thrown when it was impossible to determine one url for this repo.
RepoNoUrlException(const RepoInfo &info)
RepoNoUrlException(const RepoInfo &info, const std::string &msg_r)
RepoNoUrlException(const std::string &msg_r)
The repository cache is not built yet so you can't create the repostories from the cache.
RepoNotCachedException(const std::string &msg_r)
RepoNotCachedException(const RepoInfo &info, const std::string &msg_r)
RepoNotCachedException(const RepoInfo &info)
thrown when it was impossible to match a repository
RepoNotFoundException(const std::string &msg_r)
RepoNotFoundException(const RepoInfo &info, const std::string &msg_r)
RepoNotFoundException(const RepoInfo &info)
thrown when it was impossible to determine this repo type.
RepoUnknownTypeException(const RepoInfo &info)
RepoUnknownTypeException()
RepoUnknownTypeException(const std::string &msg_r)
RepoUnknownTypeException(const RepoInfo &info, const std::string &msg_r)
Service already exists and some unique attribute can't be duplicated.
ServiceAlreadyExistsException(const ServiceInfo &service_r, const std::string &msg_r)
ServiceAlreadyExistsException(const ServiceInfo &service_r)
ServiceAlreadyExistsException(const std::string &msg_r)
ServiceAlreadyExistsException()
Base Exception for service handling.
virtual std::ostream & dumpOn(std::ostream &str) const
Overload this to print a proper error message.
virtual ~ServiceException()
Thrown when the repo alias is found to be invalid.
ServiceInvalidAliasException(const ServiceInfo &info, const std::string &msg_r)
ServiceInvalidAliasException()
ServiceInvalidAliasException(const ServiceInfo &info)
ServiceInvalidAliasException(const std::string &msg_r)
Service without alias was used in an operation.
ServiceNoAliasException(const ServiceInfo &service_r, const std::string &msg_r)
ServiceNoAliasException(const ServiceInfo &service_r)
ServiceNoAliasException()
ServiceNoAliasException(const std::string &msg_r)
Service has no or invalid url defined.
ServiceNoUrlException(const std::string &msg_r)
ServiceNoUrlException(const ServiceInfo &service_r, const std::string &msg_r)
ServiceNoUrlException(const ServiceInfo &service_r)
PLUGIN Service related exceptions.
ServicePluginException(const ServiceInfo &service_r, const std::string &msg_r)
ServicePluginException(const ServiceInfo &service_r)
ServicePluginException(const std::string &msg_r)
Service plugin is immutable.
ServicePluginImmutableException(const ServiceInfo &service_r, const std::string &msg_r)
ServicePluginImmutableException(const ServiceInfo &service_r)
ServicePluginImmutableException()
ServicePluginImmutableException(const std::string &msg_r)
String related utilities and Regular expression matching.
Easy-to use interface to the ZYPP dependency resolver.