Deepsolver
Public Member Functions
RpmException Class Reference
Inheritance diagram for RpmException:
DeepsolverException

List of all members.

Public Member Functions

std::string getMessage () const
 Returns a single line error description.
std::string getType () const
 Returns a string with error type.
 RpmException (const std::string &message)

Member Function Documentation

std::string RpmException::getMessage ( ) const [inline, virtual]

This method returns a single line string value with error description. Usually it is the value printed to user in error message. The value may not include error type since it can be obtained with getType() method.

Returns:
A single line error description

Implements DeepsolverException.

std::string RpmException::getType ( ) const [inline, virtual]

This method returns a short string with one or two words describing the error type. For example, this method can return values like "system", "rpm" etc. A value returned by this method usually is used for error message construction.

Returns:
A short string with error type description

Implements DeepsolverException.