59#define DEF_CTORS( CLASS, MSG ) \
60 CLASS::CLASS() : RepoException( MSG ) {} \
61 CLASS::CLASS( const std::string & msg_r ) : RepoException( msg_r ) {} \
62 CLASS::CLASS( const RepoInfo & service_r ) : RepoException( service_r, MSG ) {} \
63 CLASS::CLASS( const RepoInfo & service_r, const std::string & msg_r ) : RepoException( service_r, msg_r ) {}
110#define DEF_CTORS( CLASS, MSG ) \
111 CLASS::CLASS() : DEF_BASECLASS( MSG ) {} \
112 CLASS::CLASS( const std::string & msg_r ) : DEF_BASECLASS( msg_r ) {} \
113 CLASS::CLASS( const ServiceInfo & service_r ) : DEF_BASECLASS( service_r, MSG ) {} \
114 CLASS::CLASS( const ServiceInfo & service_r, const std::string & msg_r ) : DEF_BASECLASS( service_r, msg_r ) {}
116#define DEF_BASECLASS ServiceException
128#define DEF_BASECLASS ServicePluginException
#define DEF_CTORS(CLASS, MSG)
virtual std::ostream & dumpOn(std::ostream &str) const
Overload this to print a proper error message.
What is known about a repository.
Repository already exists and some unique attribute can't be duplicated.
~RepoException() override
std::ostream & dumpOn(std::ostream &str) const override
Overload this to print a proper error message.
Thrown when the repo alias is found to be invalid.
thrown when it was impossible to determine an alias for this repo.
thrown if the user has no permission to update(write) the caches.
thrown when it was impossible to determine one url for this repo.
The repository cache is not built yet so you can't create the repostories from the cache.
thrown when it was impossible to match a repository
thrown when it was impossible to determine this repo type.
Service already exists and some unique attribute can't be duplicated.
std::ostream & dumpOn(std::ostream &str) const override
Overload this to print a proper error message.
~ServiceException() override
Thrown when the repo alias is found to be invalid.
Service without alias was used in an operation.
Service has no or invalid url defined.
PLUGIN Service related exceptions.
Service plugin is immutable.
String related utilities and Regular expression matching.
Easy-to use interface to the ZYPP dependency resolver.