The exception class for general operation problems.
More...
List of all members.
Detailed Description
This class is purposed for various general operation problems. The errors can be thrown only by the methods of OperationCore class covering transaction processing as well as index updating. General error types are checksum mismatch, invalid content of repo file and so on. Downloading problems have their own exception class called CurlException.
- See also:
- OperationCore CurlException System Exception RpmException
Constructor & Destructor Documentation
OperationException::OperationException |
( |
int |
code | ) |
[inline] |
Member Function Documentation
int OperationException::getCode |
( |
| ) |
const [inline] |
Use this method to get error code.
- Returns:
- The error code
std::string OperationException::getType |
( |
| ) |
const [inline] |
Use this method to get type of exception (always "operation" by this class).
- Returns:
- The type of exception (always "operation")