libzypp
11.13.5
|
Invalid regular expression (failed ::regcomp). More...
#include <StrMatcher.h>
Public Member Functions | |
MatchInvalidRegexException (const std::string &msg_r) | |
Supplied message. | |
MatchInvalidRegexException (const std::string ®ex_r, int regcomp_r) | |
Build message including the regex and ::regcomp returncode (use 0 if unknown). | |
![]() | |
MatchException (const std::string &msg_r) | |
Supplied message. | |
![]() | |
Exception () | |
Default ctor. | |
Exception (const std::string &msg_r) | |
Ctor taking a message. | |
Exception (const std::string &msg_r, const Exception &history_r) | |
Ctor taking a message and an exception to remember as history. | |
virtual | ~Exception () throw () |
Dtor. | |
const CodeLocation & | where () const |
Return CodeLocation. | |
void | relocate (const CodeLocation &where_r) const |
Exchange location on rethrow. | |
const std::string & | msg () const |
Return the message string provided to the ctor. | |
std::string | asString () const |
Error message provided by dumpOn as string. | |
std::string | asUserString () const |
Translated error message as string suitable for the user. | |
void | remember (const Exception &old_r) |
Store an other Exception as history. | |
void | addHistory (const std::string &msg_r) |
Add some message text to the history. | |
HistoryIterator | historyBegin () const |
Iterator pointing to the most recent message. | |
HistoryIterator | historyEnd () const |
Iterator pointing behind the last message. | |
bool | historyEmpty () const |
Whether the history list is empty. | |
HistorySize | historySize () const |
The size of the history list. | |
std::string | historyAsString () const |
The history as string. | |
std::string | asUserHistory () const |
A single (multiline) string composed of asUserString and historyAsString. |
Invalid regular expression (failed ::regcomp).
Definition at line 275 of file StrMatcher.h.
|
inlineexplicit |
Supplied message.
Definition at line 278 of file StrMatcher.h.
zypp::MatchInvalidRegexException::MatchInvalidRegexException | ( | const std::string & | regex_r, |
int | regcomp_r | ||
) |
Build message including the regex and ::regcomp
returncode (use 0
if unknown).
Definition at line 155 of file StrMatcher.cc.