|
| UT_ErrorManager () |
|
| ~UT_ErrorManager () |
|
| UT_ErrorManager (const UT_ErrorManager &)=delete |
|
UT_ErrorManager & | operator= (const UT_ErrorManager &)=delete |
|
UT_ErrorSeverity | addMessage (const char *type, int code, const char *msg=0, const UT_SourceLocation *loc=0) |
|
UT_ErrorSeverity | addPrompt (const char *type, int code, const char *msg=0, const UT_SourceLocation *loc=0) |
|
UT_ErrorSeverity | addWarning (const char *type, int code, const char *msg=0, const UT_SourceLocation *loc=0) |
|
UT_ErrorSeverity | addError (const char *type, int code, const char *msg=0, const UT_SourceLocation *loc=0) |
|
UT_ErrorSeverity | addFatal (const char *type, int code, const char *msg=0, const UT_SourceLocation *loc=0) |
|
UT_ErrorSeverity | sopAddMessage (int code, const char *msg=0, const UT_SourceLocation *loc=0) |
|
UT_ErrorSeverity | sopAddPrompt (int code, const char *msg=0, const UT_SourceLocation *loc=0) |
|
UT_ErrorSeverity | sopAddWarning (int code, const char *msg=0, const UT_SourceLocation *loc=0) |
|
UT_ErrorSeverity | sopAddError (int code, const char *msg=0, const UT_SourceLocation *loc=0) |
|
UT_ErrorSeverity | sopAddFatal (int code, const char *msg=0, const UT_SourceLocation *loc=0) |
|
UT_ErrorSeverity | systemError (const char *msg=0) |
|
UT_ErrorSeverity | systemWarning (const char *msg=0) |
|
UT_ErrorSeverity | commonWarning (UT_CommonErrorCode what, const char *msg=0) |
|
UT_ErrorSeverity | commonError (UT_CommonErrorCode what, const char *msg=0) |
|
UT_ErrorSeverity | commonMessage (UT_CommonErrorCode what, const char *msg=0) |
|
UT_ErrorSeverity | addDeadlockError () |
|
UT_ErrorSeverity | addGeneric (const char *type, int code, const char *msg, UT_ErrorSeverity sev, const UT_SourceLocation *loc=0) |
|
UT_ErrorSeverity | addGeneric (UT_Error *error) |
|
void | clearAndDestroyErrors () |
|
bool | isEmpty () const |
|
int | getNumErrors () const |
|
const UT_Error & | getError (int index) const |
|
int | stealErrors (UT_ErrorManager &victim, int rangestart=0, int rangeend=-1, UT_ErrorSeverity severity=UT_ERROR_NONE, bool borrow_only=false) |
|
int | removeError (int index) |
|
int | findError (const char *type, int code) const |
|
int | getErrorMessages (UT_String &messages, UT_ErrorSeverity severity=UT_ERROR_NONE, bool use_headers=true) |
|
UT_ErrorSeverity | getSeverity () |
|
bool | hasError () |
|
void | clampSeverity (UT_ErrorSeverity severity) |
|
UT_ErrorSeverity | getErrorState () |
|
void | pruneDuplicates () |
|
bool | isDisabled () const |
|
void | setDisabled (bool f) |
|
bool | isLogging () const |
|
void | setErrorLogging (bool f) |
|
UT_ErrorSeverity | updateSeverity (UT_ErrorSeverity sev) |
|
void | recomputeSeverity () |
|
bool | hasDeadlockError () const |
|
void | setUniversalLoggingContextFunction (UT_Function< UT_StringHolder()> context_fn) |
|
int64 | getMemoryUsage (bool inclusive) const |
|
exint | getVersion () const |
|
UT_ErrorList::const_iterator | begin () const |
|
UT_ErrorList::const_iterator | end () const |
|
| Scope (UT_ErrorManager &errors) |
|
| Scope (DelayTag) |
| Construct scope which has not begun yet. Call begin() to start. More...
|
|
| ~Scope () |
| Ends error scope if needed. More...
|
|
UT_ErrorManager & | getErrorManager () |
|
int | getThread () const |
|
UT_ErrorSeverity | getSeverity () |
|
void | setDisabled (bool f) |
|
int | getErrorMessages (UT_String &messages, UT_ErrorSeverity severity=UT_ERROR_NONE, bool use_headers=true) |
| Get error messages. More...
|
|
void | end () |
| Manually end the scope. Subsequent calls will do nothing. More...
|
|
|
| Scope () |
|
| Scope (int thread) |
|
|
void | begin () |
|
void | begin (int thread) |
|
A global error manager scope.
Definition at line 33 of file UT_ErrorManager.h.