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

List of all members.

Public Member Functions

const std::string & getArg () const
int getCode () const
std::string getMessage () const
 Returns the single line error description.
std::string getType () const
 Returns the string with error type.
 TaskException (int code, const std::string &arg)

Member Function Documentation

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

This method returns the 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:
The single line error description

Implements DeepsolverException.

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

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

Returns:
The short string with error type description

Implements DeepsolverException.