NCBI C++ ToolKit
|
Macros | |
#define | THROWS_NONE |
Do not use 'throw' dynamic exception specification for C++11 compilers. More... | |
#define | THROWS(x) |
#define | ABORT_ON_THROW "ABORT_ON_THROW" |
ABORT_ON_THROW controls if program should be aborted. More... | |
#define | RETHROW_TRACE |
Rethrow trace. More... | |
#define | THROW_TRACE_SIMPLE(exception_object) |
Throw trace. More... | |
#define | THROW_TRACE_ARGS(exception_class, ...) |
Throw trace. More... | |
#define | THROW0_TRACE(exception_object) |
Throw trace. More... | |
#define | THROW0p_TRACE(exception_object) |
Throw trace. More... | |
#define | THROW0np_TRACE(exception_object) |
Throw trace. More... | |
#define | THROW1_TRACE(exception_class, exception_arg) |
Throw trace. More... | |
#define | THROW1p_TRACE(exception_class, exception_arg) |
Throw trace. More... | |
#define | THROW1np_TRACE(exception_class, exception_arg) |
Throw trace. More... | |
#define | THROW_TRACE(exception_class, exception_args) |
Throw trace. More... | |
#define | THROWp_TRACE(exception_class, exception_args) |
Throw trace. More... | |
#define | THROWnp_TRACE(exception_class, exception_args) |
Throw trace. More... | |
#define | STD_CATCH(message) |
Standard handling of "exception"-derived exceptions. More... | |
#define | STD_CATCH_ALL(message) |
Standard handling of "exception"-derived exceptions; catches non-standard exceptions and generates "unknown exception" for all other exceptions. More... | |
#define | NCBI_CATCH(message) |
Catch CExceptions as well This macro is deprecated - use *_X or *_XX variant instead of it. More... | |
#define | NCBI_CATCH_ALL(message) |
This macro is deprecated - use *_X or *_XX variant instead of it. More... | |
#define | STD_CATCH_X(err_subcode, message) STD_CATCH_XX(NCBI_USE_ERRCODE_X, err_subcode, message) |
Standard handling of "exception"-derived exceptions with default error code and given error subcode placed in diagnostics. More... | |
#define | STD_CATCH_ALL_X(err_subcode, message) STD_CATCH_ALL_XX(NCBI_USE_ERRCODE_X, err_subcode, message) |
Standard handling of "exception"-derived exceptions; catches non-standard exceptions and generates "unknown exception" for all other exceptions. More... | |
#define | NCBI_CATCH_X(err_subcode, message) NCBI_CATCH_XX(NCBI_USE_ERRCODE_X, err_subcode, message) |
Catch CExceptions as well with default error code and given error subcode placed in diagnostics. More... | |
#define | NCBI_CATCH_ALL_X(err_subcode, message) NCBI_CATCH_ALL_XX(NCBI_USE_ERRCODE_X, err_subcode, message) |
#define | STD_CATCH_XX(err_name, err_subcode, message) |
Standard handling of "exception"-derived exceptions with given error code name and given error subcode placed in diagnostics. More... | |
#define | STD_CATCH_ALL_XX(err_name, err_subcode, message) |
Standard handling of "exception"-derived exceptions; catches non-standard exceptions and generates "unknown exception" for all other exceptions. More... | |
#define | NCBI_CATCH_XX(err_name, err_subcode, message) |
Catch CExceptions as well with given error code name and given error subcode placed in diagnostics. More... | |
#define | NCBI_CATCH_ALL_XX(err_name, err_subcode, message) |
#define | FORMAT(message) NCBI_NS_NCBI::CNcbiOstrstreamToString(static_cast<NCBI_NS_NCBI::CNcbiOstrstream&>(NCBI_NS_NCBI::CNcbiOstrstream().flush() << message)) |
Format message using iostreams library. More... | |
#define | NCBI_EXCEPTION_VAR_EX(name, prev_exception_ptr, exception_class, err_code, message) |
Create an exception instance to be thrown later, given the exception class, previous exception pointer, error code and message string. More... | |
#define | NCBI_EXCEPTION_VAR(name, exception_class, err_code, message) NCBI_EXCEPTION_VAR_EX(name, 0, exception_class, err_code, message) |
Create an instance of the exception to be thrown later. More... | |
#define | NCBI_EXCEPTION_THROW(exception_var) throw (exception_var) |
Throw an existing exception object. More... | |
#define | NCBI_EXCEPTION_EMPTY_NAME |
#define | NCBI_EXCEPTION(exception_class, err_code, message) |
Generic macro to make an exception, given the exception class, error code and message string. More... | |
#define | NCBI_THROW(exception_class, err_code, message) |
Generic macro to throw an exception, given the exception class, error code and message string. More... | |
#define | NCBI_USER_THROW(message) NCBI_THROW(NCBI_NS_NCBI::CException, eUnknown, message) |
Throw a quick-and-dirty runtime exception of type 'CException' with the given error message and error code 'eUnknown'. More... | |
#define | NCBI_THROW_FMT(exception_class, err_code, message) NCBI_THROW(exception_class, err_code, FORMAT(message)) |
The same as NCBI_THROW but with message processed as output to ostream. More... | |
#define | NCBI_USER_THROW_FMT(message) NCBI_THROW_FMT(NCBI_NS_NCBI::CException, eUnknown, message) |
Throw a "user exception" with message processed as output to ostream. More... | |
#define | NCBI_EXCEPTION_EX(prev_exception, exception_class, err_code, message) |
Generic macro to make an exception, given the exception class, previous exception, error code and message string. More... | |
#define | NCBI_RETHROW(prev_exception, exception_class, err_code, message) |
Generic macro to re-throw an exception. More... | |
#define | NCBI_RETHROW_FMT(prev_exception, exception_class, err_code, message) NCBI_RETHROW(prev_exception, exception_class, err_code, FORMAT(message)) |
The same as NCBI_RETHROW but with message processed as output to ostream. More... | |
#define | NCBI_RETHROW_SAME(prev_exception, message) |
Generic macro to re-throw the same exception. More... | |
#define | NCBI_REPORT_EXCEPTION(title, ex) |
Generate a report on the exception. More... | |
#define | NCBI_REPORT_EXCEPTION_X(err_subcode, title, ex) NCBI_REPORT_EXCEPTION_XX(NCBI_USE_ERRCODE_X, err_subcode, title, ex) |
Generate a report on the exception with default error code and given subcode. More... | |
#define | NCBI_REPORT_EXCEPTION_XX(err_name, err_subcode, title, ex) |
Generate a report on the exception with default error code and given subcode. More... | |
#define | NCBI_EXCEPTION_DEFAULT_THROW(exception_class) |
#define | NCBI_EXCEPTION_DEFAULT_IMPLEMENTATION_COMMON(exception_class, base_class) |
#define | NCBI_EXCEPTION_DEFAULT_IMPLEMENTATION(exception_class, base_class) |
Helper macro for default exception implementation. More... | |
#define | NCBI_EXCEPTION_DEFAULT(exception_class, base_class) |
To help declare new exception class. More... | |
#define | NCBI_EXCEPTION_DEFAULT_IMPLEMENTATION_TEMPL(exception_class, base_class) |
Helper macro added to support templatized exceptions. More... | |
#define | NCBI_EXCEPTION_DEFAULT_IMPLEMENTATION_TEMPL_ERRNO(exception_class, base_class) |
Helper macro added to support errno based templatized exceptions. More... | |
#define | EXCEPTION_VIRTUAL_BASE |
Do not use virtual base classes in exception declaration at all, because in this case derived class should initialize all base classes directly, that is not convenient and hard to control. More... | |
#define | NCBI_ERRNO_CODE_WRAPPER NCBI_NS_NCBI::NcbiErrnoCode |
#define | NCBI_ERRNO_STR_WRAPPER NCBI_NS_NCBI::NcbiErrnoStr |
#define | NCBI_LASTERROR_CODE_WRAPPER NCBI_NS_NCBI::CLastErrorAdapt::GetErrCode |
#define | NCBI_LASTERROR_STR_WRAPPER NCBI_NS_NCBI::CLastErrorAdapt::GetErrCodeString |
#define | NCBI_EXCEPTION2_VAR(name, exception_class, err_code, message, extra) |
Create an instance of the exception with one additional parameter. More... | |
#define | NCBI_EXCEPTION2(exception_class, err_code, message, extra) |
Generic macro to make an exception with one additional parameter, given the exception class, error code and message string. More... | |
#define | NCBI_THROW2(exception_class, err_code, message, extra) throw NCBI_EXCEPTION2(exception_class, err_code, message, extra) |
Throw exception with extra parameter. More... | |
#define | NCBI_RETHROW2(prev_exception, exception_class, err_code, message, extra) |
Re-throw exception with extra parameter. More... | |
#define | NCBI_EXCEPTION_DEFAULT2(exception_class, base_class, extra_type) |
Define exception default with one additional parameter. More... | |
#define | ISNAN_CONSTEXPR |
#define | isnan bool_isnan |
#define | finite _finite |
Define value of finite (Is Finite). More... | |
#define ABORT_ON_THROW "ABORT_ON_THROW" |
ABORT_ON_THROW controls if program should be aborted.
Definition at line 80 of file ncbiexpt.hpp.
#define EXCEPTION_VIRTUAL_BASE |
Do not use virtual base classes in exception declaration at all, because in this case derived class should initialize all base classes directly, that is not convenient and hard to control.
Definition at line 1388 of file ncbiexpt.hpp.
#define finite _finite |
Define value of finite (Is Finite).
Checks whether given double-precision floating point value is finite
Definition at line 109 of file ncbifloat.h.
#define FORMAT | ( | message | ) | NCBI_NS_NCBI::CNcbiOstrstreamToString(static_cast<NCBI_NS_NCBI::CNcbiOstrstream&>(NCBI_NS_NCBI::CNcbiOstrstream().flush() << message)) |
Format message using iostreams library.
This macro returns an object convertible to std::string.
Definition at line 672 of file ncbiexpt.hpp.
#define isnan bool_isnan |
Definition at line 89 of file ncbifloat.h.
#define ISNAN_CONSTEXPR |
Definition at line 76 of file ncbifloat.h.
#define NCBI_CATCH | ( | message | ) |
Catch CExceptions as well This macro is deprecated - use *_X or *_XX variant instead of it.
Definition at line 580 of file ncbiexpt.hpp.
#define NCBI_CATCH_ALL | ( | message | ) |
This macro is deprecated - use *_X or *_XX variant instead of it.
Definition at line 587 of file ncbiexpt.hpp.
#define NCBI_CATCH_ALL_X | ( | err_subcode, | |
message | |||
) | NCBI_CATCH_ALL_XX(NCBI_USE_ERRCODE_X, err_subcode, message) |
Definition at line 619 of file ncbiexpt.hpp.
#define NCBI_CATCH_ALL_XX | ( | err_name, | |
err_subcode, | |||
message | |||
) |
Definition at line 660 of file ncbiexpt.hpp.
#define NCBI_CATCH_X | ( | err_subcode, | |
message | |||
) | NCBI_CATCH_XX(NCBI_USE_ERRCODE_X, err_subcode, message) |
Catch CExceptions as well with default error code and given error subcode placed in diagnostics.
Definition at line 615 of file ncbiexpt.hpp.
#define NCBI_CATCH_XX | ( | err_name, | |
err_subcode, | |||
message | |||
) |
Catch CExceptions as well with given error code name and given error subcode placed in diagnostics.
Definition at line 653 of file ncbiexpt.hpp.
#define NCBI_ERRNO_CODE_WRAPPER NCBI_NS_NCBI::NcbiErrnoCode |
Definition at line 1529 of file ncbiexpt.hpp.
#define NCBI_ERRNO_STR_WRAPPER NCBI_NS_NCBI::NcbiErrnoStr |
Definition at line 1530 of file ncbiexpt.hpp.
#define NCBI_EXCEPTION | ( | exception_class, | |
err_code, | |||
message | |||
) |
Generic macro to make an exception, given the exception class, error code and message string.
Definition at line 695 of file ncbiexpt.hpp.
#define NCBI_EXCEPTION2 | ( | exception_class, | |
err_code, | |||
message, | |||
extra | |||
) |
Generic macro to make an exception with one additional parameter, given the exception class, error code and message string.
Definition at line 1746 of file ncbiexpt.hpp.
#define NCBI_EXCEPTION2_VAR | ( | name, | |
exception_class, | |||
err_code, | |||
message, | |||
extra | |||
) |
Create an instance of the exception with one additional parameter.
Definition at line 1740 of file ncbiexpt.hpp.
#define NCBI_EXCEPTION_DEFAULT | ( | exception_class, | |
base_class | |||
) |
To help declare new exception class.
This can be used ONLY if the derived class does not have any additional (non-standard) data members.
Definition at line 1315 of file ncbiexpt.hpp.
#define NCBI_EXCEPTION_DEFAULT2 | ( | exception_class, | |
base_class, | |||
extra_type | |||
) |
Define exception default with one additional parameter.
Required to define exception default with one additional parameter (e.g. derived from CParseException).
Definition at line 1770 of file ncbiexpt.hpp.
#define NCBI_EXCEPTION_DEFAULT_IMPLEMENTATION | ( | exception_class, | |
base_class | |||
) |
Helper macro for default exception implementation.
Definition at line 1300 of file ncbiexpt.hpp.
#define NCBI_EXCEPTION_DEFAULT_IMPLEMENTATION_COMMON | ( | exception_class, | |
base_class | |||
) |
Definition at line 1272 of file ncbiexpt.hpp.
#define NCBI_EXCEPTION_DEFAULT_IMPLEMENTATION_TEMPL | ( | exception_class, | |
base_class | |||
) |
Helper macro added to support templatized exceptions.
GCC starting from 3.2.2 warns about implicit typenames - this macro fixes the warning.
Definition at line 1356 of file ncbiexpt.hpp.
#define NCBI_EXCEPTION_DEFAULT_IMPLEMENTATION_TEMPL_ERRNO | ( | exception_class, | |
base_class | |||
) |
Helper macro added to support errno based templatized exceptions.
Definition at line 1365 of file ncbiexpt.hpp.
#define NCBI_EXCEPTION_DEFAULT_THROW | ( | exception_class | ) |
Definition at line 1265 of file ncbiexpt.hpp.
#define NCBI_EXCEPTION_EMPTY_NAME |
Definition at line 691 of file ncbiexpt.hpp.
#define NCBI_EXCEPTION_EX | ( | prev_exception, | |
exception_class, | |||
err_code, | |||
message | |||
) |
Generic macro to make an exception, given the exception class, previous exception, error code and message string.
Definition at line 729 of file ncbiexpt.hpp.
#define NCBI_EXCEPTION_THROW | ( | exception_var | ) | throw (exception_var) |
Throw an existing exception object.
Definition at line 688 of file ncbiexpt.hpp.
#define NCBI_EXCEPTION_VAR | ( | name, | |
exception_class, | |||
err_code, | |||
message | |||
) | NCBI_EXCEPTION_VAR_EX(name, 0, exception_class, err_code, message) |
Create an instance of the exception to be thrown later.
Definition at line 684 of file ncbiexpt.hpp.
#define NCBI_EXCEPTION_VAR_EX | ( | name, | |
prev_exception_ptr, | |||
exception_class, | |||
err_code, | |||
message | |||
) |
Create an exception instance to be thrown later, given the exception class, previous exception pointer, error code and message string.
Definition at line 678 of file ncbiexpt.hpp.
#define NCBI_LASTERROR_CODE_WRAPPER NCBI_NS_NCBI::CLastErrorAdapt::GetErrCode |
Definition at line 1555 of file ncbiexpt.hpp.
#define NCBI_LASTERROR_STR_WRAPPER NCBI_NS_NCBI::CLastErrorAdapt::GetErrCodeString |
Definition at line 1557 of file ncbiexpt.hpp.
#define NCBI_REPORT_EXCEPTION | ( | title, | |
ex | |||
) |
Generate a report on the exception.
Definition at line 755 of file ncbiexpt.hpp.
#define NCBI_REPORT_EXCEPTION_X | ( | err_subcode, | |
title, | |||
ex | |||
) | NCBI_REPORT_EXCEPTION_XX(NCBI_USE_ERRCODE_X, err_subcode, title, ex) |
Generate a report on the exception with default error code and given subcode.
Definition at line 761 of file ncbiexpt.hpp.
#define NCBI_REPORT_EXCEPTION_XX | ( | err_name, | |
err_subcode, | |||
title, | |||
ex | |||
) |
Generate a report on the exception with default error code and given subcode.
Definition at line 766 of file ncbiexpt.hpp.
#define NCBI_RETHROW | ( | prev_exception, | |
exception_class, | |||
err_code, | |||
message | |||
) |
Generic macro to re-throw an exception.
The err_code argument may include manipulators to set additional options, e.g. eMyErrCode | Console | Severity(eDiag_Info). In any case the error code value must be the first in the combination.
Definition at line 737 of file ncbiexpt.hpp.
#define NCBI_RETHROW2 | ( | prev_exception, | |
exception_class, | |||
err_code, | |||
message, | |||
extra | |||
) |
Re-throw exception with extra parameter.
Required to re-throw exceptions with one additional parameter (e.g. positional information for CParseException).
Definition at line 1761 of file ncbiexpt.hpp.
#define NCBI_RETHROW_FMT | ( | prev_exception, | |
exception_class, | |||
err_code, | |||
message | |||
) | NCBI_RETHROW(prev_exception, exception_class, err_code, FORMAT(message)) |
The same as NCBI_RETHROW but with message processed as output to ostream.
Definition at line 745 of file ncbiexpt.hpp.
#define NCBI_RETHROW_SAME | ( | prev_exception, | |
message | |||
) |
Generic macro to re-throw the same exception.
Definition at line 749 of file ncbiexpt.hpp.
#define NCBI_THROW | ( | exception_class, | |
err_code, | |||
message | |||
) |
Generic macro to throw an exception, given the exception class, error code and message string.
The err_code argument may include manipulators to set additional options, e.g. eMyErrCode | Console | Severity(eDiag_Info). In any case the error code value must be the first in the combination.
Definition at line 704 of file ncbiexpt.hpp.
#define NCBI_THROW2 | ( | exception_class, | |
err_code, | |||
message, | |||
extra | |||
) | throw NCBI_EXCEPTION2(exception_class, err_code, message, extra) |
Throw exception with extra parameter.
Required to throw exceptions with one additional parameter (e.g. positional information for CParseException).
Definition at line 1754 of file ncbiexpt.hpp.
#define NCBI_THROW_FMT | ( | exception_class, | |
err_code, | |||
message | |||
) | NCBI_THROW(exception_class, err_code, FORMAT(message)) |
The same as NCBI_THROW but with message processed as output to ostream.
Definition at line 719 of file ncbiexpt.hpp.
#define NCBI_USER_THROW | ( | message | ) | NCBI_THROW(NCBI_NS_NCBI::CException, eUnknown, message) |
Throw a quick-and-dirty runtime exception of type 'CException' with the given error message and error code 'eUnknown'.
This macro is intended for use only in stand-alone applications. Library APIs should properly declare their specific exception types.
Definition at line 715 of file ncbiexpt.hpp.
#define NCBI_USER_THROW_FMT | ( | message | ) | NCBI_THROW_FMT(NCBI_NS_NCBI::CException, eUnknown, message) |
Throw a "user exception" with message processed as output to ostream.
See NCBI_USER_THROW for details.
Definition at line 724 of file ncbiexpt.hpp.
#define RETHROW_TRACE |
Rethrow trace.
Reason for do {...} while in macro definition is to permit a natural syntax usage when a user wants to write something like:
if (expression) RETHROW_TRACE; else do_something_else;
Example:
Definition at line 120 of file ncbiexpt.hpp.
#define STD_CATCH | ( | message | ) |
Standard handling of "exception"-derived exceptions.
This macro is deprecated - use *_X or *_XX variant instead of it.
Definition at line 560 of file ncbiexpt.hpp.
#define STD_CATCH_ALL | ( | message | ) |
Standard handling of "exception"-derived exceptions; catches non-standard exceptions and generates "unknown exception" for all other exceptions.
This macro is deprecated - use *_X or *_XX variant instead of it.
Definition at line 570 of file ncbiexpt.hpp.
#define STD_CATCH_ALL_X | ( | err_subcode, | |
message | |||
) | STD_CATCH_ALL_XX(NCBI_USE_ERRCODE_X, err_subcode, message) |
Standard handling of "exception"-derived exceptions; catches non-standard exceptions and generates "unknown exception" for all other exceptions.
With default error code and given error subcode placed in diagnostics
Definition at line 608 of file ncbiexpt.hpp.
#define STD_CATCH_ALL_XX | ( | err_name, | |
err_subcode, | |||
message | |||
) |
Standard handling of "exception"-derived exceptions; catches non-standard exceptions and generates "unknown exception" for all other exceptions.
With given error code name and given error subcode placed in diagnostics
Definition at line 640 of file ncbiexpt.hpp.
#define STD_CATCH_X | ( | err_subcode, | |
message | |||
) | STD_CATCH_XX(NCBI_USE_ERRCODE_X, err_subcode, message) |
Standard handling of "exception"-derived exceptions with default error code and given error subcode placed in diagnostics.
Default error code is used and error subcode checking for correctness is made in same way as in ERR_POST_X macro.
Definition at line 600 of file ncbiexpt.hpp.
#define STD_CATCH_XX | ( | err_name, | |
err_subcode, | |||
message | |||
) |
Standard handling of "exception"-derived exceptions with given error code name and given error subcode placed in diagnostics.
Definition at line 626 of file ncbiexpt.hpp.
#define THROW0_TRACE | ( | exception_object | ) |
Throw trace.
Combines diagnostic message trace and exception throwing. First the diagnostic message is printed, and then exception is thrown.
Argument can be a simple string, or an exception object printed using what() method.
Program may abort if so set by SetThrowTraceAbort() or $ABORT_ON_THROW.
Example:
Definition at line 364 of file ncbiexpt.hpp.
#define THROW0np_TRACE | ( | exception_object | ) |
Throw trace.
Combines diagnostic message trace and exception throwing. First the diagnostic message is printed, and then exception is thrown.
Argument can be any object; its name is printed.
Program may abort if so set by SetThrowTraceAbort() or $ABORT_ON_THROW.
Example:
Definition at line 400 of file ncbiexpt.hpp.
#define THROW0p_TRACE | ( | exception_object | ) |
Throw trace.
Combines diagnostic message trace and exception throwing. First the diagnostic message is printed, and then exception is thrown.
Argument can be any printable object; that is, any object with a defined output operator.
Program may abort if so set by SetThrowTraceAbort() or $ABORT_ON_THROW.
Example:
Definition at line 383 of file ncbiexpt.hpp.
#define THROW1_TRACE | ( | exception_class, | |
exception_arg | |||
) |
Throw trace.
Combines diagnostic message trace and exception throwing. First the diagnostic message is printed, and then exception is thrown.
Arguments can be any exception class with the specified initialization argument. The class argument need not be derived from std::exception but must have what() method used for output.
Program may abort if so set by SetThrowTraceAbort() or $ABORT_ON_THROW.
Example:
Definition at line 417 of file ncbiexpt.hpp.
#define THROW1np_TRACE | ( | exception_class, | |
exception_arg | |||
) |
Throw trace.
Combines diagnostic message trace and exception throwing. First the diagnostic message is printed, and then exception is thrown.
Arguments can be any exception class with the specified initialization argument. The class argument need not be derived from std::exception, class name is printed.
Program may abort if so set by SetThrowTraceAbort() or $ABORT_ON_THROW.
Example:
Definition at line 453 of file ncbiexpt.hpp.
#define THROW1p_TRACE | ( | exception_class, | |
exception_arg | |||
) |
Throw trace.
Combines diagnostic message trace and exception throwing. First the diagnostic message is printed, and then exception is thrown.
Arguments can be any exception class with the specified initialization argument. The class argument need not be derived from std::exception but must have stream output operator defined.
Program may abort if so set by SetThrowTraceAbort() or $ABORT_ON_THROW.
Example:
Definition at line 436 of file ncbiexpt.hpp.
#define THROW_TRACE | ( | exception_class, | |
exception_args | |||
) |
Throw trace.
Combines diagnostic message trace and exception throwing. First the diagnostic message is printed, and then exception is thrown.
Arguments can be any exception class with the specified initialization argument. The class argument need not be derived from std::exception but must have what() method used for output.
Program may abort if so set by SetThrowTraceAbort() or $ABORT_ON_THROW.
Similar to THROW1_TRACE except that the exception class can have multiple initialization arguments instead of just one.
Example:
Definition at line 477 of file ncbiexpt.hpp.
#define THROW_TRACE_ARGS | ( | exception_class, | |
... | |||
) |
Throw trace.
Combines diagnostic message trace and exception throwing. First the diagnostic message is printed, and then exception is thrown. Program may abort if so set by SetThrowTraceAbort() or $ABORT_ON_THROW.
Arguments can be any class with the specified initialization arguments.
Example:
Definition at line 269 of file ncbiexpt.hpp.
#define THROW_TRACE_SIMPLE | ( | exception_object | ) |
Throw trace.
Combines diagnostic message trace and exception throwing. First the diagnostic message is printed, and then exception is thrown. Program may abort if so set by SetThrowTraceAbort() or $ABORT_ON_THROW.
Example:
Definition at line 246 of file ncbiexpt.hpp.
#define THROWnp_TRACE | ( | exception_class, | |
exception_args | |||
) |
Throw trace.
Combines diagnostic message trace and exception throwing. First the diagnostic message is printed, and then exception is thrown.
Arguments can be any exception class with the specified initialization argument. The class argument need not be derived from std::exception, class name is printed.
Program may abort if so set by SetThrowTraceAbort() or $ABORT_ON_THROW.
Similar to THROW1np_TRACE except that the exception class can have multiple initialization arguments instead of just one.
Example:
Definition at line 519 of file ncbiexpt.hpp.
#define THROWp_TRACE | ( | exception_class, | |
exception_args | |||
) |
Throw trace.
Combines diagnostic message trace and exception throwing. First the diagnostic message is printed, and then exception is thrown.
Arguments can be any exception class with the specified initialization argument. The class argument need not be derived from std::exception but must have stream output operator defined.
Program may abort if so set by SetThrowTraceAbort() or $ABORT_ON_THROW.
Similar to THROW1p_TRACE except that the exception class can have multiple initialization arguments instead of just one.
Example:
Definition at line 499 of file ncbiexpt.hpp.
#define THROWS | ( | x | ) |
Definition at line 75 of file ncbiexpt.hpp.
#define THROWS_NONE |
Do not use 'throw' dynamic exception specification for C++11 compilers.
Define THROWS macros for C++ exception specification.
Define use of C++ exception specification mechanism: "f(void) throw();" <== "f(void) THROWS_NONE;" "g(void) throw(e1,e2);" <== "f(void) THROWS((e1,e2));"
Definition at line 74 of file ncbiexpt.hpp.
typedef CErrnoTemplExceptionEx<TBase, NCBI_NS_NCBI::NcbiErrnoCode , NCBI_NS_NCBI::NcbiErrnoStr > CErrnoTemplException< TBase >::CParent |
Parent class type.
Definition at line 1684 of file ncbiexpt.hpp.
typedef CErrnoTemplExceptionEx<TBase, NCBI_NS_NCBI::CLastErrorAdapt::GetErrCode , NCBI_NS_NCBI::CLastErrorAdapt::GetErrCodeString > CErrnoTemplException_Win< TBase >::CParent |
Parent class type.
Definition at line 1714 of file ncbiexpt.hpp.
typedef void(* FExceptionArgsManip) (CExceptionArgs_Base &) |
Definition at line 826 of file ncbiexpt.hpp.
typedef int CException::TErrCode |
Definition at line 889 of file ncbiexpt.hpp.
typedef int CCoreException::TErrCode |
Definition at line 1493 of file ncbiexpt.hpp.
typedef int CInvalidParamException::TErrCode |
Definition at line 1516 of file ncbiexpt.hpp.
typedef int CErrnoTemplExceptionEx< TBase, PErrCode, PErrStr >::TErrCode |
Definition at line 1627 of file ncbiexpt.hpp.
typedef int CErrnoTemplException< TBase >::TErrCode |
Definition at line 1693 of file ncbiexpt.hpp.
typedef int CErrnoTemplException_Win< TBase >::TErrCode |
Definition at line 1723 of file ncbiexpt.hpp.
typedef int CExceptionArgs_Base::TErrCodeVal |
Definition at line 784 of file ncbiexpt.hpp.
typedef int(* TErrorCode) (void) |
Define function type for "error code" function.
Definition at line 1570 of file ncbiexpt.hpp.
Define function type for "error str" function.
Definition at line 1573 of file ncbiexpt.hpp.
|
private |
Definition at line 1125 of file ncbiexpt.hpp.
typedef int CExceptionArgs_Base::TFlags |
Definition at line 785 of file ncbiexpt.hpp.
typedef int CException::TFlags |
Definition at line 902 of file ncbiexpt.hpp.
Definition at line 786 of file ncbiexpt.hpp.
using has_no_output_operator_impl< T >::type = typename is_same<bool, decltype(check<T>(declval<T>()))>::type |
Definition at line 147 of file ncbiexpt.hpp.
Error code category.
Enumerator | |
---|---|
eGeneric | |
eNcbi | |
eMsWindows |
Definition at line 144 of file ncbierror.hpp.
enum CNcbiError::ECode |
Definition at line 53 of file ncbierror.hpp.
enum CException::EErrCode |
Error types that an application can generate.
Each derived class has its own error codes and their interpretations. Define two generic error codes "eInvalid" and "eUnknown" to be used by all NCBI applications.
Enumerator | |
---|---|
eInvalid | To be used ONLY as a return value; please, NEVER throw an exception with this code. |
eUnknown | Unknown exception. |
Definition at line 884 of file ncbiexpt.hpp.
Error types that corelib can generate.
These generic error conditions can occur for corelib applications.
Enumerator | |
---|---|
eCore | Generic corelib error. |
eNullPtr | Null pointer error. |
eDll | Dll error. |
eDiagFilter | Illegal syntax of the diagnostics filter string. |
eInvalidArg | Invalid argument error. |
Definition at line 1481 of file ncbiexpt.hpp.
Enumerator | |
---|---|
eUndefined | Parameter is missing/undefined. |
eInvalidCharacter | Parameter value contains invalid character. |
Definition at line 1507 of file ncbiexpt.hpp.
enum CErrnoTemplExceptionEx::EErrCode |
Error type that an application can generate.
Enumerator | |
---|---|
eErrno | Error code. |
Definition at line 1589 of file ncbiexpt.hpp.
enum CException::EFlags |
Miscellaneous generic hints, flags and attributes.
Definition at line 892 of file ncbiexpt.hpp.
void CException::AddBacklog | ( | const CDiagCompileInfo & | info, |
const string & | message, | ||
EDiagSev | severity = eDiag_Error |
||
) |
Add a message to backlog (to re-throw the same exception then).
Definition at line 274 of file ncbiexpt.cpp.
References info, CException::m_MainText, CException::m_Predecessor, prev(), CException::x_Clone(), and CException::x_Init().
Referenced by CNetServProtoParserBase::ParseCommand().
void CException::AddPrevious | ( | const CException * | prev_exception | ) |
Definition at line 301 of file ncbiexpt.cpp.
References CException::m_MainText, CException::m_Predecessor, next(), prev(), and CException::x_Clone().
Referenced by CQueryImpl::PurgeResults().
Definition at line 288 of file ncbiexpt.cpp.
References CException::GetMsg(), CException::m_Msg, CException::m_Predecessor, and NULL.
Referenced by CCassQuery::FieldGetBoolValue(), CCassQuery::FieldGetContainerValue(), CCassQuery::FieldGetFloatValue(), CCassQuery::FieldGetInt16Value(), CCassQuery::FieldGetInt32Value(), CCassQuery::FieldGetInt64Value(), CCassQuery::FieldGetInt8Value(), CCassQuery::FieldGetMapValue(), CCassQuery::FieldGetSetValues(), CCassQuery::FieldGetStrValue(), CCassQuery::FieldGetTupleValue(), and SNetCacheAPIImpl::GetPartReader().
BEGIN_NAMESPACE | ( | ncbi_throw_trace | ) |
|
inline |
Definition at line 80 of file ncbifloat.h.
References isnan.
|
inline |
Definition at line 79 of file ncbifloat.h.
References isnan.
|
inline |
Definition at line 81 of file ncbifloat.h.
References isnan.
|
inline |
Get error code category.
Definition at line 154 of file ncbierror.hpp.
References CNcbiError::m_Category.
Referenced by operator<<().
|
inline |
Definition at line 1493 of file ncbiexpt.hpp.
|
inline |
Definition at line 1493 of file ncbiexpt.hpp.
|
inlineprotected |
Definition at line 1493 of file ncbiexpt.hpp.
|
inline |
Definition at line 1493 of file ncbiexpt.hpp.
|
inlineprotected |
Definition at line 1493 of file ncbiexpt.hpp.
|
inlineprotected |
Definition at line 1696 of file ncbiexpt.hpp.
|
inline |
Constructor.
Definition at line 1687 of file ncbiexpt.hpp.
|
inline |
Definition at line 1693 of file ncbiexpt.hpp.
|
inlineprotected |
Definition at line 1693 of file ncbiexpt.hpp.
|
inlineprotected |
Definition at line 1726 of file ncbiexpt.hpp.
|
inline |
Constructor.
Definition at line 1717 of file ncbiexpt.hpp.
|
inline |
Definition at line 1723 of file ncbiexpt.hpp.
|
inlineprotected |
Definition at line 1723 of file ncbiexpt.hpp.
|
inlineprotected |
Constructor (with errno only).
It is unable to get correct error code after all base constructors initialization, that can reset it, so error code should be provided as parameter.
Definition at line 1645 of file ncbiexpt.hpp.
|
inline |
Copy constructor.
Definition at line 1604 of file ncbiexpt.hpp.
|
inlineprotected |
Default constructor.
Definition at line 1656 of file ncbiexpt.hpp.
CException::CException | ( | const CDiagCompileInfo & | info, |
const CException * | prev_exception, | ||
const CExceptionArgs< EErrCode > & | args, | ||
const string & | message | ||
) |
Definition at line 214 of file ncbiexpt.cpp.
References abort(), CompareDiagPostLevel(), eDiag_Critical, info, CException::m_MainText, CException::m_Severity, s_AbortIfCritical, CException::x_Init(), and CException::x_InitArgs().
|
protected |
Constructor for derived classes.
Definition at line 192 of file ncbiexpt.cpp.
References abort(), CompareDiagPostLevel(), eDiag_Critical, info, CException::m_MainText, s_AbortIfCritical, and CException::x_Init().
CException::CException | ( | const CDiagCompileInfo & | info, |
const CException * | prev_exception, | ||
EErrCode | err_code, | ||
const string & | message, | ||
EDiagSev | severity = eDiag_Error , |
||
TFlags | flags = 0 |
||
) |
Constructor.
When throwing an exception initially, "prev_exception" must be 0.
Definition at line 169 of file ncbiexpt.cpp.
References abort(), CompareDiagPostLevel(), eDiag_Critical, info, CException::m_MainText, s_AbortIfCritical, and CException::x_Init().
CException::CException | ( | const CException & | other | ) |
|
protected |
Constructor with no arguments.
Required in case of multiple inheritance.
Definition at line 244 of file ncbiexpt.cpp.
Referenced by CException::GetErrCode(), and CException::x_Clone().
|
inline |
Definition at line 845 of file ncbiexpt.hpp.
References CExceptionArgs_Base::SetErrCodeVal().
|
inline |
Definition at line 788 of file ncbiexpt.hpp.
|
inline |
Definition at line 832 of file ncbiexpt.hpp.
CExceptionReporter::CExceptionReporter | ( | void | ) |
Constructor.
Definition at line 608 of file ncbiexpt.cpp.
CExceptionReporterStream::CExceptionReporterStream | ( | ostream & | out | ) |
Constructor.
Definition at line 707 of file ncbiexpt.cpp.
|
static |
|
static |
|
inline |
Definition at line 1516 of file ncbiexpt.hpp.
|
inlineprotected |
Definition at line 1516 of file ncbiexpt.hpp.
|
inline |
Definition at line 1516 of file ncbiexpt.hpp.
|
inline |
Definition at line 1516 of file ncbiexpt.hpp.
|
inlineprotected |
Definition at line 1516 of file ncbiexpt.hpp.
|
inline |
Copy constructor.
Definition at line 169 of file ncbierror.hpp.
|
protected |
Definition at line 66 of file ncbierror.cpp.
CNcbiError::ECode CNcbiError::Code | ( | void | ) | const |
Get error code.
Definition at line 77 of file ncbierror.cpp.
References CNcbiError::eAddressFamilyNotSupported, CNcbiError::eAddressInUse, CNcbiError::eAddressNotAvailable, CNcbiError::eAlreadyConnected, CNcbiError::eBrokenPipe, CNcbiError::eConnectionAborted, CNcbiError::eConnectionAlreadyInProgress, CNcbiError::eConnectionRefused, CNcbiError::eConnectionReset, CNcbiError::eDestinationAddressRequired, CNcbiError::eDirectoryNotEmpty, CNcbiError::eExecutableFormatError, CNcbiError::eFileExists, CNcbiError::eFilenameTooLong, CNcbiError::eHostUnreachable, CNcbiError::eInterrupted, CNcbiError::eInvalidArgument, CNcbiError::eMessageSize, CNcbiError::eNetworkDown, CNcbiError::eNetworkReset, CNcbiError::eNetworkUnreachable, CNcbiError::eNoBufferSpace, CNcbiError::eNoProtocolOption, CNcbiError::eNoSpaceOnDevice, CNcbiError::eNoSuchFileOrDirectory, CNcbiError::eNotASocket, CNcbiError::eNotConnected, CNcbiError::eNotEnoughMemory, CNcbiError::eNotSet, CNcbiError::eNotSupported, CNcbiError::eOperationInProgress, CNcbiError::eOperationNotSupported, CNcbiError::eOperationWouldBlock, CNcbiError::ePermissionDenied, CNcbiError::eProtocolNotSupported, CNcbiError::eTimedOut, CNcbiError::eTooManyFilesOpen, CNcbiError::eTooManySymbolicLinkLevels, CNcbiError::eUnknown, CNcbiError::eWrongProtocolType, CNcbiError::m_Code, and CNcbiError::m_Native.
Referenced by operator<<(), CNcbiError::operator==(), CTar::x_Append(), CTar::x_ExtractEntry(), CTar::x_ProcessEntry(), and CTar::x_RestoreAttrs().
|
inline |
Definition at line 1173 of file ncbiexpt.hpp.
References CException::fConsole, CExceptionArgs_Base::GetFlags(), and CExceptionArgs_Base::SetFlags().
|
inline |
Definition at line 1203 of file ncbiexpt.hpp.
References eDiag_Critical, and CExceptionArgs_Base::SetSeverity().
Referenced by CThreadPool_Impl::Abort(), CPSGS_Dispatcher::AddProcessor(), CNcbiApplicationAPI::AppMain(), CAV_DisplayMultiple(), CNCBlobStorage::CheckDiskSpace(), CServer_ConnectionPool::CloseConnection(), CNcbiApplicationAPI::CNcbiApplicationAPI(), CSrvSocketTask::Connect(), CObjectMemoryPool::Delete(), DisableSuppressSystemMessageBox(), DoSocketWait(), CRecNoSaver::ExecuteSlice(), CNCBlobStorage::GetDiskFree(), CNCBlobStorage::GetFullBlobsList(), CUnixFeature::GetGroupGIDByName(), CUnixFeature::GetGroupNameByGID(), CTaskServer::GetHostByIP(), CTaskServer::GetIPByHost(), CSrvSocketTask::GetLocalPort(), CNCBlobStorage::GetMaxSyncLogRecNo(), CNCDistributionConf::GetSlotByNetCacheKey(), CUnixFeature::GetUserNameByUID(), CUnixFeature::GetUserUIDByName(), CNcbiRegistry::IncludeNcbircIfAllowed(), CNCSyncLog::Initialize(), CNCDistributionConf::Initialize(), InitSocketsMan(), CCompoundRWRegistry::LoadBaseRegistries(), CRemoteBlast::LoadFromArchive(), LogCallback(), CMainLoopThread::Main(), main(), CNCMMCentral::PrepareToStop(), CNCBlobStorage::ReadChunkData(), CSearchHelper::ReadModFiles(), CGBDataLoader::RegisterInObjectManager(), CDbapiSimpleApp::RetrieveData(), SGridWorkerNodeImpl::Run(), CNetScheduleDApp::Run(), CNetStorageDApp::Run(), CPubseqGatewayApp::Run(), CSrvTask::RunAfter(), CNCMMCentral::RunLateInit(), s_CloseSocket(), s_ConvertSeverity(), s_ConvertTaskResult(), s_CreateListeningSocket(), s_CreateNewFile(), s_DeleteDBFile(), s_FireTimers(), s_Init(), s_Initialize(), s_LoadConfFile(), s_LockFileMem(), s_LockInstanceGuard(), s_MapFile(), s_OpenIndexDB(), s_ProcessListenError(), s_ProcessListenEvent(), s_ProcessParameters(), s_ReadConfiguration(), s_ReadHeader(), s_ReadServerParams(), s_ReadStorageParams(), s_SetSocketNonBlock(), s_SetSocketOptions(), s_SetSocketQuickAck(), s_StartThread(), s_StopCurMgrThread(), ScanForCpGs(), CRWStreambuf::setbuf(), CConn_Streambuf::setbuf(), CSrvSocketTask::StartProcessing(), StartSocketsMan(), CAsyncDiagThread::Stop(), CValidError_bioseq::ValidateSegRef(), CNCBlobStorage::WriteChunkData(), CBlobCacher::x_CacheMapRecs(), CBlobCacher::x_CacheMetaRec(), CQueryImpl::x_Close(), CNCBlobAccessor::x_DelCorruptedVersion(), CBlobCacher::x_DelFileAndRetryCreate(), CServer::x_DoRun(), CDiskFlusher::x_FlushNextFile(), CAlnMap::x_GetChunks(), CPSGCache::x_LookupBioseqInfo(), CPSGCache::x_LookupBlobProp(), CPSGCache::x_LookupINSDCBioseqInfo(), CPSGCache::x_LookupSi2csi(), CQueueDataBase::x_Open(), CNSTDatabase::x_PostCheckConnection(), CBlobCacher::x_PreCacheRecNums(), CNCActiveHandler::x_ProcessProtocolError(), CNCMessageHandler::x_ReadBlobChunkLength(), CNSTDatabase::x_ReadDbAccessInfo(), CTar::x_ReadEntryInfo(), CNCActiveHandler::x_ReadSizeToRead(), CNCActiveHandler::x_ReplaceServerConn(), CPoolOfThreads< TRequest >::x_RunNewThread(), CNCPeerControl::x_SlotsInitiallySynced(), CNcbiApplicationAPI::x_TryInit(), CCancelRequestException::~CCancelRequestException(), CConditionVariable::~CConditionVariable(), CSrvSocketTask::~CSrvSocketTask(), and SNCDBFileInfo::~SNCDBFileInfo().
|
inline |
Print debug message for "char*" object and "abort()" the program if set by SetThrowTraceAbort() or $ABORT_ON_THROW.
Definition at line 304 of file ncbiexpt.hpp.
References DoDbgPrint(), and info.
|
inline |
Print debug message for "const char*" object and "abort()" the program if set by SetThrowTraceAbort() or $ABORT_ON_THROW.
Definition at line 294 of file ncbiexpt.hpp.
References DoDbgPrint(), and info.
Print debug message for "std::string" object and "abort()" the program if set by SetThrowTraceAbort() or $ABORT_ON_THROW.
Definition at line 314 of file ncbiexpt.hpp.
References DoDbgPrint(), and info.
|
inline |
Templated function for printing debug message.
Print debug message for the specified exception type and "abort()" the program if set by SetThrowTraceAbort() or $ABORT_ON_THROW.
Definition at line 284 of file ncbiexpt.hpp.
References DoDbgPrint(), and info.
|
inline |
Definition at line 207 of file ncbiexpt.hpp.
References DoThrowTraceAbort(), eDiag_Trace, info, and str().
|
inline |
Definition at line 215 of file ncbiexpt.hpp.
References DoThrowTraceAbort(), eDiag_Trace, info, and str().
Definition at line 223 of file ncbiexpt.hpp.
References DoThrowTraceAbort(), eDiag_Trace, info, and str().
enable_if<ncbi_throw_trace::is_exception<T>::value, const T&>::type DbgPrintEx | ( | const CDiagCompileInfo & | info, |
const T & | t, | ||
const char * | str | ||
) |
Definition at line 179 of file ncbiexpt.hpp.
References DoThrowTraceAbort(), eDiag_Trace, info, str(), and t.
|
inline |
Create diagnostic stream for printing specified message and "abort()" the program if set by SetThrowTraceAbort() or $ABORT_ON_THROW.
Definition at line 343 of file ncbiexpt.hpp.
References DoDbgPrint(), and info.
|
inline |
Print the specified printable object and "abort()" the program if set by SetThrowTraceAbort() or $ABORT_ON_THROW.
The object must have stream output operator defined.
Definition at line 329 of file ncbiexpt.hpp.
References DoThrowTraceAbort(), eDiag_Trace, and info.
Operator bool: returns TRUE if error was not set to "success".
void DoDbgPrint | ( | const CDiagCompileInfo & | info, |
const char * | message | ||
) |
Print the specified debug message.
Definition at line 86 of file ncbiexpt.cpp.
References DoThrowTraceAbort(), eDiag_Trace, and info.
Referenced by DbgPrint(), and DbgPrintNP().
void DoDbgPrint | ( | const CDiagCompileInfo & | info, |
const char * | msg1, | ||
const char * | msg2 | ||
) |
Print the specified debug messages.
Definition at line 98 of file ncbiexpt.cpp.
References DoThrowTraceAbort(), eDiag_Trace, and info.
void DoDbgPrint | ( | const CDiagCompileInfo & | info, |
const string & | message | ||
) |
Print the specified debug message.
Definition at line 92 of file ncbiexpt.cpp.
References DoThrowTraceAbort(), eDiag_Trace, and info.
void DoThrowTraceAbort | ( | void | ) |
"abort()" the program if set by SetThrowTraceAbort() or $ABORT_ON_THROW.
Definition at line 72 of file ncbiexpt.cpp.
References _T_XCSTRING, abort(), ABORT_ON_THROW, NcbiSys_getenv, s_DoThrowTraceAbort(), s_DTTA_Initialized(), and str().
Referenced by DbgPrintEx(), DbgPrintP(), DoDbgPrint(), and CException::x_ReportToDebugger().
Enable background reporting.
If background reporting is enabled, then calling what() or ReportAll() would also report exception to the default exception reporter.
Definition at line 496 of file ncbiexpt.cpp.
References prev(), and CException::sm_BkgrEnabled.
Referenced by AlignmentUtility::DoLeaveNOut(), AlignmentUtility::DoLeaveOneOut(), AlignmentUtility::Init(), main(), and NcbiSys_main().
Enable/disable using default reporter.
Definition at line 632 of file ncbiexpt.cpp.
References prev(), and CExceptionReporter::sm_DefEnabled.
END_NAMESPACE | ( | ncbi_throw_trace | ) |
|
inline |
Definition at line 1197 of file ncbiexpt.hpp.
References eDiag_Error, and CExceptionArgs_Base::SetSeverity().
Referenced by CChangeUnindexedObjectCommand< T >::Add(), CChangeUnindexedObjectCommand< T >::AddBioseq(), CIndexedDb_New::AddIndexInfo(), CPerfLogGuard::AddParameter(), CProjectService::AddProjectView(), CScoreBuilderBase::AddScore(), CGuiRegistry::AddSite(), CWindowManagerService::AddToolBarContext(), CWindowManagerService::AddToolBarFactory(), CViewManagerService::AddToWorkbench(), AlignmentDisplay::AlignmentDisplay(), AlignmentSet::AlignmentSet(), CTableDataSeq_table::AllowEdit(), CChunkFile::Append(), CSeqIdChunkFile::Append(), CMacroLib::AppendToLibrary(), COrgGeneralPanel::ApplyCommand(), CDockManager::ApplyLayout(), CRenderCommon::Begin(), BlastJSON_FormatReport(), BlastXML2_FormatReport(), BlastXML_FormatReport(), CGlRender::BlendColor(), CGlRender::BlendFunc(), CRenderVector::BlendFunc(), CGlRender::BlendFuncSeparate(), CRenderVector::BlendFuncSeparate(), BOOST_AUTO_TEST_CASE(), CachedTaxonomyLookupCommand(), CGraphUtils::CalcGraphLevels(), CEUtilsApp::CallEFetch(), CEUtilsApp::CallELink(), CEUtilsApp::CallESearch(), CAlnSpanVertModel::CAlnSpanVertModel(), CAsnCacheStore::CAsnCacheStore(), CAV_DisplayMultiple(), CGLFrameBuffer::CheckFBOError(), CGlUtils::CheckGlError(), CCassBlobWaiter::CheckReady(), CCassQueryList::CheckSlot(), CIndexedDb_Old::CIndexedDb_Old(), CVisibleRange::Clamp(), CWorkspaceAutoSaver::CleanUp(), CleanupCommand(), CleanupHugeFileCommand(), CSGAlignmentDS::ClearCache(), CFeatTableDS::ClearCurrentJob(), CGenBankUIDataSource::Close(), CMC3_CodingRegion< order >::CMC3_CodingRegion(), CNADocSumIterator::CNADocSumIterator(), CRenderCommon::ColorC(), CGlRender::ColorMask(), CRenderVector::ColorMask(), ConvertToPairwise(), CTableImportDataSource::ConvertToSeqAnnot(), CRemoteUpdater::ConvertToStandardAuthors(), CMacroFlowEditor::CopyDefaultLibrary(), CSubAnnotationPanel::Create5ColFeatTable(), CVDBBlastUtil::CreateBioseqFromOid(), ColumnarVcfCache::CreateBlob(), CEntrezDB::CreateGene_Gene(), CEntrezDB::CreateGeneSet_Gene(), CAlignCleanup::CreatePairwiseFromMultiple(), CVarTrackFactory::CreateTracks(), CSequenceTrackFactory::CreateTracks(), CViewManagerService::CreateViewInstance(), CSemaphore::CSemaphore(), CSmallDNS::CSmallDNS(), CSymbolGuard::CSymbolGuard(), CTaxonCache::CTaxonCache(), CTLibContext::CTLIB_cterr_handler(), CTLibContext::CTLIB_srverr_handler(), CSGGenBankDS::DeleteAllJobs(), CRegistryWriteView::DeleteField(), CFeaturePanelDS::DeleteMetaDataJob(), CGlRender::Disable(), CRenderVector::Disable(), SAsnProjectSingleT::DoCreate(), CBDB_CheckPointThread::DoJob(), CCacheCleanerThread::DoJob(), AlignmentUtility::DoLeaveNOut(), CSeqMaskerOstat::doSetParam(), CTaxValidationAndCleanup::DoTaxonomyUpdate(), CAlignGlyph::DrawPWAlignElem(), AlignmentDisplay::DumpCondensed(), CGridCommandLineInterfaceApp::DumpJobInputOutput(), DumpSeqEntries(), CGlRender::Enable(), CRenderVector::Enable(), CRenderCommon::End(), CEUtilsGeneric::error(), CEUtilsParser::error(), CHydraServer::error(), CPMCIDConverterServer::error(), CCmdCreateDesc::Execute(), CGBFlatFileObjectLoader::Execute(), CGBObjectLoader::Execute(), CCurVerReader::ExecuteSlice(), CConn_Streambuf::Fetch(), CVariantDescriptors::FinalizeReading(), CTableAnnotDataSource::FindLocations(), CCodeGenerator::FindModuleByName(), CTaxValidationAndCleanup::FixOneSpecificHost(), CRegistryFile::FromConfigFile(), CBlastAligner::GenerateAlignments(), CRemoteBlastAligner::GenerateAlignments(), Get3type(), CAlnVecMultiDataSource::GetAlignType(), IAlnGraphicDataSource::GetAlignType(), CDensegGraphicDataSource::GetAlnSeqString(), CMacroEditorContext::GetAsnMolinfoValue(), CGenomicCollectionsService::GetAssembly(), CGencollSvc::GetAssmAccs(), CSeqUtils::GetAssmAccs_Gi(), CSeqUtils::GetAssmIds_GI(), CSeqUtils::GetAssmIds_GIChr(), CAssemblyInfo::GetAssms_Gi(), CFeatureIndex::GetBestGene(), CFeatureIndex::GetBestParent(), CRemoteBlastDbDataLoader::GetBlobs(), CCgiRequest::GetCGIEntries(), AlignmentDisplay::GetCharAt(), CSeqUtils::GetChrGI(), CTableDataFTable::GetColsCount(), CTableDataSeq_table::GetColumnCommonStrings(), CTableDataFTable::GetColumnLabel(), CTableDataSeq_table::GetColumnLabel(), CTableDataFTable::GetColumnType(), CTableDataSeq_table::GetColumnType(), CBamUtils::GetCoverageGraphInfo(), CSeqDB::GetDiskUsage(), NMFncParse::GetDoFunctions(), CEditObjectSeq_desc::GetEditCommand(), CEditObjectSeq_feat::GetEditCommand(), CEditObjectSubmit_block::GetEditCommand(), CObjectListTableModel::GetExtraValueAt(), GetFeatureFromTableId(), CFtglFontManager::GetFont(), CGencollSvc::GetGCAssembly(), CSeqUtils::GetGiPlacements(), CUnixFeature::GetGroupGIDByName(), CUnixFeature::GetGroupNameByGID(), CGeneGroup::GetHTMLActiveAreas(), CLayoutGroup::GetHTMLActiveAreas(), CTableDataBioTreeContainer::GetIntValue(), CTableDataFTable::GetIntValue(), CTableDataSeq_table::GetIntValue(), CProjectItemLabelHandler::GetLabel(), CWndLayoutReg::GetLayout(), CGraphTrack::GetLegend(), CSeqUtils::GetLocPlacements(), CApplyBsrcQualTreeItemData::GetMacroDescription(), CMTreeItemDataBuilder::GetMActionType(), CRfamTool::GetModelByAccession(), CRfamTool::GetModelByIdentification(), CTableDataSeq_table::GetObjectValue(), CTempTrackProxy::GetOrder(), CFeatureIndex::GetOverlappingSource(), CProjectStorage::GetProject(), CRsitesGlyph::GetRange(), CTableDataBioTreeContainer::GetRealValue(), CTableDataSeq_table::GetRealValue(), CProjectView::GetReflectionInfo(), CApplyRNAITSDlg::GetRNAITSList_AlignCoordFromDlg(), CApplyRNAITSDlg::GetRNAITSList_SeqCoordFromDlg(), CTableDataFTable::GetRowsCount(), CTableDataSeq_table::GetRowsCount(), NMItemData::GetSelectedCapType(), CBioseqIndex::GetSequence(), CFeatureIndex::GetSequence(), CTraceGraphTrackFactory::GetSettings(), CViewManagerService::GetSingletonView(), CNCDistributionConf::GetSlotByNetCacheKey(), CTableDataBioTreeContainer::GetStringValue(), CTableDataFTable::GetStringValue(), CTableDataSeq_table::GetStringValue(), CGuiObjectInfoVariation::GetToolTip(), CTMSUtils::GetTrackMetaData(), CUnixFeature::GetUserNameByUID(), CUnixFeature::GetUserUIDByName(), CCrossAlignView::GetVisibleRanges(), CDotMatrixView::GetVisibleRanges(), CRegistryWriteView::GetWriteView(), CCleanupApp::HandleSeqEntry(), CAsn2FlatApp::HandleSeqEntryHandle(), CAsn2FlatApp::HandleSeqSubmit(), CCleanupApp::HandleSubmitBlock(), CDeflineProcess::IndexedProcess(), CAsnSubCacheCreateApplication::IndexNewBlobsInSubCache(), CTableDataSeq_table::Init(), CSeqTableReader::Init(), CMassArray::Init(), CMSMod::Init(), CBedCoverageGraph::Init(), CVcfHeatmap::Init(), CVcfHistogram::Init(), CWigGraph::Init(), CTaxonCache::Initialize(), CPhyTreeView::InitView(), InputError(), CWinMaskUtil::CIdSet_SeqId::insert(), CWinMaskUtil::CIdSet_TextMatch::insert(), CRemoveUnindexedFeatures::IsLocationUnindexed(), CTaxValidationAndCleanup::IsOneSpecificHostValid(), CSeqUtils::isTopLevel(), CBioseqIndex::IterateDescriptors(), CBioseqIndex::IterateFeatures(), CBioseqIndex::IterateGaps(), CGlRender::LineCapStyle(), CRenderVector::LineCapStyle(), CGlRender::LineJoinStyle(), CRenderVector::LineJoinStyle(), CGlRender::LineStipple(), CRenderVector::LineStipple(), CGlRender::LineWidth(), CRenderVector::LineWidth(), CGlTexture::Load(), LoadASNFromIstream(), CTableDataVcf::LoadData(), CSUCRefreshCntrl::CSUCRefreshCntrlHelper::LoadData(), CClickableSortUniqueCount::LoadData(), CValidatePanel::LoadData(), CRemoteBlast::LoadFromArchive(), CDockManager::LoadLayout(), LoadScope(), CGlWidgetBase::LoadSettings(), CEditingBtnsPanel::LoadSettings(), CTestApplication::LoadTable(), LogCallback(), CReloadPublications::LookUpByPmid(), CDoiLookup::LookupIsojta(), CSQLITE3_Cache::CWriterThread::Main(), CAsn2AsnThread::Main(), CGlOsContext::MakeCurrent(), CGlBuffer20< T >::MapBuffer(), CGlBuffer11< T >::MapBuffer(), CVisibleRange::Match(), CAlignSort::MergeSortedFiles(), CAsn2FlatApp::ObtainSeqEntryFromBioseq(), CAsn2FlatApp::ObtainSeqEntryFromBioseqSet(), CAsn2FlatApp::ObtainSeqEntryFromSeqEntry(), CMacroEditingActionPanel::OnActionTreeItemChanged(), CSelectFeatureDlg::OnButtonLoadFile(), CSelectFeatureDlg::OnButtonSaveFile(), CApplyRNAITSDlg::OnCtrlFromKillFocus(), CApplyRNAITSDlg::OnCtrlToKillFocus(), CFrameworkDemoGUI::OnDiagnosticsTimer(), CMacroCompoundConstraintPanel::OnEditConstraint(), CCrossAlnDemoDlg::OnFileClick(), CHitMatrixDemoDlg::OnFileClick(), CBamRefSequencesPanel::OnIdle(), CVcfRefSequencesPanel::OnIdle(), CSubAnnotationPanel::OnImportFeatTableClick(), CAppJobEventTranslator::OnJobProgress(), CFlatFileDemoDlg::OnLoadFileClick(), CSubPrep_panel::OnSaveBtnClick(), CwxExportAlnmultiImgDlg::OnSaveClick(), CMacroFlowEditor::OnSaveCopies(), CDataMiningPanel::OnSearchFinished(), CViewGraphic::OnVisibleRangeChanged(), CLBLASTUIDataSource::Open(), CBamUIDataSource::Open(), CGenBankUIDataSource::Open(), CSQLITE3_Cache::Open(), CSeqIdChunkFile::OpenForRead(), CChunkFile::OpenForRead(), CChunkFile::OpenForWrite(), CSeqIdChunkFile::OpenForWrite(), CPrimeCacheApplication::CCacheBioseq::operator()(), SBlobInserter::operator()(), CAlignSort::SAlignExtractor::operator()(), CAssignQueryTreeGetArgs::operator()(), SResponse::operator()(), Vector< T >::operator[](), Matrix< T >::operator[](), SDiagMessage::ParseDiagStream(), CSeqUtils::ParseRanges(), PatchTargetSequence(), CGlRender::PdfShadeStyle(), CRenderVector::PdfShadeStyle(), CChangePhyloPropertyCmd::PerformEdit(), CGlRender::PointSize(), CRenderVector::PointSize(), CGlRender::PolygonMode(), CRenderVector::PolygonMode(), CGlRender::PolygonStipple(), CRenderVector::PolygonStipple(), CGlRender::PopAttrib(), CRenderVector::PopAttrib(), CPerfLogGuard::Post(), CEventHandler::CPostQueue::Post(), CAbstractProjectItem::PostRead(), CVariation_ref::PostRead(), CSequenceEditingEventHandler::PrepareSeqSubmit(), CSrvTime::Print(), CBlastFormat::PrintOneResultSet(), CSeqEntryPresenter::Process(), CCassandraFullscanWorker::ProcessQueryResult(), CGlCgiImageApplication::ProcessRequest(), CVariationNormalizationRight::ProcessShift(), CBDB_Cache::Purge(), CEntrezDB::Query(), CGlimmerReader::Read(), ReadAnnotFromFile(), CColumnarVCFReader::ReadData(), ReadEntryFromFile(), ReadFastaSeqsFromFile(), CImageIO::ReadImage(), CImageIO::ReadImageInfo(), CFormatReadHook::ReadObject(), CReadHook_SkipError::ReadObject(), CImageIO::ReadSubImage(), CColumnarVCFReader::ReadVariantsForChrs(), CRenderCommon::Rectf(), CUndoManager::Redo(), CViewManagerService::RegisterFactory(), CLayoutTrack::RegisterIconImage(), CBDB_Cache::RegisterOverflow(), CTableAnnotDataSource::RemoveSeqLocs(), CWindowManagerService::RemoveToolBarContext(), CSeqTestApplication::Render(), CDrawingPanel::Render(), IPhyloTreeRender::RenderPdf(), CGuard_Base::ReportException(), CDataLoadingAppJob::Run(), CProjectServiceTestJob::Run(), CNetBlastSubmittingJob::Run(), CNetBlastMonitoringJob::Run(), C5ColExportJob::Run(), CFlatFileExportJob::Run(), CEditAppJob::Run(), CBuildAlnVecJob::Run(), CBuildSparseAlnJob::Run(), CTableDataSUCJob::Run(), CTableDataValidateJob::Run(), CTextRetrieveJob::Run(), CMkIndexApplication::Run(), CSRSearchApplication::Run(), CBlastDBCmdApp::Run(), CMakeProfileDBApp::Run(), CBlastVdbCmdApp::Run(), CFeatureRetrievalJob::Run(), CFlatFileSequenceListJob::Run(), CTax4BlastDemo::Run(), CAsn2FastaApp::Run(), CAsn2FlatApp::Run(), CAsnvalApp::Run(), CAgpFastaComparator::Run(), SGridWorkerNodeImpl::Run(), CNCBIwxApplication::Run(), CAVApp::Run(), CTestCompartApplication::Run(), CAsn2Asn::Run(), CAsnCacheTestApplication::Run(), CCacheIndexCopyApp::Run(), CConcatSeqEntriesApplication::Run(), CAsnCacheDumpSeqIdsApplication::Run(), CReadIndexSpeedApp::Run(), CAsnSubCacheCreateApplication::Run(), CWalkAsnCacheApplication::Run(), BlastdbCopyApplication::Run(), CGi2TaxIdApp::Run(), CObjExtractApp::Run(), CDemoApp::Run(), CStreamTestApp::Run(), CWinMaskApplication::Run(), CTestApplication::Run(), CEntrez2ClientApp::Run(), CSampleSoapClientApplication::Run(), CConvImageApp::Run(), CImageDemoApp::Run(), CSubImageApp::Run(), CClientGenomicCollectionsSvcApplication::RunWithService(), s_AttachAnnotToScope(), s_AttachEntryToScope(), CMixedStrands::s_Blast2NASeq(), s_CallAligner(), s_CompressDiscToDenseq(), s_ConvertSeverity(), s_Create5ColFeatTable(), CBlastArgs::s_CreateBlastOptions(), s_CreateListeningSocket(), s_DetachAnnotFromScope(), s_DetachEntryFromScope(), s_DoSmartProcessing(), s_ExpandSubNodes(), s_FillModuleListPSAPI(), s_FillModuleListTH32(), CMacroFunction_LookupPub::s_GetArticleFromEntrezById(), s_GetCdregionLabel(), s_GetDBTree(), s_GetGeneWeight(), s_GetJoinedAlignment(), s_GetMacroScriptLocation(), s_GetMaskLoc(), s_GetPubImprint(), CAdjustForConsensusSpliceSite::s_IsAdjustedSpliceSitePairOK(), s_IsAsmAccEquiv(), s_IsMaskAlgoIdValid(), s_OpenIndexDB(), s_ParseOptionalSettings(), s_ProcessListenEvent(), s_ProgressCallback(), s_ReadData(), s_ReadIdsFromFile(), s_ReadPerClientConfig(), s_ReadSpecificParams(), s_ReadVariableParams(), s_ReadVCFAssembly(), s_ReinitializeStorage(), s_RunBlast2AASeq(), s_RunBlast2NASeq(), s_SearchInSeqText(), s_UpdateMacros(), CAlignCompare::SAlignment::SAlignment(), CSearchHelper::SaveAnyFile(), CSubmissionWizard::SaveFile(), NMacroStats::SaveScriptToFile(), CGlWidgetBase::SaveSettings(), CSequenceEditingEventHandler::SaveSubmissionFile(), CGlRender::ScaleFactor(), CGlRender::ScaleInvarient(), CPkgManager::ScanPackages(), CGlRender::Scissor(), CRenderVector::Scissor(), CClippedScorer::ScoreAlignments(), CDataMiningPanel::SelectToolByName(), CBrowserUtils::SendToBrowser(), CAgpwriteProcess::SeqEntryProcess(), CCleanupProcess::SeqEntryProcess(), CFastaProcess::SeqEntryProcess(), CFlatfileProcess::SeqEntryProcess(), CGeneOverlapProcess::SeqEntryProcess(), CGeneFeatTreeProcess::SeqEntryProcess(), CInvertProcess::SeqEntryProcess(), CNullProcess::SeqEntryProcess(), CProsplignProcess::SeqEntryProcess(), CSeqVectorProcess::SeqEntryProcess(), CTitleProcess::SeqEntryProcess(), CValidateProcess::SeqEntryProcess(), CVariation_ref::SetAllele_frequency(), CVariation_ref::SetAllele_origin(), CVariation_ref::SetAllele_state(), CPkgManager::SetAppPkg(), CPhyloTreeCalculator::SetAttrTable(), CBamCoverageGraphPanel::SetBamFiles(), CMacroCompoundConstraintPanel::SetConstraints(), CApplyTableItemData::SetData(), CApplyStrCommTableTreeItemData::SetData(), CApplyRNATableTreeItemData::SetData(), SetDoubleDiagHandler(), CSelectQualdDlg::SetField(), CRegistryWriteView::SetField(), CTabularFormatter::SetFormat(), CSeqGlyph::SetHighlightsColor(), CSeq_loc::SetId(), CTableDataSeq_table::SetIntValue(), CVariation_ref::SetIs_ancestral_allele(), CTableDataSeq_table::SetRealValue(), CSearch< LEGACY, NHITS >::SetResult(), CTableDataSeq_table::SetStringValue(), IMacroBioDataIter::SetTableToApply(), SetupForUpdate(), CVariation_ref::SetValidated(), CGlRender::ShadeModel(), CRenderVector::ShadeModel(), CUndoManager::ShowErrorMsg(), ShowFeedbackDialog(), CViewManagerService::ShutDownService(), CAlignSort::SortAlignments(), SpecificHostCleanupCommand(), CSearch< LEGACY, NHITS >::Spectrum2Peak(), CUnorderedSplitter::SplitId(), CUnorderedSplitter::SplitLoc(), sReportDSExceptionToLog(), CPerfLogger::Start(), CSearchToolBase::StartSearch(), CSQLITE3_Cache::StoreSynchronous(), TaxonomyLookupCommand(), CRenderCommon::TexCoord2f(), CMacroFunction_UpdateProteinSeqs::TheFunction(), CObject::ThrowNullPointerException(), CBLASTParams::ToArgVec(), TrackShuttingDown(), CAlnMultiPane::TTHH_GetTooltip(), CUndoManager::Undo(), CDeflineProcess::UnindexedProcess(), CFeatTableDS::Update(), CLDS2_Manager::UpdateData(), CSeqUpdateWorker::UpdateMultipleSequences(), CNCBlobAccessor::UpdatePurgeData(), CSymbolGuard::UpdateSymbols(), CMSSearchSettings::Validate(), CAsnvalThreadState::ValidateInput(), CDockLayoutTree::CNode::ValidateSplitterSizes(), CValidError_bioseq::ValidateTwintrons(), VDBLogWriter(), VectorRemoveElements(), VerifyAlignmentData(), CRenderCommon::Vertex3f(), CGlRenderPdf::Vertex3f(), CVcfWriter::WriteAnnot(), CTableAnnotDataSource::WriteAsn(), CAsnSubCacheCreateApplication::WriteBlobsInSubCache(), CImageIO::WriteImage(), CImageIO::WriteSubImage(), CGlRenderDebug::WriteText(), CRenderCommon::WriteText(), CSVGRenderer::WriteText(), CMemberInfoFunctions::WriteWithSetFlagMember(), CNetBlastSubmittingJob::x_AddError(), CFeatureTrack::x_AddHistogram(), CTableXformPanel::x_AddLocations(), CCachedTaxon3::x_AddReplyToCache(), CSelectProjectOptions::x_AddToExistingProject(), CMacroInterpreter::x_AddToRTVar(), CMSAToolJob::x_AddTreeProjectItem(), CTar::x_Append(), CTar::x_AppendFile(), CLocalFileRestorer::x_AttachNewObject(), CSGGenBankDS::x_BackgroundJob(), CAnnotCompareDS::x_BackgroundJob(), CTar::x_Backspace(), CCleanupApp::x_BasicAndExtended(), CPrimeCacheApplication::x_CacheSeqEntry(), CAlignGlyph::x_CalcIntervals(), CSeqGraphicPane::x_ChangeSwitchPoint(), CFileLoadWizard::x_CheckFormatConflict(), CPerfLogger::x_CheckValidity(), CAlignCleanup::x_Cleanup_AlignVec(), CAlignCleanup::x_Cleanup_AnchoredAln(), CWinMaskerFileStorage::x_ClearDownloads(), CTar::x_Close(), CCmdCleanup::x_CreateActionCmd(), CImportFeatTable::x_CreateCommand(), CBamLoadingJob::x_CreateDataLoader(), CSGFeatureJob::x_CreateFeature1(), CTableXformPanel::x_CreateFeatures(), CEUtilsApp::x_CreateLitRequest(), CBLASTSeqToolJob::x_CreateProjectItems(), CMergeAlignmentsJob::x_CreateProjectItems(), CMSAToolJob::x_CreateProjectItems(), CNGAlignJob::x_CreateProjectItems(), CAdvancedCleanupJob::x_CreateProjectItems(), CFindOverlapJob::x_CreateProjectItems(), CVcfLoadingJob::x_CreateProjectItems(), CEUtilsApp::x_CreateSeqRequest(), CNgAlignApp::x_CreateSequenceSet(), CSeq_align::x_CreateSubsegAlignment(), CEUtilsApp::x_CreateTaxRequest(), CUpdateMultipleSeq_Input::x_CreateUpdateSeqInputForUnitTest(), CAnnotCompareDS::x_DeleteAllJobs(), CBioseqEditor::x_DeleteObject(), CVCFVariantsBase::x_DeserializeColumn(), CLocalFileRestorer::x_DetachOrigObject(), CURLTooltipHandler::x_DisplayUnalignedRegion(), CComponentSearchJob::x_DoSearch(), CWinMaskerFileStorage::x_DownloadFiles(), CAlignGlyph::x_DrawMultiAlign(), CAsnSubCacheCreateApplication::x_EliminateIdsAlreadyInCache(), CGFFReader::x_Error(), CSGAlignStatJob::x_Execute(), CVcfFeatureJob::x_Execute(), CQueryParsePanel::x_ExecuteQuery(), CTar::x_ExtractEntry(), CTar::x_ExtractSparseFile(), CAsnSubCacheCreateApplication::x_FetchMissingBlobs(), CAssemblyInfo::x_FilterTaxIds(), CNCMessageHandler::x_FinishReadingBlob(), CTar::x_Flush(), CFlatGatherer::x_GatherFeatures(), CFlatGatherer::x_GatherFeaturesIdx(), CFlatGatherer::x_GatherFeaturesOnRange(), CFlatGatherer::x_GatherFeaturesOnRangeIdx(), CFlatGatherer::x_GatherFeaturesOnWholeLocation(), CFlatGatherer::x_GatherFeaturesOnWholeLocationIdx(), CProSplignJob::x_GenerateCompartments(), CNAUtils::x_GetAllGIs(), CNAUtils::x_GetAllNAIds(), CNAUtils::x_GetAllNAIdsWithContext(), CAssemblyInfo::x_GetAssmInfo(), CWigGraph::x_GetBigWigSummary(), CAsnCacheStore::x_GetBlob(), CCreateGeneModelTask::x_GetCommand(), CSeqDB::x_GetDBFilesMetaData(), CBioseqEditor::x_GetDeleteCommand(), CTaxonCache::x_GetItem(), CEntrez2ClientApp::x_GetLinked(), CEntrez2ClientApp::x_GetLinks(), CNAUtils::x_GetNAEntrezLinks(), CNAUtils::x_GetNAId(), CBlastDBCmdApp::x_GetOids(), CRelaxedLookupDlg::x_GetPubIds(), CRelaxedLookupDlg::x_GetPubIdsEutils(), CColumnarVCFLoaderManager::x_GetRefSeqs(), CRemoteBlast::x_GetSearchResultsHTTP(), CEntrez2ClientApp::x_GetTermHierarchy(), CEntrez2ClientApp::x_GetTermList(), CEntrez2ClientApp::x_GetTermPos(), CLDS2_Manager::x_GetUrlHandler(), CFeatGlyph::x_GetUserColor(), CDataCrawlerCache::x_Heartbeat(), CAlignDataSource::x_Init(), CSeqMasterIndex::x_Init(), CSeq_loc_Mapper_Base::x_InitAlign(), CGlOsContext::x_InitContext(), CBioseqIndex::x_InitDescs(), CBioseqIndex::x_InitFeats(), CBioseqIndex::x_InitGaps(), CBlastHitMatrix::x_InitGraphics(), CSeqMasterIndex::x_Initialize(), CBioseqIndex::x_InitSource(), CSeq_loc_Mapper_Base::x_InitSpliced(), CSelectionPanel::x_InitTextWidget(), CSeqUpdateWorker::x_LaunchSingleUpdateSequence(), CEutilsClient::x_Link(), CFileLoader::x_LoadAsnTextOrXml(), CFileLoader::x_LoadGff(), CwxNCBIApp::x_LoadGuiRegistry(), CNetBLASTUIDataSource::x_LoadJobDescriptors(), CPkgManager::x_LoadPackage(), CSGSeqGraphJob::x_LoadSeqTable(), CFeaturePanel::x_LoadSettings(), CGraphOverlay::x_LoadSettings(), CEpigenomicsTrack::x_LoadSettings(), CGraphTrack::x_LoadSettings(), CTraceGraphTrack::x_LoadSettings(), CProjectService::x_LoadWorkspace(), CAsnSubCacheCreateApplication::x_LocateBlobsInCache(), CSQLITE3_Statement::x_Log(), CTreeAlignMerger::x_MakeSeqAlign(), CInversionMergeAligner::x_MergeSeqAlignSet(), CMergeAligner::x_MergeSeqAlignSet(), CEpigenomicsTrack::x_OnJobCompleted(), CFeatureTrack::x_OnJobCompleted(), CGraphTrack::x_OnJobCompleted(), CSegmentMapTrack::x_OnJobCompleted(), CSequenceTrack::x_OnJobCompleted(), CTrackContainer::x_OnJobCompleted(), CAlignmentTrack::x_OnJobCompleted(), CGeneModelTrack::x_OnJobCompleted(), CSixFramesTransTrack::x_OnJobCompleted(), CVcfTrack::x_OnJobCompleted(), CVcfLoadingJob::x_OnVCFVariantListReady(), CMacroInterpreter::x_ParseArgsForApplyTable(), CURLTooltipHandler::x_ParseGenomicLinkHref(), CTar::x_ParsePAXData(), CAlnSpanVertModel::x_PopulateRows(), CAgpFastaComparator::x_Process(), CPrimeCacheApplication::x_Process_Fasta(), CPrimeCacheApplication::x_Process_Ids(), CBlastDBCmdApp::x_ProcessBatchEntry(), CBlastDBCmdApp::x_ProcessBatchEntry_NoDup(), CBlastDBCmdApp::x_ProcessBatchPig(), CHugeFileDemoApp::x_ProcessFileTraditionally(), CMakeBlastDBApp::x_ProcessInputData(), CMakeBlastDBApp::x_ProcessMaskData(), CBlastDBCmdApp::x_ProcessSearchRequest(), CBlastVdbCmdApp::x_ProcessSearchRequest(), CBlastDBCmdApp::x_ProcessTaxIdList(), CColumnarVCFReader::x_ProcessWarning(), CTar::x_ReadAndProcess(), CTar::x_ReadArchive(), CNCMessageHandler::x_ReadAuthMessage(), CNCMessageHandler::x_ReadBlobChunkLength(), CNCMessageHandler::x_ReadBlobSignature(), CNCMessageHandler::x_ReadCommand(), CSparseGraph::x_ReadData(), CTar::x_ReadEntryInfo(), CDockManager::x_ReadLayout(), CWigGraph::x_ReadSummary(), CMacroFunction_StringFastConstraints::x_ReadSynonymsFor(), CMacroFunction_StringSlowConstraints::x_ReadSynonymsFor(), CUpdateSeq_Input::x_ReadUpdateSeq_ASN(), CUpdateMultipleSeq_Input::x_ReadUpdateSeqs_ASN(), CSeqGraphicPane::x_Render(), CHitMatrixPane::x_RenderContent(), CFastaSeqBlockItem::x_RenderText(), CCleanupApp::x_ReportChanges(), CBioseqEditor::x_ReportError(), CAlnVecRow::x_ResetTrackPanel(), CInstancedAligner::x_RunAligner(), CInstancedAligner::x_RunCleanup(), CInstancedAligner::x_RunMMGlobal(), CGBDocument::x_SaveFile(), CNetBLASTUIDataSource::x_SaveJobDescriptors(), CWorkspaceAutoSaver::x_SaveWorkspace(), CEutilsClient::x_Search(), CAssemblyInfo::x_SearchIds(), CCDSTranslationPanel::x_SetLocationForProtein(), CAssemblyListPanel::x_SetTextCompleter(), CSQLITE3_Cache::x_SetTimestamp(), CProSplignJob::x_SetupAndRuntBlastn(), CDataLoadersUtil::x_SetupASNCacheDataLoader(), CVariationNormalization_base< T >::x_Shift(), CWindowManagerService::x_ShowToolBar(), CNCPeerControl::x_SlotsInitiallySynced(), CAlignTabExportPage2::x_StartAlignNamesJob(), CDataCrawlerCache::x_StartHeartbeat(), CAlignTabExportPage2::x_StartNAAlignNamesJob(), CSubmissionWizard::x_StepBackward(), CSubmissionWizard::x_StepForward(), CDataCrawlerCache::x_StopHeartbeat(), CLayoutTrackHandler::x_StopMoving(), CBDB_Cache::x_Store(), CSparseGraph::x_Sync(), CNCPeerControl::x_UpdateHasTasks(), CSeqEditPackage::x_UpdateValAuxFile(), CViewGraphic::x_UpdateVisRangeLayout(), CDataMiningPanel::x_UpdateWidgetAndTool(), CAssemblyInfo::x_ValidateTaxId(), CAppJobDispatcher::x_VerifyProgressNotNull(), CTar::x_WriteArchive(), CVcfWriter::x_WriteFeature(), CProjectFileWriter::x_WriteObject(), CAlignmentTrack::~CAlignmentTrack(), CAlnVecMultiDataSource::~CAlnVecMultiDataSource(), CBDB_BlobDeMuxPersistent::~CBDB_BlobDeMuxPersistent(), CBDB_BlobSplitStore< TBV, TObjDeMux, TL >::~CBDB_BlobSplitStore(), CBDB_ExtBlobStore< TBV >::~CBDB_ExtBlobStore(), CBuildDatabase::~CBuildDatabase(), CCassQueryList::~CCassQueryList(), CGraphCache< TData >::~CGraphCache(), CPerfLogger::~CPerfLogger(), CSafeStaticGuard::~CSafeStaticGuard(), CSparseMultiDataSource::~CSparseMultiDataSource(), CSQLITE3_Cache::~CSQLITE3_Cache(), CTaxonCache::~CTaxonCache(), and CWriteDB_Impl::~CWriteDB_Impl().
Get string information provided when this error was set.
Definition at line 164 of file ncbierror.hpp.
References CNcbiError::m_Extra.
Referenced by operator<<().
|
inline |
Definition at line 1209 of file ncbiexpt.hpp.
References eDiag_Fatal, and CExceptionArgs_Base::SetSeverity().
Referenced by CCodeGenerator::AddConfigLine(), SPSG_IoCoordinator::AddRequest(), boost::assertion_failed(), CheckFDLimit(), CScopeTransaction_Impl::Commit(), CDbapiSampleApp::CreateConnection(), CSearchHelper::CreateSearchSettings(), DestinationFile::DestinationFile(), CCodeGenerator::GenerateClientCode(), CCodeGenerator::GenerateCombiningFile(), CFileCode::GenerateCPP(), CCodeGenerator::GenerateFileList(), CFileCode::GenerateHPP(), CCodeGenerator::GenerateModuleCPP(), CCodeGenerator::GenerateModuleHPP(), CDbapiSampleApp::GetDriverContext(), SUv_Timer::Init(), SUv_Async::Init(), CCodeGenerator::LoadConfig(), CRemoteBlast::LoadFromArchive(), CFileModules::PrintDTDModular(), CFileModules::PrintSampleDEF(), CFileModules::PrintXMLSchemaModular(), CBam2GraphApp::ProcessFile(), CBam2GraphApp::ProcessSrz(), CSearchHelper::ReadFile(), CSearchHelper::ReadModFiles(), CScopeTransaction_Impl::RollBack(), CReadresult::Run(), COMSSA::Run(), COMSSAMerge::Run(), SUv_Loop::Run(), CXcompareAnnotsApplication::Run(), CSampleObjmgrApplication::Run(), s_ConvertSeverity(), CSearch< LEGACY, NHITS >::Search(), CMSPeak::SetComputedCharge(), CSearch< LEGACY, NHITS >::SetIons(), COMSSABase::SetSearchSettings(), CDbapiSimpleApp::SetupDb(), SUv_Async::Signal(), SourceFile::SourceFile(), SUv_Timer::Start(), SUv_Barrier::SUv_Barrier(), SUv_Loop::SUv_Loop(), CSearchHelper::ValidateSearchSettings(), SUv_Barrier::Wait(), CFileCode::WriteUserFile(), CDownloadJob::x_Download(), CDownloadJob::x_DownloadAndExtract(), CSGAlignStatJob::x_Execute(), x_GetDispatcher(), CXcompareAnnotsApplication::x_ProcessSeqAlignSetFromFile(), CNcbiApplicationAPI::x_TryInit(), CScopeTransaction::~CScopeTransaction(), and CScopeTransaction_Impl::~CScopeTransaction_Impl().
Get class name used for reporting.
Definition at line 1023 of file ncbiexpt.hpp.
References CException::m_Class.
Referenced by CDiagFilter::Check(), CExceptionReporterStream::Report(), CException::ReportStd(), and CNcbiDiag::x_Put().
|
static |
Get default reporter.
Definition at line 626 of file ncbiexpt.cpp.
References CExceptionReporter::sm_DefHandler.
Definition at line 1551 of file ncbiexpt.hpp.
|
inline |
Definition at line 847 of file ncbiexpt.hpp.
References CExceptionArgs_Base::GetErrCodeVal().
Referenced by CSDB_Exception::CSDB_Exception().
CException::TErrCode CException::GetErrCode | ( | void | ) | const |
Get error code.
Definition at line 453 of file ncbiexpt.cpp.
References CException::CException(), CException::eInvalid, and CException::x_GetErrCode().
Referenced by CSplign::AlignSingleCompartment(), CNcbiApplicationAPI::AppMain(), CGridCommandLineInterfaceApp::Automation_PipeServer(), BOOST_AUTO_TEST_CASE(), CGraphUtils::CalcGraphLevels(), CPSGDataLoader_Impl::CallWithRetry(), CanRetry(), CCassBlobWaiter::CheckReady(), CCassQueryList::CheckSlot(), CGridCommandLineInterfaceApp::Cmd_BlobInfo(), SNetServerImpl::ConnectAndExec(), CGridCommandLineInterfaceApp::DumpJobInputOutput(), CNetScheduleException::ErrCodeToHTTPStatusCode(), CNetStorageServerException::ErrCodeToHTTPStatusCode(), SNetScheduleExecutorImpl::ExecGET(), CTcpWorker::Execute(), SNetStorageObjectRPC::Exists(), CProjectStorage::Exists(), CBlastDBExtractor::ExtractSeqData(), CNetService::FindServer(), g_ThrowNetStorageException(), CDataLoader::GetAccVerFound(), CGenomicCollectionsService::GetAssembly(), CNetCacheAPI::GetData(), CBamException::GetErrCode(), CSraException::GetErrCode(), CSRSearch::InternalException::GetErrCodeString(), CASNCacheException::GetErrCodeString(), CDbIndex_Exception::GetErrCodeString(), CSeqMasker::CSeqMaskerException::GetErrCodeString(), CSeqMaskerIstatAscii::Exception::GetErrCodeString(), CSeqMaskerIstatBin::Exception::GetErrCodeString(), CSeqMaskerIstatFactory::Exception::GetErrCodeString(), CSeqMaskerIstatOAscii::Exception::GetErrCodeString(), CSeqMaskerIstatOBinary::Exception::GetErrCodeString(), CSeqMaskerOstat::CSeqMaskerOstatException::GetErrCodeString(), CSeqMaskerOstatAscii::CSeqMaskerOstatAsciiException::GetErrCodeString(), CSeqMaskerOstatFactory::CSeqMaskerOstatFactoryException::GetErrCodeString(), CSeqMaskerOstatOpt::Exception::GetErrCodeString(), CSeqMaskerUsetArray::Exception::GetErrCodeString(), CSeqMaskerUsetHash::Exception::GetErrCodeString(), CSeqMaskerUsetSimple::Exception::GetErrCodeString(), CWinMaskConfigException::GetErrCodeString(), CWinMaskCountsConverter::Exception::GetErrCodeString(), CWinMaskCountsGenerator::GenCountsException::GetErrCodeString(), CCompoundIDException::GetErrCodeString(), CJsonException::GetErrCodeString(), CNetCacheException::GetErrCodeString(), CNetCacheBlobTooOldException::GetErrCodeString(), CNetScheduleException::GetErrCodeString(), CNetStorageException::GetErrCodeString(), COpenViewManager::COVMException::GetErrCodeString(), CUser_object::CRefGeneTrackingException::GetErrCodeString(), CMultisourceException::GetErrCodeString(), CWriteDBException::GetErrCodeString(), CMaskReader::Exception::GetErrCodeString(), CObjWriterException::GetErrCodeString(), CManifestException::GetErrCodeString(), CGffDeconcatException::GetErrCodeString(), CSeqSubSplitException::GetErrCodeString(), CScorePValuesException::GetErrCodeString(), CException::GetErrCodeString(), CVariationValidateException::GetErrCodeString(), CHgvsVariantException::GetErrCodeString(), CNetStorageServerException::GetErrCodeString(), CNetStorageGCException::GetErrCodeString(), CPubseqGatewayException::GetErrCodeString(), CPubseqGatewayUVException::GetErrCodeString(), CBlastHitMatrixCGIException::GetErrCodeString(), CAlnMultiCGIException::GetErrCodeString(), CAlgoAlignException::GetErrCodeString(), CAlgoAlignUtilException::GetErrCodeString(), CIndexedDbException::GetErrCodeString(), CBlastException::GetErrCodeString(), CRemoteBlastException::GetErrCodeString(), CInputException::GetErrCodeString(), CGeneralScoreMatrixException::GetErrCodeString(), CHttpSessionException::GetErrCodeString(), CGridClientException::GetErrCodeString(), CStringOrBlobStorageRWException::GetErrCodeString(), CGridWorkerNodeException::GetErrCodeString(), CNetServiceException::GetErrCodeString(), CNSProtoParserException::GetErrCodeString(), CNSClientFactoryException::GetErrCodeString(), CNetSrvConnException::GetErrCodeString(), CBlobStorageException::GetErrCodeString(), CHttpCookieException::GetErrCodeString(), CUrlException::GetErrCodeString(), CSQLITE_Exception::GetErrCodeString(), CSDB_Exception::GetErrCodeString(), CQueryExecException::GetErrCodeString(), CSeqUpdateException::GetErrCodeString(), CPhyloTreeException::GetErrCodeString(), CFeatFilterQueryException::GetErrCodeString(), CGCServiceException::GetErrCodeString(), CSeqAnnotException::GetErrCodeString(), CSeqIdException::GetErrCodeString(), CSeqLocException::GetErrCodeString(), CSeqTableException::GetErrCodeString(), CGridRPCBaseClientException::GetErrCodeString(), CSeqMapException::GetErrCodeString(), CSeqVectorException::GetErrCodeString(), CAnnotException::GetErrCodeString(), CLoaderException::GetErrCodeString(), CObjmgrUtilException::GetErrCodeString(), CAnnotSearchLimitException::GetErrCodeString(), CPrefetchFailed::GetErrCodeString(), CPrefetchCanceled::GetErrCodeString(), CInvalidDataException::GetErrCodeString(), CGeneInfoException::GetErrCodeString(), CCDDClientException::GetErrCodeString(), CPSG_Exception::GetErrCodeString(), CCassandraException::GetErrCodeString(), CIdMapperException::GetErrCodeString(), CSerialException::GetErrCodeString(), CUnassignedMember::GetErrCodeString(), CSerialFacetException::GetErrCodeString(), CRPCClientException::GetErrCodeString(), CSrzException::GetErrCodeString(), CBGZFException::GetErrCodeString(), CDiffException::GetErrCodeString(), CCacheException::GetErrCodeString(), CQueryParseException::GetErrCodeString(), CRandomException::GetErrCodeString(), CCRowReaderStream_IANA_CSV_Exception::GetErrCodeString(), CCRowReaderStream_IANA_TSV_Exception::GetErrCodeString(), CSeqUtilException::GetErrCodeString(), CSyncQueueException::GetErrCodeString(), CThreadPoolException::GetErrCodeString(), CUtilException::GetErrCodeString(), CIOException::GetErrCodeString(), CEofException::GetErrCodeString(), CBlockingQueueException::GetErrCodeString(), CGetPasswordFromConsoleException::GetErrCodeString(), CRegexpException::GetErrCodeString(), NAutomation::CAutomationException::GetErrCodeString(), CAppHitFilterException::GetErrCodeString(), CUvBaseException::GetErrCodeString(), CSplignAppException::GetErrCodeString(), CProjBulderAppException::GetErrCodeString(), CSeq_id_MapperException::GetErrCodeString(), CDatatoolException::GetErrCodeString(), CNotFoundException::GetErrCodeString(), CAmbiguiousTypes::GetErrCodeString(), CAmbiguousDateException::GetErrCodeString(), CValidErrorFormat::GetFeatureBioseqLabel(), CDataLoader::GetGiFound(), SNetStorage_NetCacheBlob::GetInfo(), SNetScheduleAPIImpl::GetJobStatus(), SNetCacheAPIImpl::GetPartReader(), SNetICacheClientImpl::GetReadStreamPart(), GetReplyMessageProperties(), CDataLoader::GetSequenceHashFound(), CDataLoader::GetSequenceTypeFound(), CObjectIStreamAsnBinary::GuessDataType(), SNetServiceImpl::IterateUntilExecOK(), CCgi2RCgiApp::ListenJobs(), CMainLoopThread::Main(), NDirectNetStorageImpl::CObj::Meta(), CNetScheduleHandler::OnMessage(), CReader::OpenInitialConnection(), CAlignSort::SAlignExtractor::operator()(), CCassConnection::Perform(), CReadDispatcher::Process(), CDataTool::ProcessData(), CCassandraFullscanWorker::ProcessQueryResult(), CGridCgiApplication::ProcessRequest(), SNetICacheClientImpl::ReadCurrentBlobNotOlderThan(), SNetServerMultilineCmdOutputImpl::ReadLine(), CMemberInfoFunctions::ReadWithDefaultMemberX(), CMemberInfoFunctions::ReadWithSetFlagMember(), SNetStorageObjectRPC::Remove(), CAsnvalThreadState::ReportReadFailure(), CLocalBlast::Run(), CFlatFileExportJob::Run(), CBlastFormatterApp::Run(), CBlastFormatterVdbApp::Run(), CCatenatedPresenter::Run(), CSplign::Run(), CMultiAligner::Run(), CBlastInputDemoApplication::Run(), s_CalcGumbelParams(), s_ExportSearchStrategy(), s_PopulateScores(), SetupSubjects_OMF(), CNetScheduleAdmin::ShutdownServer(), NDirectNetStorageImpl::CFileTrack::StartRead(), CCgi2RCgiApp::SubmitJob(), SNetServerImpl::TryExec(), SNetServerInPool::TryExec(), CCassBlobWaiter::Wait(), CNetScheduleNotificationHandler::WaitForJobCompletion(), CMakeBlastDBApp::x_AddSeqEntries(), CRPCClient_Base::x_Ask(), SGridWorkerNodeImpl::x_ClearNode(), SNetScheduleAPIImpl::x_ClearNode(), CJobCommitterThread::x_CommitJob(), CDataSource::x_GetSeqMatch(), CNetStorageHandler::x_OnMessage(), CNetStorageHandler::x_OptionalExpirationUpdate(), CNetStorageHandler::x_ProcessGetObjectInfo(), CNetScheduleHandler::x_ProcessMsgQueue(), CNetStorageHandler::x_ProcessRelocate(), CNetStorageHandler::x_ProcessSetExpTime(), CNcbiDiag::x_Put(), CBGZFFile::x_ReadBlock(), CUpdateMultipleSeq_Input::x_ReadFromStream(), CUpdateSeq_Input::x_ReadFromStream(), CMagicBlast::x_Run(), SWorkerNodeJobContextImpl::x_RunJob(), SOfflineJobContextImpl::x_RunJob(), CSplign::x_RunOnCompartment(), and CSrcChkApp::xTryProcessIdFile().
|
inline |
Definition at line 1493 of file ncbiexpt.hpp.
Referenced by CBlobStorageFactory::CreateInstance(), NWinHook::CWinHookException::GetErrCodeString(), CInterProcessLockException::GetErrCodeString(), CConfigException::GetErrCodeString(), CParamException::GetErrCodeString(), CAppException::GetErrCodeString(), CArgException::GetErrCodeString(), CArgHelpException::GetErrCodeString(), CArgumentsException::GetErrCodeString(), CCoreException::GetErrCodeString(), CFileException::GetErrCodeString(), CMutexException::GetErrCodeString(), CConditionVariableException::GetErrCodeString(), CObjectException::GetErrCodeString(), CTimeException::GetErrCodeString(), CPluginManagerException::GetErrCodeString(), CRequestRateControlException::GetErrCodeString(), CChecksumException::GetErrCodeString(), CArchiveException::GetErrCodeString(), CCompressionException::GetErrCodeString(), CTarException::GetErrCodeString(), CRegexpTemplateTesterException::GetErrCodeString(), SLazyInitData::GetTime(), SRetryProcessing::operator()(), CDllResolver::TryCandidate(), CConfigRegistry::x_Get(), CConfigRegistry::x_HasEntry(), CNcbiApplicationAPI::x_TryMain(), and CHugeFile::x_TryOpenMemoryFile().
|
inline |
Definition at line 1516 of file ncbiexpt.hpp.
Referenced by CInvalidParamException::GetErrCodeString().
|
inline |
Get error code.
Definition at line 1630 of file ncbiexpt.hpp.
Referenced by CErrnoTemplExceptionEx< CBDB_Exception, CBDB_StrErrAdapt::GetErrCode, CBDB_StrErrAdapt::GetErrCodeString >::GetErrCodeString().
|
inline |
Definition at line 1693 of file ncbiexpt.hpp.
|
inline |
Definition at line 1723 of file ncbiexpt.hpp.
Referenced by CFileErrnoException::GetErrCodeString().
Definition at line 826 of file ncbiexpt.cpp.
References CUtf8::AsUTF8(), NULL, s_TlsErrorMessage, s_TlsErrorMessageCleanup(), and tmp.
Referenced by operator<<().
|
virtual |
Get error code interpreted as text.
Reimplemented in CAmbiguousDateException, CAmbiguiousTypes, CNotFoundException, CDatatoolException, CSeq_id_MapperException, CProjBulderAppException, CSplignAppException, CUvBaseException, CAppNWAException, CAppHitFilterException, NAutomation::CAutomationException, CRegexpTemplateTesterException, CRegexpException, CInvalidConversionException, CGetPasswordFromConsoleException, CBlockingQueueException, CEofException, CIOException, CUtilException, CThreadPoolException, CSyncQueueException, CSeqUtilException, CCRowReaderStream_IANA_TSV_Exception, CCRowReaderStream_IANA_CSV_Exception, CRandomException, CQueryParseException, CCacheException, CDiffException, CTarException, CCompressionException, CArchiveException, CChecksumException, CAlignRangeCollException, CBGZFException, CSrzException, CRPCClientException, CSerialFacetException, CInvalidChoiceSelection, CUnassignedMember, CSerialException, CModReaderException, CIdMapperException, CBadResiduesException, CCassandraException, CPSG_Exception, CFlatException, CCDDClientException, CGeneInfoException, CInvalidDataException, CUnsupportedEditSaverException, CSplitException, CPrefetchCanceled, CPrefetchFailed, CAnnotSearchLimitException, CObjmgrUtilException, CBlobStateException, CLoaderException, CAnnotException, CSeqVectorException, CSeqMapException, CObjMgrException, CAssemblyParserException, CGridRPCBaseClientException, CSeqTableException, CSeqLocException, CSeqIdException, CSeqAnnotException, CAnnotMapperException, CGCServiceException, variation::CHgvsParser::CHgvsParserException, CEUtilsException, CFeatFilterQueryException, CPhyloTreeException, CSeqUpdateException, CQueryExecException, CSQLITE3_ICacheException, CSDB_Exception, CSQLITE_Exception, CRequestRateControlException, CPluginManagerException, CTimeException, CObjectException, CConditionVariableException, CMutexException, CFileException, CErrnoTemplException< CCoreException >, CErrnoTemplExceptionEx< CCoreException, NCBI_NS_NCBI::NcbiErrnoCode, NCBI_NS_NCBI::NcbiErrnoStr >, CInvalidParamException, CCoreException, CExecException, CArgumentsException, CArgHelpException, CArgException, CAppException, CUrlException, CParamException, CHttpCookieException, CConfigException, CInterProcessLockException, CBlobStorageException, CNetSrvConnException, CNSClientFactoryException, CNSProtoParserException, CNetServiceException, CGridWorkerNodeException, CStringOrBlobStorageRWException, CGridClientException, CHttpSessionException, CAlgoFeatureGeneratorException, CGumbelParamsException, CGeneralScoreMatrixException, CInputException, CRemoteBlastException, CPssmEngineException, CBlastException, CBlastSystemException, CIndexedDbException, CAlgoAlignUtilException, CAlgoAlignException, CAlnMultiCGIException, CBlastHitMatrixCGIException, NWinHook::CWinHookException, CPubseqGatewayUVException, CPubseqGatewayException, CNetStorageGCException, CNetStorageServerException, CHgvsVariantException, CVariationValidateException, CVariationIrepException, variation_ref::CHgvsParser::CHgvsParserException, CScorePValuesException, CSeqSubSplitException, CGffDeconcatException, CManifestException, CObjWriterException, CMaskReader::Exception, CIpgStorageException, CBlastServicesException, CWriteDBException, CMultisourceException, CSeqDBException, CUser_object::CRefGeneTrackingException, COpenViewManager::COVMException, CNetStorageException, CNetScheduleException, CNetCacheBlobTooOldException, CNetCacheException, CJsonOverUTTPException, CJsonException, CCompoundIDException, CWinMaskCountsGenerator::GenCountsException, CWinMaskCountsConverter::Exception, CWinMaskConfigException, CSeqMaskerUsetSimple::Exception, CSeqMaskerUsetHash::Exception, CSeqMaskerUsetArray::Exception, CSeqMaskerOstatOpt::Exception, CSeqMaskerOstatFactory::CSeqMaskerOstatFactoryException, CSeqMaskerOstatAscii::CSeqMaskerOstatAsciiException, CSeqMaskerOstat::CSeqMaskerOstatException, CSeqMaskerIstatOBinary::Exception, CSeqMaskerIstatOAscii::Exception, CSeqMaskerIstatFactory::Exception, CSeqMaskerIstatBin::Exception, CSeqMaskerIstatAscii::Exception, CSeqMasker::CSeqMaskerException, CMinHashException, CSequenceIStream::CSequenceIStream_Exception, CDbIndex_Exception, CIndexSuperHeader_Exception, CSearchException, CPrjStorageException, CASNCacheException, and CSRSearch::InternalException.
Definition at line 444 of file ncbiexpt.cpp.
References CException::eUnknown, and CException::GetErrCode().
Referenced by CSRSearch::InternalException::GetErrCodeString(), CASNCacheException::GetErrCodeString(), CPrjStorageException::GetErrCodeString(), CSearchException::GetErrCodeString(), CIndexSuperHeader_Exception::GetErrCodeString(), CDbIndex_Exception::GetErrCodeString(), CSequenceIStream::CSequenceIStream_Exception::GetErrCodeString(), CMinHashException::GetErrCodeString(), CSeqMasker::CSeqMaskerException::GetErrCodeString(), CSeqMaskerIstatAscii::Exception::GetErrCodeString(), CSeqMaskerIstatBin::Exception::GetErrCodeString(), CSeqMaskerIstatFactory::Exception::GetErrCodeString(), CSeqMaskerIstatOAscii::Exception::GetErrCodeString(), CSeqMaskerIstatOBinary::Exception::GetErrCodeString(), CSeqMaskerOstat::CSeqMaskerOstatException::GetErrCodeString(), CSeqMaskerOstatAscii::CSeqMaskerOstatAsciiException::GetErrCodeString(), CSeqMaskerOstatFactory::CSeqMaskerOstatFactoryException::GetErrCodeString(), CSeqMaskerOstatOpt::Exception::GetErrCodeString(), CSeqMaskerUsetArray::Exception::GetErrCodeString(), CSeqMaskerUsetHash::Exception::GetErrCodeString(), CSeqMaskerUsetSimple::Exception::GetErrCodeString(), CWinMaskConfigException::GetErrCodeString(), CWinMaskCountsConverter::Exception::GetErrCodeString(), CWinMaskCountsGenerator::GenCountsException::GetErrCodeString(), CCompoundIDException::GetErrCodeString(), CJsonException::GetErrCodeString(), CJsonOverUTTPException::GetErrCodeString(), CNetCacheException::GetErrCodeString(), CNetCacheBlobTooOldException::GetErrCodeString(), CNetStorageException::GetErrCodeString(), COpenViewManager::COVMException::GetErrCodeString(), CUser_object::CRefGeneTrackingException::GetErrCodeString(), CSeqDBException::GetErrCodeString(), CMultisourceException::GetErrCodeString(), CWriteDBException::GetErrCodeString(), CBlastServicesException::GetErrCodeString(), CEditException::GetErrCodeString(), CIpgStorageException::GetErrCodeString(), CMaskReader::Exception::GetErrCodeString(), CObjWriterException::GetErrCodeString(), CManifestException::GetErrCodeString(), CGffDeconcatException::GetErrCodeString(), CSeqSubSplitException::GetErrCodeString(), CMerge_Exception::GetErrCodeString(), CViewException::GetErrCodeString(), variation_ref::CHgvsParser::CHgvsParserException::GetErrCodeString(), CVariationIrepException::GetErrCodeString(), CVariationValidateException::GetErrCodeString(), CBamException::GetErrCodeString(), CSraException::GetErrCodeString(), CHgvsVariantException::GetErrCodeString(), CNetStorageServerException::GetErrCodeString(), CNetStorageGCException::GetErrCodeString(), CPubseqGatewayException::GetErrCodeString(), CPubseqGatewayUVException::GetErrCodeString(), NWinHook::CWinHookException::GetErrCodeString(), CBlastHitMatrixCGIException::GetErrCodeString(), CAlnMultiCGIException::GetErrCodeString(), CAlgoAlignException::GetErrCodeString(), CProSplignException::GetErrCodeString(), CAlgoAlignUtilException::GetErrCodeString(), CIndexedDbException::GetErrCodeString(), CBlastSystemException::GetErrCodeString(), CBlastException::GetErrCodeString(), CPssmEngineException::GetErrCodeString(), CRemoteBlastException::GetErrCodeString(), CInputException::GetErrCodeString(), CGnomonException::GetErrCodeString(), CAlgoFeatureGeneratorException::GetErrCodeString(), CCgiCookieException::GetErrCodeString(), CCgiRequestException::GetErrCodeString(), CCgiErrnoException::GetErrCodeString(), CCgiResponseException::GetErrCodeString(), CCgiHeadException::GetErrCodeString(), CCgiSessionException::GetErrCodeString(), CCgiAppException::GetErrCodeString(), CConnException::GetErrCodeString(), CHttpSessionException::GetErrCodeString(), CServer_Exception::GetErrCodeString(), CGridClientException::GetErrCodeString(), CStringOrBlobStorageRWException::GetErrCodeString(), CGridWorkerNodeException::GetErrCodeString(), CNetServiceException::GetErrCodeString(), CNSProtoParserException::GetErrCodeString(), CNSClientFactoryException::GetErrCodeString(), CNetSrvConnException::GetErrCodeString(), CThreadedServerException::GetErrCodeString(), CBlobStorageException::GetErrCodeString(), CInterProcessLockException::GetErrCodeString(), CConfigException::GetErrCodeString(), CHttpCookieException::GetErrCodeString(), CParamException::GetErrCodeString(), CPIDGuardException::GetErrCodeString(), CUrlException::GetErrCodeString(), CUrlParserException::GetErrCodeString(), CAppException::GetErrCodeString(), CArgException::GetErrCodeString(), CArgHelpException::GetErrCodeString(), CArgumentsException::GetErrCodeString(), CExecException::GetErrCodeString(), CCoreException::GetErrCodeString(), CInvalidParamException::GetErrCodeString(), CErrnoTemplExceptionEx< CBDB_Exception, CBDB_StrErrAdapt::GetErrCode, CBDB_StrErrAdapt::GetErrCodeString >::GetErrCodeString(), CFileException::GetErrCodeString(), CFileErrnoException::GetErrCodeString(), CMutexException::GetErrCodeString(), CConditionVariableException::GetErrCodeString(), CObjectException::GetErrCodeString(), CRegistryException::GetErrCodeString(), CParseTemplException< CSeqsetException >::GetErrCodeString(), CThreadException::GetErrCodeString(), CTimeException::GetErrCodeString(), CPluginManagerException::GetErrCodeString(), CRequestRateControlException::GetErrCodeString(), CRequestContextException::GetErrCodeString(), CNcbiResourceInfoException::GetErrCodeString(), CNcbiEncryptException::GetErrCodeString(), CBDB_ErrnoException::GetErrCodeString(), CBDB_LibException::GetErrCodeString(), CBDB_VolumesException::GetErrCodeString(), CSQLITE_Exception::GetErrCodeString(), CDB_Exception::GetErrCodeString(), CSDB_Exception::GetErrCodeString(), CVariantException::GetErrCodeString(), CSQLITE3_ICacheException::GetErrCodeString(), CProjectServiceException::GetErrCodeString(), CPluginException::GetErrCodeString(), CMacroParseException::GetErrCodeString(), CQueryExecException::GetErrCodeString(), COpenGLException::GetErrCodeString(), CSeqUpdateException::GetErrCodeString(), CColumnarVCFException::GetErrCodeString(), CVCFDataException::GetErrCodeString(), CPhyloTreeException::GetErrCodeString(), CFeatFilterQueryException::GetErrCodeString(), CHTMLException::GetErrCodeString(), variation::CHgvsParser::CHgvsParserException::GetErrCodeString(), CGeneralParseException::GetErrCodeString(), CAnnotMapperException::GetErrCodeString(), CSeqAnnotException::GetErrCodeString(), CSeqalignException::GetErrCodeString(), CSeqIdException::GetErrCodeString(), CSeqLocException::GetErrCodeString(), CSeqsetParseException::GetErrCodeString(), CSeqTableException::GetErrCodeString(), CGridRPCBaseClientException::GetErrCodeString(), CAssemblyParserException::GetErrCodeString(), CObjMgrException::GetErrCodeString(), CSeqMapException::GetErrCodeString(), CSeqVectorException::GetErrCodeString(), CAnnotException::GetErrCodeString(), CLoaderException::GetErrCodeString(), CBlobStateException::GetErrCodeString(), CObjmgrUtilException::GetErrCodeString(), CPrefetchFailed::GetErrCodeString(), CPrefetchCanceled::GetErrCodeString(), CSplitException::GetErrCodeString(), CUnsupportedEditSaverException::GetErrCodeString(), CSeqIdFromHandleException::GetErrCodeString(), CAlnException::GetErrCodeString(), CInvalidDataException::GetErrCodeString(), CGeneInfoException::GetErrCodeString(), CCDDClientException::GetErrCodeString(), CFlatException::GetErrCodeString(), CLDS2_Exception::GetErrCodeString(), CPSG_Exception::GetErrCodeString(), CCassandraException::GetErrCodeString(), CBadResiduesException::GetErrCodeString(), CIdMapperException::GetErrCodeString(), CModReaderException::GetErrCodeString(), CObjReaderParseException::GetErrCodeString(), CSerialException::GetErrCodeString(), CUnassignedMember::GetErrCodeString(), CInvalidChoiceSelection::GetErrCodeString(), CSerialFacetException::GetErrCodeString(), CRPCClientException::GetErrCodeString(), CSrzException::GetErrCodeString(), CBGZFException::GetErrCodeString(), CChecksumException::GetErrCodeString(), CArchiveException::GetErrCodeString(), CCompressionException::GetErrCodeString(), CTarException::GetErrCodeString(), CDiffException::GetErrCodeString(), CImageException::GetErrCodeString(), CCacheException::GetErrCodeString(), CNcbiTable_Exception::GetErrCodeString(), CQueryParseException::GetErrCodeString(), CRandomException::GetErrCodeString(), CCRowReaderStream_IANA_CSV_Exception::GetErrCodeString(), CCRowReaderStream_IANA_TSV_Exception::GetErrCodeString(), CSeqUtilException::GetErrCodeString(), CSyncQueueException::GetErrCodeString(), CThreadPoolException::GetErrCodeString(), CUtilException::GetErrCodeString(), CIOException::GetErrCodeString(), CEofException::GetErrCodeString(), CBlockingQueueException::GetErrCodeString(), CGetPasswordFromConsoleException::GetErrCodeString(), CRegexpException::GetErrCodeString(), CRegexpTemplateTesterException::GetErrCodeString(), COMSSAException::GetErrCodeString(), NAutomation::CAutomationException::GetErrCodeString(), CAppHitFilterException::GetErrCodeString(), CAppNWAException::GetErrCodeString(), CUvBaseException::GetErrCodeString(), CSplignAppException::GetErrCodeString(), CProjBulderAppException::GetErrCodeString(), CAlignDataSourceException::GetErrCodeString(), CSeq_id_MapperException::GetErrCodeString(), CDatatoolException::GetErrCodeString(), CNotFoundException::GetErrCodeString(), CAmbiguiousTypes::GetErrCodeString(), CAmbiguousDateException::GetErrCodeString(), SFileTrackRequest::GetFileInfo(), CException::ReportStd(), CFlatGatherer::x_GatherFeaturesOnRange(), CFlatGatherer::x_GatherFeaturesOnRangeIdx(), CFlatGatherer::x_GatherFeaturesOnWholeLocation(), CFlatGatherer::x_GatherFeaturesOnWholeLocationIdx(), CNcbiDiag::x_Put(), and CException::x_ReportToDebugger().
|
overridevirtual |
Translate from the error code value to its string representation.
Reimplemented from CException.
Reimplemented in CRegexpTemplateTesterException, CTarException, CCompressionException, CArchiveException, CChecksumException, CRequestRateControlException, CPluginManagerException, CTimeException, CObjectException, CConditionVariableException, CMutexException, CFileException, CErrnoTemplException< CCoreException >, CErrnoTemplExceptionEx< CCoreException, NCBI_NS_NCBI::NcbiErrnoCode, NCBI_NS_NCBI::NcbiErrnoStr >, CExecException, CArgumentsException, CArgHelpException, CArgException, CAppException, CParamException, CConfigException, CInterProcessLockException, and NWinHook::CWinHookException.
Definition at line 757 of file ncbiexpt.cpp.
References CCoreException::eCore, CCoreException::eDiagFilter, CCoreException::eDll, CCoreException::eInvalidArg, CCoreException::eNullPtr, CCoreException::GetErrCode(), and CException::GetErrCodeString().
Referenced by CPipeException::GetErrCodeString().
|
overridevirtual |
Translate from an error code value to its string representation.
Reimplemented from CException.
Definition at line 770 of file ncbiexpt.cpp.
References CInvalidParamException::eInvalidCharacter, CInvalidParamException::eUndefined, CInvalidParamException::GetErrCode(), and CException::GetErrCodeString().
|
inlineoverridevirtual |
Translate from the error code value to its string representation.
Reimplemented in CBDB_ErrnoException, CFileErrnoException, CErrnoTemplException_Win< TBase >, CErrnoTemplException< TBase >, CErrnoTemplException< CCoreException >, CErrnoTemplException< CCgiException >, CExecException, and CCgiErrnoException.
Definition at line 1594 of file ncbiexpt.hpp.
|
inlineoverridevirtual |
Translate from the error code value to its string representation.
Reimplemented from CErrnoTemplExceptionEx< TBase, NCBI_NS_NCBI::NcbiErrnoCode, NCBI_NS_NCBI::NcbiErrnoStr >.
Reimplemented in CExecException, and CCgiErrnoException.
Definition at line 1693 of file ncbiexpt.hpp.
|
inlineoverridevirtual |
Translate from the error code value to its string representation.
Reimplemented from CErrnoTemplExceptionEx< TBase, NCBI_NS_NCBI::CLastErrorAdapt::GetErrCode, NCBI_NS_NCBI::CLastErrorAdapt::GetErrCodeString >.
Reimplemented in CFileErrnoException.
Definition at line 1723 of file ncbiexpt.hpp.
|
inline |
Definition at line 794 of file ncbiexpt.hpp.
References CExceptionArgs_Base::m_ErrCode.
Referenced by CExceptionArgs< TErrCode >::GetErrCode().
|
inlinenoexcept |
Get error number.
Definition at line 1639 of file ncbiexpt.hpp.
Referenced by CFileWriter::Flush(), CFileReader::Read(), CFileReaderWriter::Read(), CFileWriter::Write(), and CFileReaderWriter::Write().
Get file name used for reporting.
Definition at line 1011 of file ncbiexpt.hpp.
References CException::m_File.
Referenced by CDiagFilter::Check(), CException::ReportStd(), CNcbiDiag::x_Put(), and CException::x_ReportToDebugger().
|
inline |
Definition at line 797 of file ncbiexpt.hpp.
References CExceptionArgs_Base::m_Flags.
Referenced by Console().
Get function name used for reporting.
Definition at line 1029 of file ncbiexpt.hpp.
References CException::m_Function.
Referenced by CDiagFilter::Check(), CExceptionReporterStream::Report(), CException::ReportStd(), and CNcbiDiag::x_Put().
|
static |
Get the error that was last set (in the current thread)
Definition at line 72 of file ncbierror.cpp.
References NcbiError_GetOrCreate().
Referenced by CWinSecurity::GetFilePermissions(), CMakefilePatch::PatchTreeMakefiles(), CTar::x_Append(), CTar::x_ExtractEntry(), CPoolBalancer::x_NameToKey(), CTar::x_ProcessEntry(), and CTar::x_RestoreAttrs().
|
inline |
Get line number where error occurred.
Definition at line 1032 of file ncbiexpt.hpp.
References CException::m_Line.
Referenced by CException::ReportStd(), CNcbiDiag::x_Put(), and CException::x_ReportToDebugger().
Definition at line 803 of file ncbiexpt.hpp.
References CExceptionArgs_Base::m_Module.
Referenced by CException::x_InitArgs().
Get module name used for reporting.
Definition at line 1017 of file ncbiexpt.hpp.
References CException::m_Module.
Referenced by CDiagFilter::Check(), CDB_Exception::OriginatedFrom(), CExceptionReporterStream::Report(), CException::ReportStd(), and CNcbiDiag::x_Put().
Get message string.
Definition at line 461 of file ncbiexpt.cpp.
References kEmptyStr, and NULL.
Referenced by CProjectService::AddProjectView(), CTableAnnotDataSource::AddSeqLoc(), CGuiRegistry::AddSite(), CTableAnnotDataSource::AddSnpSeqLoc(), CException::AddToMessage(), AddZoomLevel(), CSplign::AlignSingleCompartment(), CModAdder::Apply(), COrgGeneralPanel::ApplyCommand(), CMiscSeqTable::ApplyTableToEntry(), BlastJSON_FormatReport(), BlastSetupPreliminarySearchEx(), BlastXML2_FormatReport(), BOOST_AUTO_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), CTreeQueryExec::CallFunction(), CMacroEngine::CallFunction(), CMacroResolver::CallFunction(), CWorkspaceAutoSaver::CheckCrash(), CVisibleRange::Clamp(), CleanupCommand(), CleanupHugeFileCommand(), CNADocSumIterator::CNADocSumIterator(), CombineWithZoomLevel(), SNetServerImpl::ConnectAndExec(), CSubAnnotationPanel::Create5ColFeatTable(), createAnnot(), CTableAnnotDataSource::CreateFeature(), AlignmentSet::CreateFromMultiple(), CEntrezDB::CreateGene_Gene(), CEntrezDB::CreateGeneSet_Gene(), CAlignCleanup::CreatePairwiseFromMultiple(), CAlnMultiModel::CreateRows(), CGlShader::CreateShader(), CTableAnnotDataSource::CreateSnpFeature(), CTableAnnotDataSource::CreateSnps(), CSequenceTrackFactory::CreateTracks(), CVCFVariantList::CVCFVariantList(), CVCFVariantList::DeserializeAndCheck(), AlignmentUtility::DoLeaveNOut(), AlignmentUtility::DoLeaveOneOut(), CAlgoToolManagerBase::DoTransition(), COpenViewManager::DoTransition(), CBLASTToolManager::DoTransition(), CAutoColValidatortaxid::DoValidate(), CAutoColValidatororgname::DoValidate(), CAutoColValidatorsubsource::DoValidate(), CAutoColValidatorsubtype::DoValidate(), CAutoColValidatorseqid::DoValidate(), CAutoColValidatordate::DoValidate(), CAutoColValidatorcountry::DoValidate(), CAlignGlyph::DrawPWAlignElem(), CEditingBtnsPanel::EditFeatureEvidence(), CEditingBtnsPanel::EditFeatureLocation(), CTableQueryExec::EvalNext(), CTreeQueryExec::EvalNext(), CQueryFuncPromoteEq::Evaluate(), CQueryFuncPromoteIn::Evaluate(), NAutomation::CAutomationObject::ExecNew(), C5ColObjectLoader::Execute(), CAgpObjectLoader::Execute(), CAssemblyObjectLoader::Execute(), CBedObjectLoader::Execute(), CFastaObjectLoader::Execute(), CGBFlatFileObjectLoader::Execute(), CGBObjectLoader::Execute(), CGffObjectLoader::Execute(), CPhyObjectLoader::Execute(), CPslObjectLoader::Execute(), CRMObjectLoader::Execute(), CTextAlignObjectLoader::Execute(), CVcfObjectLoader::Execute(), CWigObjectLoader::Execute(), CUndoManager::Execute(), CTcpWorker::Execute(), CProjectStorage::Exists(), CBlastDBExtractor::ExtractSeqData(), CEditingActionFlatFile::Find(), CNetCacheBlobTooOldException::GetAge(), CSGAlignmentDS::GetAlignType(), CSeqUtils::GetAssmAccs_Gi(), CSeqUtils::GetAssmIds_GI(), CSeqUtils::GetAssmIds_GIChr(), CAssemblyInfo::GetAssms_Gi(), CRemoveSequencesDlg::GetCommand(), CEditObjectSeq_desc::GetEditCommand(), CEditObjectSeq_feat::GetEditCommand(), CEditObjectSubmit_block::GetEditCommand(), CGenomicCollectionsService::GetEquivalentAssemblies(), GetFeatureFromTableId(), CGencollSvc::GetGCAssembly(), CAlignFormatUtil::GetGeneInfo(), CSeqUtils::GetGiPlacements(), CGeneGroup::GetHTMLActiveAreas(), CLayoutGroup::GetHTMLActiveAreas(), CNetScheduleGetJobImpl< CMainLoopThread::CImpl >::GetJobImmediately(), CBlobSplitterImpl::GetLength(), CSeqUtils::GetLocPlacements(), CProjectStorage::GetObject(), CProjectStorage::GetProject(), CRemoteBlast::GetResultSet(), CApplyRNAITSDlg::GetRNAITSList_AlignCoordFromDlg(), CApplyRNAITSDlg::GetRNAITSList_SeqCoordFromDlg(), CAlignFormatUtil::GetSeqLinkoutInfo(), CVcfTrackFactory::GetSettings(), CFeatGlyph::GetSignature(), CCgi2RCgiApp::GetStatus(), CFlatFileField::GetVal(), CNetCacheBlobTooOldException::GetVersion(), CCleanupApp::HandleSubmitBlock(), CFeatureFilter::Init(), AlignmentUtility::Init(), CPhyTreeView::InitView(), CSeqTextView::InitView(), CViewGraphic::InitView(), CVcfTableView::InitView(), CRemoveUnindexedFeatures::IsLocationUnindexed(), SNetServiceImpl::IterateUntilExecOK(), CTextPanel::Load(), CMultiReader::LoadDescriptors(), CwxTableListCtrl::LoadTableSettings(), CReloadPublications::LookUpByPmid(), CDoiLookup::LookupIsojta(), CSeq_loc_Mapper_Base::Map(), CVisibleRange::Match(), CDB_Exception::Message(), CMacroEditingActionPanel::OnActionTreeItemChanged(), CSelectFeatureDlg::OnButtonLoadFile(), CSelectFeatureDlg::OnButtonSaveFile(), CIndexerAppModeExtension::OnCloseWorkspace(), CGridWidget::OnCopy(), CApplyRNAITSDlg::OnCtrlFromKillFocus(), CApplyRNAITSDlg::OnCtrlToKillFocus(), CValidateFrame::OnDone(), CAlnMultiWidget::OnDSChanged(), CMacroCompoundConstraintPanel::OnEditConstraint(), CCgiRequestProcessor::OnException(), CAttribTableDelimitersPanel::OnExportBtnClick(), CGridWidget::OnExportToCSV(), CSelectFeatureDlg::OnFeatureEdit(), CCrossAlnDemoDlg::OnFileClick(), CAlignMultipleDemoDlg::OnFileClick(), CHitMatrixDemoDlg::OnFileClick(), CUpdateSeq_Dlg::OnIdle(), CAlignTabExportPage2::OnIdle(), CAuthorNamesPanel::OnImportAuthorsAffiliationHyperlinkClicked(), CSubAnnotationPanel::OnImportFeatTableClick(), CPhyloTreeWidget::OnLoadAttributes(), CFlatFileDemoDlg::OnLoadFileClick(), CNetScheduleHandler::OnMessage(), CAgpValidateReader::OnObjectChange(), CSubPrep_panel::OnSaveBtnClick(), CMacroFlowEditor::OnSaveCopies(), CTableXformPanel::OnSaveImportParmsClick(), CDataMiningPanel::OnSearchFinished(), CGenBankUIDataSource::Open(), CMacroFlowEditor::OpenEditor(), CAppDialogs::OpenViewlDialog(), CCheckMsg::operator()(), CVisitorAccumulateProperty::operator()(), CFeatureFilter::Pass(), CSequenceEditingEventHandler::PrepareSeqSubmit(), CBiosampleChkApp::ProcessAsnInput(), CBiosampleChkApp::ProcessBioseqHandle(), CBiosampleChkApp::ProcessList(), CGlCgiImageApplication::ProcessRequest(), CEntrezDB::Query(), CPsiBlastValidate::QueryFactory(), CMacroEngine::ReadAndParseMacros(), CMacroEngineParallel::ReadAndParseMacros(), CColumnarVCFReader::ReadData(), CBlastInputReader::ReadOneSeq(), CHgvsReader::ReadSeqAnnot(), CColumnarVCFReader::ReadVariantsForChrs(), CSmartFileTextToolbar::ReallyDone(), CUndoManager::Redo(), CObjectManager::RegisterDataLoader(), CVCFVariantList::RemoveSerializedOutput(), CAlnVecRow::RenderColumn(), CAlnMultiPane::RenderVectorGraphics(), CException::ReportStd(), CBlastPrelimSearch::Run(), CAsnExportJob::Run(), CDataLoadingAppJob::Run(), CProjectServiceTestJob::Run(), CAlignTabExportJob::Run(), CNetBlastSubmittingJob::Run(), CNetBlastMonitoringJob::Run(), CFastaAlignExportJob::Run(), CPhyExportJob::Run(), C5ColExportJob::Run(), CAgpExportJob::Run(), CFastaExportJob::Run(), CFlatFileExportJob::Run(), CGffExportJob::Run(), CGtfExportJob::Run(), CWiggleExportJob::Run(), CEditAppJob::Run(), CBuildAlnVecJob::Run(), CBuildSparseAlnJob::Run(), CTableDataSUCJob::Run(), CTableDataValidateJob::Run(), CTextRetrieveJob::Run(), CBlastDBCmdApp::Run(), CBlastVdbCmdApp::Run(), CGridCommandLineInterfaceApp::Run(), CComponentIDToolApp::Run(), CTableDataVcfJob::Run(), CFlatFileSequenceListJob::Run(), CTax4BlastDemo::Run(), CAnnotWriterApp::Run(), CDiscRepApp::Run(), CTbl2AsnApp::Run(), CSplign::Run(), CMultiAligner::Run(), CBlastInputDemoApplication::Run(), CBlastKmerBuildIndexApplication::Run(), CVDBBlastnApp::Run(), CVDBTblastnApp::Run(), CTAbleValApp::Run(), CTestApplication::Run(), CDbCopyApp::Run(), s_AttachAnnotToScope(), s_AttachEntryToScope(), s_CalculateMatchingColumns(), s_Create5ColFeatTable(), s_DetachAnnotFromScope(), s_DetachEntryFromScope(), s_DoSmartProcessing(), CMacroFunction_LookupPub::s_GetArticleFromEntrezById(), s_GetDBTree(), s_GetExceptionText(), s_GetGeneWeight(), s_GetPubImprint(), s_InitializeViralMap(), CAdjustForConsensusSpliceSite::s_IsAdjustedSpliceSitePairOK(), s_LoadSeqAnnot(), CCassQueryCbRef::s_OnFutureCb(), s_ParseErrCodeInfoStr(), s_ProcessSeqIDsForV5(), s_ReadVCFAssembly(), s_SearchInSeqText(), CSubmissionWizard::SaveFile(), CSequenceEditingEventHandler::SaveSubmissionFile(), CwxTableListCtrl::SaveTableSettings(), CProjectService::SaveWorkspace(), CPkgManager::ScanPackages(), CSeqGraphicPane::SelectSeqLoc(), CVCFVariantList::SerializeVariantData(), CBedReader::SetAutoSql(), CBlastAppArgs::SetOptions(), CBlastAppArgs::SetOptionsForSavedStrategy(), CMultiAligner::SetQueries(), CBlastDBExtractor::SetSeqId(), SetupForUpdate(), SetupQueries_OMF(), SetupSubjects_OMF(), sGetMessageAndReport(), ShowFeedbackDialog(), CSequenceEditingEventHandler::SplitCDSwithTooManyXs(), CMacroFunction_UpdateProteinSeqs::TheFunction(), Translate(), CAlnMultiPane::TTHH_GetTooltip(), CUndoManager::Undo(), CMacroEditor::Update(), CSeqUpdateWorker::UpdateMultipleSequences(), CSeqUpdateWorker::UpdateSingleSequence(), CSeqUpdateWorker::UpdateSingleSequence_Ext(), CMolTypeValidator::Validate(), CGenomicCollectionsService::ValidateChrType(), CAsnvalThreadState::ValidateInput(), CAsnvalThreadState::ValidateOneFile(), CAsnvalThreadState::ValidateWorker(), CNetScheduleNotificationHandler::WaitForJobCompletion(), CGff3Writer::WriteAlign(), CPslWriter::WriteAlign(), CTableAnnotDataSource::WriteAsn(), WriteBlastSeqidlistFile(), CTableXformPanel::x_AddLocations(), CCachedTaxon3::x_AddReplyToCache(), CMSAToolJob::x_AddTreeProjectItem(), CMacroEngine::x_AppendToLibrary(), CMacroEngineParallel::x_AppendToLibrary(), CLocalFileRestorer::x_AttachNewObject(), CCleanupApp::x_BasicAndExtended(), CFileLoadWizard::x_CheckFormatConflict(), CAlignCleanup::x_Cleanup_AlignVec(), CAlignCleanup::x_Cleanup_AnchoredAln(), CUIDataSourceService::x_CloseDataSources(), CJobCommitterThread::x_CommitJob(), CCmdCleanup::x_CreateActionCmd(), CTableXformPanel::x_CreateFeatures(), CBLASTSeqToolJob::x_CreateProjectItems(), CMergeAlignmentsJob::x_CreateProjectItems(), CMSAToolJob::x_CreateProjectItems(), CCleanupJob::x_CreateProjectItems(), CVcfLoadingJob::x_CreateProjectItems(), CWindowMaskerJob::x_CreateProjectItems(), CLocalFileRestorer::x_DetachOrigObject(), CDisplaySeqalign::x_DisplayGeneInfo(), CImportFeatTable::x_DoImportCDS(), CProjectTask::x_DoSaveUserSelected(), CComponentSearchJob::x_DoSearch(), COpenViewDlg::x_DoTransition(), COpenDlg::x_DoTransition(), CRunToolDlg::x_DoTransition(), CAlignGlyph::x_DrawMultiAlign(), CBuildDatabase::x_EndBuild(), CSnpJob::x_Execute(), CSGAlignmentJob::x_Execute(), CSGSeqGraphJob::x_Execute(), CBinsJob::x_Execute(), CHapmapJob::x_Execute(), CLDBlockJob::x_Execute(), CEpigenomicsJob::x_Execute(), CSGFeatureJob::x_Execute(), CGeneModelFeatJob::x_Execute(), CBatchFeatJob::x_Execute(), CSGCalcFeatHistJob::x_Execute(), CSGSegmentMapJob::x_Execute(), CSGSegmentSmearJob::x_Execute(), CVcfFeatureJob::x_Execute(), CQueryParsePanel::x_ExecuteQuery(), CAssemblyInfo::x_FilterTaxIds(), CGenomicCollectionsService::x_FindAssembliesBySequences(), CConfigRegistry::x_Get(), CSGAlignmentJob::x_GetAlignments(), CNAUtils::x_GetAllGIs(), CNAUtils::x_GetAllNAIds(), CNAUtils::x_GetAllNAIdsWithContext(), CAssemblyInfo::x_GetAssmInfo(), CCreateGeneModelTask::x_GetCommand(), CObjectIndex::x_GetFeatureCode(), CDisplaySeqalign::x_GetLinkout(), CNAUtils::x_GetNAEntrezLinks(), CNAUtils::x_GetNAId(), CRelaxedLookupDlg::x_GetPubIds(), CRelaxedLookupDlg::x_GetPubIdsEutils(), CBlastHitMatrixCGIApplication::x_GetSeqAnnot(), CFeatureTrackFactory::x_GetSettings(), CVarTrackFactory::x_GetSettings(), CConfigRegistry::x_HasEntry(), python::CError::x_Init(), TestUtil::CBlastOM::x_InitBlastDatabaseDataLoader(), CBlastScopeSource::x_InitBlastDatabaseDataLoader(), CBlastScopeSource::x_InitGenbankDataLoader(), TestUtil::CBlastOM::x_InitGenbankDataLoader(), CBlastHitMatrix::x_InitGraphics(), CQueryParsePanel::x_IsValidQuery(), CSeqUpdateWorker::x_LaunchSingleUpdateSequence(), CSGAlignStatJob::x_LoadAlignments(), CAlignmentTrack::x_LoadAlignmentSettings(), CSeqGraphicConfig::x_LoadFeatSettings(), CNetBLASTUIDataSource::x_LoadJobDescriptors(), CColumnarVCFReaderApp::x_LoadSerializedData(), CFeaturePanel::x_LoadSettings(), CSegmentMapTrack::x_LoadSettings(), CAlignmentTrack::x_LoadSettings(), CUIToolRegistry::x_LoadTemplateTool(), CColumnarVCFReaderApp::x_LoadVCFFile(), CProjectService::x_LoadWorkspace(), CSeq_id_Resolver__ChrNamesFromGC::x_MapLoc(), CMacroErrorDlg::x_MergeExceptionMessages(), CUIDataSourceService::x_OpenDataSources(), CFeatureTrack::x_ParseSettings(), CIntronTrack::x_ParseSettings(), CVcfTrack::x_ParseSettings(), CFindOverlapJob::x_PrepareAligner(), CBlastDBCmdApp::x_ProcessBatchEntry_NoDup(), CNetScheduleHandler::x_ProcessMsgBatchHeader(), CNetScheduleHandler::x_ProcessMsgBatchJob(), CNetScheduleHandler::x_ProcessMsgBatchSubmit(), CNetScheduleHandler::x_ProcessMsgQueue(), CNetScheduleHandler::x_ProcessMsgRequest(), CBlastDBCmdApp::x_ProcessSearchRequest(), CBlastVdbCmdApp::x_ProcessSearchRequest(), CGridClient::x_ProlongBlobLifetime(), CUpdateMultipleSeq_Input::x_ReadFromStream(), CUpdateSeq_Input::x_ReadFromStream(), CUIToolRegistry::x_ReadToolInfo(), CUpdateSeq_Input::x_ReadUpdateSeq_ASN(), CUpdateMultipleSeq_Input::x_ReadUpdateSeqs_ASN(), CUpdateMultipleSeq_Input::x_ReadUpdateSeqs_Fasta(), CColumnarVCFReaderApp::x_ReadVCFBlob(), CAlnMultiPane::x_Render(), CAlnMultiRenderer::x_Render(), CBlastHitMatrix::x_RenderImage(), CAlnMultiRenderer::x_RenderRow(), CFastaSeqBlockItem::x_RenderText(), CBioseqEditor::x_ReportError(), CException::x_ReportToDebugger(), CWorkspaceAutoSaver::x_RestoreWorkspace(), CNetBlastSubmittingJob::x_Run(), SOfflineJobContextImpl::x_RunJob(), CSmartFileTextToolbar::x_Save(), CNetBLASTUIDataSource::x_SaveJobDescriptors(), CAssemblyInfo::x_SearchIds(), CCDSTranslationPanel::x_SetLocationForProtein(), CProSplignJob::x_SetupAndRuntBlastn(), CQueryParsePanel::x_StartQueryJob(), CAttribTableColumnIdPanel::x_TableReaderCommon(), CAttribTableColumnIdPanel::x_TableReaderMacro(), CHugeFile::x_TryOpenMemoryFile(), CAssemblyListPanel::x_UpdateSearchTerm(), CUpdateMultiSeq_Dlg::x_UpdateSelected(), CSeqEditPackage::x_UpdateValAuxFile(), CBamLoadOptionPanel::x_ValidateInput(), CAssemblyInfo::x_ValidateTaxId(), CSGSegmentSmearJob::x_WriteToCache(), CFastaOstreamEx::x_WriteTranslatedCds(), CAnnotWriterApp::xInitOutputStream(), CAnnotWriterApp::xReadObject(), CBedGraphWriter::xWriteAnnotFeatureTable(), CBedGraphWriter::xWriteAnnotGraphs(), CAlnVecMultiDataSource::~CAlnVecMultiDataSource(), CBDB_RangeMap< TBV >::~CBDB_RangeMap(), CSparseMultiDataSource::~CSparseMultiDataSource(), and CWriteDB_Impl::~CWriteDB_Impl().
|
inline |
Get "previous" exception from the backlog.
Definition at line 1041 of file ncbiexpt.hpp.
References CException::m_Predecessor.
Referenced by CDiagFilter::Check(), CSDB_Exception::GetDBException(), CSDB_Exception::GetRetriable(), CExceptionReporterStream::Report(), CException::ReportAll(), CTbl2AsnApp::Run(), CSynRegistry::TGet(), CMacroErrorDlg::x_FindDataException(), python::CError::x_Init(), CMacroErrorDlg::x_MergeExceptionMessages(), and CNcbiDiag::x_Put().
CRequestContext & CException::GetRequestContext | ( | void | ) | const |
Get the request context in which the exception was thrown.
Definition at line 472 of file ncbiexpt.cpp.
References CException::m_RequestContext.
Referenced by CException::x_Init(), and CNcbiApplicationAPI::x_TryMain().
|
inline |
Definition at line 807 of file ncbiexpt.hpp.
References CExceptionArgs_Base::m_Retriable.
Referenced by CException::x_InitArgs().
|
inlinevirtual |
Retrieve info about ability to retry an action caused the exception.
Reimplemented in CSDB_Exception.
Definition at line 1065 of file ncbiexpt.hpp.
References CException::m_Retriable.
Referenced by CSDB_Exception::GetRetriable().
|
inline |
Definition at line 800 of file ncbiexpt.hpp.
References CExceptionArgs_Base::m_Severity.
Referenced by CSDB_Exception::CSDB_Exception().
|
inline |
Get exception severity.
Definition at line 999 of file ncbiexpt.hpp.
References CException::m_Severity.
Referenced by CSplign::AlignSingleCompartment(), CExceptionReporterStream::Report(), CExceptionReporter::ReportDefaultEx(), CException::ReportStd(), CSplign::Run(), and CNcbiDiag::x_Put().
const CStackTrace * CException::GetStackTrace | ( | void | ) | const |
Get the saved stack trace if available or NULL.
Definition at line 434 of file ncbiexpt.cpp.
References CompareDiagPostLevel(), CException::GetStackTraceLevel(), CException::m_Severity, CException::m_StackTrace, and NULL.
Referenced by CNcbiDiag::x_Put().
|
static |
Get current severity level for saving and printing stack trace.
Definition at line 135 of file ncbiexpt.cpp.
Referenced by CException::GetStackTrace(), and CException::x_GetStackTrace().
|
virtual |
Get class name as a string.
Reimplemented in CInvalidChoiceSelection, CBlobStateException, CErrnoTemplException< CCoreException >, CErrnoTemplExceptionEx< CCoreException, NCBI_NS_NCBI::NcbiErrnoCode, NCBI_NS_NCBI::NcbiErrnoStr >, CInvalidParamException, and CCoreException.
Definition at line 268 of file ncbiexpt.cpp.
Referenced by SFileTrackRequest::GetFileInfo(), GetReplyMessageProperties(), CException::ReportStd(), CDB_Exception::TypeString(), CNetStorageHandler::x_OnMessage(), CNetStorageHandler::x_ProcessGetObjectInfo(), CNetStorageHandler::x_ProcessSetExpTime(), CNcbiDiag::x_Put(), and CException::x_ReportToDebugger().
|
inlineoverridevirtual |
Get class name as a string.
Reimplemented from CException.
Reimplemented in CErrnoTemplException< CCoreException >, and CErrnoTemplExceptionEx< CCoreException, NCBI_NS_NCBI::NcbiErrnoCode, NCBI_NS_NCBI::NcbiErrnoStr >.
Definition at line 1493 of file ncbiexpt.hpp.
|
inlineoverridevirtual |
Get class name as a string.
Reimplemented from CException.
Definition at line 1516 of file ncbiexpt.hpp.
|
inlineoverridevirtual |
Get type of class.
Reimplemented in CErrnoTemplException_Win< TBase >, CErrnoTemplException< TBase >, CErrnoTemplException< CCoreException >, and CErrnoTemplException< CCgiException >.
Definition at line 1624 of file ncbiexpt.hpp.
|
inlineoverridevirtual |
Get type of class.
Reimplemented from CErrnoTemplExceptionEx< TBase, NCBI_NS_NCBI::NcbiErrnoCode, NCBI_NS_NCBI::NcbiErrnoStr >.
Definition at line 1693 of file ncbiexpt.hpp.
|
inlineoverridevirtual |
Get type of class.
Reimplemented from CErrnoTemplExceptionEx< TBase, NCBI_NS_NCBI::CLastErrorAdapt::GetErrCode, NCBI_NS_NCBI::CLastErrorAdapt::GetErrCodeString >.
Definition at line 1723 of file ncbiexpt.hpp.
|
inline |
Check if exception has main text in the chain.
Definition at line 1044 of file ncbiexpt.hpp.
References CException::m_MainText.
Referenced by CNcbiDiag::x_Put().
|
inline |
Definition at line 1185 of file ncbiexpt.hpp.
References eDiag_Info, and CExceptionArgs_Base::SetSeverity().
Referenced by CDockManager::ActivateClients(), CUIDataSourceService::AddDataSource(), CLDS2_Database::AddFile(), CIndexedDb_New::AddIndexInfo(), CProjectService::AddProjectView(), CBamFileInfo::AddRefSeq(), CCSRAFileInfo::AddRefSeq(), SAccGuide::AddRule(), CAppTaskService::AddTask(), AlignmentDisplay::AlignmentDisplay(), AlignmentSet::AlignmentSet(), CUpdateMultipleSeq_Input::AppendOld_UpdateSeqPairs(), CDockManager::ApplyLayout(), CCassQueryList::AttachSlot(), CMSAToolJob::BeforeRun(), CGRPCServerCallbacks::BeginRequest(), BlastHitList2SeqAlign_OMF(), BOOST_AUTO_TEST_CASE(), CSearch< LEGACY, NHITS >::CalcNSort(), CEquivRange::CalcRelative(), CUpdateSeq_Input::CalculateAlignmentForUnitTest(), CAlignSort::CAlignSort(), CTreeQueryExec::CallFunction(), CMacroEngine::CallFunction(), CMacroResolver::CallFunction(), CAppTaskService::CancelTask(), CCassBlobWaiter::CanRestart(), CAV_DisplayMultiple(), CBDB_SplitCursor< BDB_SplitStore, BDB_Vol >::CBDB_SplitCursor(), CBlastDbBioseqSource::CBlastDbBioseqSource(), CBlastLMDBManager::CBlastEnv::CBlastEnv(), CCSraDb_Impl::CCSraDb_Impl(), CGBDocument::CGBDocument(), CBDB_Env::CleanLog(), CBDB_Cache::Close(), CNetBLASTUIDataSource::Close(), CWriteDB_Impl::Close(), CBam2Seq_graph::CollectCoverage(), CBam2Seq_graph::CollectRawAccessCoverage(), CNcbiTestApplication::CollectTestUnit(), CUnorderedSplitter::CombineAlignments(), CBDB_RawFile::CompactEx(), CompressAssembly(), CLDS2_Database::Create(), CSubAnnotationPanel::Create5ColFeatTable(), CBamRefSeqInfo::CreateChunks(), CPSG_Blob_Task::CreateLoadedChunks(), CTableReaderMacro::CreateMacros(), CGBDocument::CreateProjectScope(), CSeqDBImpl::CSeqDBImpl(), CTextPanel::CTextPanel(), CVCFVariantList::CVCFVariantList(), DbIndexInit(), CGlFeedbackFont::DecodeText(), DeleteBlastDb(), CLDS2_Database::DeleteFile(), CVCFVariantList::DeserializeAndCheck(), CSampleJob::Do(), CPSG_LoadChunk_Task::DoExecute(), CBDB_CheckPointThread::DoJob(), CAlgoToolManagerBase::DoTransition(), CNcbiApplicationAPI::DryRun(), AlignmentDisplay::DumpCondensed(), DumpSeqEntries(), CGlUtils::DumpState(), CDumpASNIndex::DumpTiming(), CBioseqEditor::EditSelection(), EnabledDelayBuffers(), CNcbiEnvRegMapper::EnvToReg(), CTableQueryExec::EvalNext(), CTreeQueryExec::EvalNext(), CMacroEngineParallel::Exec(), CAsnObjectLoader::Execute(), CPhyloTreeDataSource::ExecuteStringQuery(), CProjectStorage::Exists(), CSplitSeqAlignMerger::GenerateAlignments(), CInstancedAligner::GenerateAlignments(), CBlastAligner::GenerateAlignments(), CRemoteBlastAligner::GenerateAlignments(), CMergeAligner::GenerateAlignments(), CMergeTreeAligner::GenerateAlignments(), CDataTool::GenerateCode(), CLoadInfoMap< Key, Info >::Get(), CGlUtils::GetAccelerated(), CSQLITE3_Cache::GetAccessTime(), CGenomicCollectionsService::GetAssembly(), CPSGDataLoader_Impl::GetBlobByIdOnce(), CSQLITE3_Cache::GetBlobOwner(), CSNPDataLoader_Impl::GetChunkOnce(), CWGSDataLoader_Impl::GetFileInfoByGi(), CWGSDataLoader_Impl::GetFileInfoByProtAcc(), CCassConnectionFactory::GetHostPort(), CSubmissionWizard::GetInstance(), CMTreeItemDataBuilder::GetMActionType(), CGBProjectHandle::GetNextId(), CSNPDataLoader_Impl::GetOrphanAnnotRecordsOnce(), CSnpPtisClient_Impl::GetPrimarySnpTrackForAccVer(), CSnpPtisClient_Impl::GetPrimarySnpTrackForGi(), CProjectView::GetSelection(), CSQLITE3_Cache::GetSize(), CDataCrawlerCache::GetState(), CPosToIndex::GetStatistics(), CVCFVariantList::GetStatistics(), CMacroEngine::GetSynonymFilenames(), CNetBLASTUILoadManager::GetTask(), CTaxTreeDS_ObjMgr::GetTaxMap(), CFormatGuessEx::GuessFormat(), CSampleJobCleanupListener::HandleEvent(), CDB_UserHandler_Diag::HandleIt(), CSDB_UserHandler::HandleIt(), CMessageHandlerDefault::HandleMessage(), CQueryImpl::HasMoreResultSets(), NAdapterSearch::CPairedEndAdapterDetector::CConsensusPattern::InferConsensus(), CWorkbench::Init(), CFeatureFilter::Init(), CTestBMApp::Init(), CSNPFileInfo::InitializeDb(), CSetupFactory::InitializeMegablastDbIndex(), SNetCacheAPIImpl::InitiateWriteCmd(), CDataMiningService::InitService(), CProjectService::InitService(), CSelectionService::InitService(), CUIDataSourceService::InitService(), CVisibleRangeService::InitService(), CViewManagerService::InitService(), CViewGraphic::InitView(), InsertList(), CTMS_SupportedAssemblies_Client::IsAssemblySupported(), CBamRefSeqInfo::LoadAlignChunk(), CCSRARefSeqInfo::LoadAnnotAlignChunk(), CSNPSeqInfo::LoadAnnotBlob(), CSNPSeqInfo::LoadAnnotChunk(), CCSRARefSeqInfo::LoadAnnotMainChunk(), CCSRARefSeqInfo::LoadAnnotPileupChunk(), CSNPDataLoader_Impl::LoadBlob(), CWGSFileInfo::LoadBlob(), CWGSFileInfo::LoadChunk(), CNcbiApplicationAPI::LoadConfig(), CSpectrumSet::LoadDTA(), LoadFileForSubmission(), CRemoteBlast::LoadFromArchive(), CAsnObjectLoader::LoadFromStream(), CSpectrumSet::LoadMGF(), CSpectrumSet::LoadMultBlankLineDTA(), CSpectrumSet::LoadMultDTA(), CBamRefSeqInfo::LoadPileupChunk(), CCSRARefSeqInfo::LoadRanges(), CCSRAFileInfo::LoadReadsBlob(), CCSRARefSeqInfo::LoadRefSeqChunk(), CBamRefSeqInfo::LoadSeqChunk(), CObjectListWidgetSel::LoadSettings(), CEditingBtnsPanel::LoadSettings(), CTestApplication::LoadTable(), CTableImportDataSource::LoadTable(), CUIToolRegistry::LoadTemplateToolsInfo(), LogCallback(), CTableImportColumn::LogColumnInfo(), CTableImportDataSource::LogColumnInfo(), CTableDelimiterRules::LogDelims(), CNGAlignParams::LogDump(), CTableImportDataSource::LogFixedFieldWidths(), PT::CItem::LogInstanceCount(), CDockLayoutTree::LogPost(), CDockContainer::LogPostTrees(), LogRequest(), CMacroStat::LogStart(), CMacroStat::LogStop(), CSQLITE3_Cache::CWriterThread::Main(), CConnTestThread::Main(), CFileCode::ModifiedByUser(), ILineReader::New(), OMSSACallback(), CSeqGraphicDemoDlg::OnAccClick(), CMacroAddConstraint::OnAccept(), CFrameworkDemoGUI::OnActiveClientChanged(), CFrameworkDemoGUI::OnClientAboutToClose(), CFrameworkDemoGUI::OnClientClosed(), CBioseqEditor::OnCreateBiosourceDesc(), CBioseqEditor::OnCreateBiosourceFeat(), CBioseqEditor::OnCreateDescriptor(), CBioseqEditor::OnCreateFeature(), CSeqGraphicWidget::OnDataChanged(), CFrameworkDemoGUI::OnDiagnosticsTimer(), CBioseqEditor::OnEditBiosourceDesc(), CBioseqEditor::OnEditBiosourceFeat(), CGridControlThread::OnExit(), CWorkerNodeIdleThread::OnExit(), CUpdateMultiSeq_Dlg::OnIdle(), CQueryParsePanel::OnIdle(), CAuthorNamesPanel::OnImportAuthorsAffiliationHyperlinkClicked(), CFeatureTblFr::OnJobResult(), CMixedStrands::OnJobResult(), CSubAnnotationPanel::OnJobResult(), CEditMacroDlg::OnPrintClick(), CEditMacroDlg::OnPrintParallelClick(), CBioseqEditor::OnPropagateAllFeatures(), CBioseqEditor::OnPropagateSelectedFeatures(), CTaxTreeTestDlg::OnSubmitClick(), CNetBLASTUIDataSource::Open(), CGenBankUIDataSource::Open(), CBDB_Cache::Open(), CSQLITE3_Cache::Open(), CChunkFile::OpenForWrite(), CSeqIdChunkFile::OpenForWrite(), CBDB_Cache::OpenReadOnly(), CAppDialogs::OpenViewlDialog(), visitor_paste_subtree::operator()(), CHttpCookie::Parse(), CFeatureFilter::Pass(), PatchTargetSequence(), CCassConnection::Perform(), CAppPopup::PopupURL(), CLogPerformance::Post(), CBLASTParams::PrintParams(), CReadDispatcher::Process(), CProcessor_ID2::ProcessData(), CBam2GraphApp::ProcessFile(), CGlCgiImageApplication::ProcessRequest(), CNetCacheBlobFetchApp::ProcessRequest(), CBDB_Cache::Purge(), CSQLITE3_Cache::Purge(), CGlimmerReader::Read(), CMSPeak::Read(), CSQLITE3_Cache::Read(), CMSPeak::ReadAndProcess(), CColumnarVCFReader::ReadData(), CVDBCursor::ReadElements(), CColumnarVCFReader::ReadVariantsForChrs(), CMSHit::RecordMatchesScan(), CViewManagerService::RegisterFactory(), CDataMiningService::RegisterTool(), CSGAlignmentDS::ReleaseMemory(), CFileObsolete::Remove(), CGBDocument::RemoveDataLoader(), CVCFVariantList::RemoveSerializedOutput(), ReportMemoryUsage(), CPhyloTreeDataSource::ReRootMidpoint(), CNcbiArguments::Reset(), CPluginManager< TClass >::ResolveFile(), CFrameworkDemoGUI::RestoreWindowLayout(), CDbapiSimpleApp::RetrieveData(), CSeqDBAtlas::ReturnMemoryFile(), CAsnExportJob::Run(), CDataLoadingAppJob::Run(), CProjectServiceTestJob::Run(), CAlignTabExportJob::Run(), CFastaAlignExportJob::Run(), CPhyExportJob::Run(), C5ColExportJob::Run(), CAgpExportJob::Run(), CFastaExportJob::Run(), CFlatFileExportJob::Run(), CGffExportJob::Run(), CGtfExportJob::Run(), CWiggleExportJob::Run(), CEditAppJob::Run(), CNgAlignApp::Run(), CMkIndexApplication::Run(), CReadresult::Run(), COMSSA::Run(), CSplignApp::Run(), CSeqDescrRetrievalJob::Run(), CAnnotMetaDataJob::Run(), CSampleIdleTask::Run(), SGridWorkerNodeImpl::Run(), CXcompareAnnotsApplication::Run(), CAsnCacheTestApplication::Run(), CAsnSubCacheCreateApplication::Run(), CWalkAsnCacheApplication::Run(), CBDBEnvKeeperApp::Run(), BlastdbCopyApplication::Run(), CGi2TaxIdApp::Run(), CTestApplication::Run(), CEntrez2ClientApp::Run(), CGridClientSampleApp::Run(), CRemoteAppClientSampleApp::Run(), CConvImageApp::Run(), CSubImageApp::Run(), CBDB_Env::RunBackgroundWriter(), CTableReaderMacro::RunMacro(), CDiscrepancyContext::RunTests(), s_ConvertSeverity(), s_Create5ColFeatTable(), s_CreateAlign(), s_CreateHandler(), s_CreateNAChunk(), s_DeleteDBFile(), s_DeleteMakeprofileDb(), s_Dump(), s_DumpSparse(), s_DumpZero(), CAscii85::s_Encode(), s_GetDBTree(), CApplyFeatTableTreeItemData::s_GetFunction(), CApplyCDSGeneProtTableTreeItemData::s_GetFunction(), CApplyRNATableTreeItemData::s_GetFunction(), CApplySrcTableTreeItemData::s_GetFunction(), CApplyStrCommTableTreeItemData::s_GetFunction(), CApplyPubTableTreeItemData::s_GetFunction(), CApplyDBlinkTableTreeItemData::s_GetFunction(), CApplyMolinfoTableTreeItemData::s_GetFunction(), CApplyMiscTableTreeItemData::s_GetFunction(), s_HTMLEncode(), s_InitializeSubject(), s_LoadSeqAnnot(), s_LogEnvParam(), s_Match_id(), s_SearchInSeqText(), s_UpdateLocalFile(), SAccGuide::SAccGuide(), CEditingBtnsPanel::SaveSettings(), CViewGraphic::SaveSettingsAtProject(), CPkgManager::ScanPackages(), CSearch< LEGACY, NHITS >::Search(), CCompareSeqRegions::SelectMatches(), CFeedbackReport::SendFeedback(), CGBenchService::SendFeedbackReport(), SequenceSet::SequenceSet(), CVCFVariantList::SerializeVariantData(), CSeq_id::Set(), CTableImportDataSource::SetColumnHeaderRow(), CTableImportDataSource::SetCommentChar(), CTableImportDataSource::SetFirstImportRow(), CTableImportDataSource::SetHeaderAndFirstRow(), CLoadLockSetter::SetLoaded(), CReaderRequestResult::SetLoadedAcc(), CReaderRequestResult::SetLoadedAccFromSeqIds(), CReaderRequestResult::SetLoadedBlobIds(), CReaderRequestResult::SetLoadedBlobIdsFromZeroGi(), CReaderRequestResult::SetLoadedBlobState(), CReaderRequestResult::SetLoadedBlobVersion(), CReaderRequestResult::SetLoadedGi(), CReaderRequestResult::SetLoadedGiFromSeqIds(), CReaderRequestResult::SetLoadedHash(), CReaderRequestResult::SetLoadedLabel(), CReaderRequestResult::SetLoadedLabelFromSeqIds(), CReaderRequestResult::SetLoadedLength(), CReaderRequestResult::SetLoadedSeqIds(), CReaderRequestResult::SetLoadedSeqIdsFromZeroGi(), CReaderRequestResult::SetLoadedTaxId(), CReaderRequestResult::SetLoadedType(), SetLogFile(), CSearch< LEGACY, NHITS >::SetResult(), CLoadLockSetter::SetSeq_entry(), COMSSABase::SetThreadCount(), ShowFeedbackDialog(), CWorkbench::ShutDown(), CSchedulerEngine::ShutDown(), CDataMiningService::ShutDownService(), CProjectService::ShutDownService(), CSelectionService::ShutDownService(), CVisibleRangeService::ShutDownService(), CViewManagerService::ShutDownService(), AlignmentDisplay::Squeeze(), CBDB_Cache::StartPurgeThread(), CSearchToolBase::StartSearch(), CSQLITE3_Cache::CWriterThread::Stop(), CBDB_Env::StopBackgroundWriterThread(), CBDB_Cache::StopPurgeThread(), CMacroLib::StoreSynonymList(), sx_Update(), UncomressAndCreate(), CMacroEditor::Update(), CAttribTableDelimitersPanel::UpdateDelimiters(), CTableDelimitersPanel::UpdateDelimiters(), CLDS2_Database::UpdateFile(), SPSG_Request::UpdateItem(), CSubmissionWizard::UpdateOnPageChange(), CTableXformPanel::x_AddLocations(), CNetBLASTUIDataSource::x_AutoStartMonitoring(), CBlastUsageReport::x_CheckBlastUsageEnv(), CRemoteBlast::x_CheckResultsDC(), CUIDataSourceService::x_CloseDataSources(), CGencollService::x_Connect(), CQualTableLoadManager::x_ConvertToSeqAnnot(), CTableImportWizard::x_ConvertToSeqAnnot(), CSeq_id_Resolver__ChrNamesFromGC::x_Create(), CImportFeatTable::x_CreateCommand(), CBamLoadingJob::x_CreateDataLoader(), x_CreateEmptyLocalCDDEntry(), CTableXformPanel::x_CreateFeatures(), CFrameworkDemoApp::x_CreateGUI(), CHitMatrixDataSource::x_CreateHit(), CProjectServiceTestJob::x_CreateItems(), CCleanupTool::x_CreateLoadingJob(), x_CreateLocalCDDEntryChunk(), CGBankLoadingJob::x_CreateProjectItems(), CBLASTSeqToolJob::x_CreateProjectItems(), CCreateNeedlemanWunschJob::x_CreateProjectItems(), CFindOverlapJob::x_CreateProjectItems(), CProSplignJob::x_CreateProjectItems(), CBamLoadingJob::x_CreateProjectItems(), CWindowMaskerJob::x_CreateProjectItems(), CNgAlignApp::x_CreateSequenceSet(), CProjectServiceTestJob::x_DeleteItems(), CVCFVariantsBase::x_DeserializeAllData(), CFrameworkDemoApp::x_DestroyGUI(), CProjectTask::x_DoSaveUserSelected(), CComponentSearchJob::x_DoSearch(), CRunToolDlg::x_DoTransition(), CDownloadJob::x_Download(), CDownloadJob::x_DownloadAndExtract(), CSGSegmentMapJob::x_Execute(), CVcfFeatureJob::x_Execute(), CQueryParsePanel::x_ExecuteQuery(), CDataMiningPanel::x_ExecuteSearch(), CSnpJob::x_FetchGraphs(), NAdapterSearch::CUnpairedAdapterDetector::x_FindAdapterSeed(), CWriteDB_OidList::x_Flush(), CVDBValue::x_Get(), CVDBValueFor4Bits::x_Get(), CVDBValueFor2Bits::x_Get(), CTL_LangCmd::x_GetDynamicID(), CSNPDataLoader_Impl::x_GetFileInfo(), CWGSDataLoader_Impl::x_GetFileInfo(), CSnpPtisClient_Impl::x_GetPrimarySnpTrack(), CCompareSeqRegions::x_GetPutativeMatches(), CColumnarVCFLoaderManager::x_GetRefSeqs(), CRemoteBlast::x_GetSearchResultsHTTP(), CPoolBalancer::x_GetServer(), CCorrectRNAStrandDlg::x_GetStatusSMART(), CMacroEngineParallel::x_GetThreadCount(), CBlastVdbCmdApp::x_GetVDBBlastUtil(), CHitMatrixDataSource::x_GoodSeg(), CTableImportWizard::x_GuessColumns(), CMacroWorker::x_HandleOutput(), CGlWidgetPane::x_Handlers_handle(), CWriteDB_TaxID::x_IncreaseEnvMapSize(), CWriteDB_LMDB::x_IncreaseEnvMapSize(), CGFFReader::x_Info(), CCassandraException::x_Init(), CUIDataSourceService::x_InitDataSourceTypes(), CUIDataSourceService::x_InitDefaultDataSources(), CRemoteBlast::x_InitDiskCache(), CCSRAFileInfo::x_Initialize(), CWGSFileInfo::x_Initialize(), CUnicodeToAsciiTranslation::x_Initialize(), CSeq_loc_Mapper_Base::x_InitializeLocs(), CDataCrawlerCache::x_InitICache(), CUIDataSourceService::x_InitLoadManagers(), CQueryParsePanel::x_IsValidQuery(), CwxNCBIApp::x_LoadGuiRegistry(), CNetBLASTUIDataSource::x_LoadJobDescriptors(), CPkgManager::x_LoadPackage(), CBamRefSeqInfo::x_LoadRangesCov(), CBamRefSeqInfo::x_LoadRangesScan(), CBamRefSeqInfo::x_LoadRangesStat(), CCSRARefSeqInfo::x_LoadRangesStat(), CProjectService::x_LoadWorkspace(), BlastdbCopyApplication::x_MakeDBwIDList(), CSnpJob::x_MakeHistogramFromFtable(), CProjectServiceTestJob::x_ModifyItems(), CBDB_SplitCursor< BDB_SplitStore, BDB_Vol >::x_NextVolume(), CFeaturePanel::x_OnColorIconClicked(), CFeaturePanel::x_OnDecorationIconClicked(), CFeaturePanel::x_OnLabelIconClicked(), CFeaturePanel::x_OnLayoutIconClicked(), CWorkspaceAutoSaver::x_OnSave(), CFeaturePanel::x_OnSizeIconClicked(), CUIDataSourceService::x_OpenDataSources(), CReadIndexSpeedApp::x_PreReadIndex(), CBlastVdbCmdApp::x_PrintBlastDatabaseInformation(), CProjectServiceTestJob::x_PrintItems(), CSequenceUpdater::x_PrintNewEntryIds(), CMacroCompoundConstraintPanel::x_PrintState(), CBlastVdbCmdApp::x_PrintVDBPaths(), CId2ReaderBase::x_ProcessGetBlob(), CId2ReaderBase::x_ProcessGetSplitInfo(), CMakeClusterDBApp::x_ProcessInputFile(), CPSGDataLoader_Impl::x_ReadBlobData(), CBGZFFile::x_ReadBlock(), CPSGDataLoader_Impl::x_ReadCDDChunk(), CTar::x_ReadEntryInfo(), CPagedFile::x_ReadPage(), CReader::x_ReportDisconnect(), CScope_Impl::x_ReportNewDataConflict(), CSDB_ConnectionParam::x_ReportOverride(), CSatInfoSchema::x_ResolveServiceName(), CProjectServiceTestTask::x_Run(), CNetBlastSubmittingJob::x_Run(), CInstancedAligner::x_RunAligner(), CGBDocument::x_SaveFile(), CwxNCBIApp::x_SaveGuiRegistry(), CNetBLASTUIDataSource::x_SaveJobDescriptors(), CFeatureSearchJob::x_SearchFeatures(), CVCFVariantsBase::x_SerializeData(), CSeqDBOIDList::x_Setup(), CDataLoadersUtil::x_SetupASNCacheDataLoader(), CDataLoadersUtil::x_SetupBlastDataLoader(), CDataLoadersUtil::x_SetupGenbankDataLoader(), CDataLoadersUtil::x_SetupLDS2DataLoader(), CWindowManagerService::x_ShowToolBar(), CWorkbench::x_ShutDownServices(), CDataCrawlerCache::x_StartHeartbeat(), CAlignTabExportPage2::x_StartNAAlignNamesJob(), CQueryParsePanel::x_StartQueryJob(), CSubmissionWizard::x_StepBackward(), CSubmissionWizard::x_StepForward(), CDataCrawlerCache::x_StopHeartbeat(), SGridWorkerNodeImpl::x_StopWorkerThreads(), CAttribTableColumnIdPanel::x_TableReaderMacro(), CBDB_Cache::x_TruncateDB(), CBLASTSearchOptionsPanel::x_UpdateDBCombo(), CAssemblyListPanel::x_UpdateSearchTerm(), CPkgManager::x_ValidatePackage(), CReadIndexSpeedApp::x_WalkIndex(), SGridWorkerNodeImpl::x_WNCleanUp(), CSchedulerEngine::x_WorkOnThread(), CDumpASNIndex::x_WriteBlob(), CEditObjectFeaturePropagate::xGetEditCommandAllSequences(), CUCSCRegionReader::xParseFeatureUCSCFormat(), CReader::CDebugPrinter::~CDebugPrinter(), CGBDocument::~CGBDocument(), CObjectPool< C >::~CObjectPool(), CSQLITE3_Cache::~CSQLITE3_Cache(), CTaxonCache::~CTaxonCache(), CTextPanel::~CTextPanel(), CTextRetrieveJob::~CTextRetrieveJob(), CWorkerNodeControlServer::~CWorkerNodeControlServer(), and SW::~SW().
Check if the flag is set.
Definition at line 1050 of file ncbiexpt.hpp.
References CException::m_Flags.
Referenced by CNcbiDiag::x_Put().
|
inline |
Definition at line 804 of file ncbiexpt.hpp.
References CExceptionArgs_Base::m_Module.
Referenced by CException::x_InitArgs().
|
inline |
Definition at line 1221 of file ncbiexpt.hpp.
Definition at line 1220 of file ncbiexpt.hpp.
|
inline |
Get native numeric value of the error.
Definition at line 159 of file ncbierror.hpp.
References CNcbiError::m_Native.
Referenced by operator<<().
Definition at line 793 of file ncbiexpt.cpp.
References _T_STDSTRING, NcbiSys_strerror, NcbiSys_strerror_s, CStaticTls< TValue >::SetValue(), and tmp.
Referenced by operator<<().
|
inline |
Definition at line 1527 of file ncbiexpt.hpp.
Definition at line 1528 of file ncbiexpt.hpp.
References strerror().
|
inlinevirtual |
Implements CExceptionArgsManip.
Definition at line 834 of file ncbiexpt.hpp.
|
inlinevirtual |
Implements CExceptionArgsManip.
Definition at line 1224 of file ncbiexpt.hpp.
References Module::m_Module, and CExceptionArgs_Base::SetModule().
|
inlinevirtual |
Implements CExceptionArgsManip.
Definition at line 1242 of file ncbiexpt.hpp.
References Retriable::m_Retriable, and CExceptionArgs_Base::SetRetriable().
|
pure virtual |
Implemented in Retriable, Module, and CExceptionArgsManip_Wrapper.
CNcbiOstream& operator<< | ( | CNcbiOstream & | str, |
const CNcbiError & | err | ||
) |
Serialize error code + description provided by OS + extra string data.
Definition at line 325 of file ncbierror.cpp.
References CNcbiError::Category(), CNcbiError::Code(), CNcbiError::eGeneric, CNcbiError::eMsWindows, CNcbiError::Extra(), CLastErrorAdapt::GetErrCodeString(), CNcbiError::Native(), Ncbi_strerror(), and str().
|
private |
Private assignment operator to prohibit assignment.
|
inline |
Assignment.
Definition at line 179 of file ncbierror.hpp.
References CNcbiError::m_Category, CNcbiError::m_Code, CNcbiError::m_Extra, and CNcbiError::m_Native.
|
inline |
Definition at line 849 of file ncbiexpt.hpp.
|
inline |
Definition at line 855 of file ncbiexpt.hpp.
CExceptionArgs<TErrCode> operator| | ( | TErrCode | err_code, |
const CExceptionArgsManip & | manip | ||
) |
Exception manipulators. Can be combined with error code using operator|().
Definition at line 1153 of file ncbiexpt.hpp.
CExceptionArgs<TErrCode> operator| | ( | TErrCode | err_code, |
const CExceptionArgsManip_Wrapper & | manip | ||
) |
Definition at line 1163 of file ncbiexpt.hpp.
void CException::Report | ( | const CDiagCompileInfo & | info, |
const string & | title, | ||
CExceptionReporter * | reporter = 0 , |
||
TDiagPostFlags | flags = eDPF_Exception |
||
) | const |
Report the exception.
Report the exception using "reporter" exception reporter. If "reporter" is not specified (value 0), then use the default reporter as set with CExceptionReporter::SetDefault.
Definition at line 357 of file ncbiexpt.cpp.
References flags, info, CExceptionReporter::Report(), and CExceptionReporter::ReportDefault().
|
virtual |
Report specified exception on output stream.
Implements CExceptionReporter.
Definition at line 720 of file ncbiexpt.cpp.
References file, flags, CException::GetClass(), CException::GetFunction(), CException::GetModule(), CException::GetPredecessor(), CException::GetSeverity(), CExceptionReporterStream::m_Out, NULL, CException::ReportThis(), and SDiagMessage::Write().
|
pure virtual |
Report CException with _this_ reporter.
Implemented in CExceptionReporterStream.
Referenced by CException::Report(), and CExceptionReporter::ReportDefaultEx().
string CException::ReportAll | ( | TDiagPostFlags | flags = eDPF_Exception | ) | const |
Report all exceptions.
Report as a string all exceptions. Include full backlog.
Definition at line 370 of file ncbiexpt.cpp.
References eDPF_Exception, flags, CException::GetPredecessor(), CException::m_InReporter, NCBI_CURRENT_FUNCTION, CExceptionReporter::ReportDefault(), and CException::sm_BkgrEnabled.
Referenced by CDUpdater::blast(), BOOST_AUTO_TEST_CASE(), CAlgoToolManagerBase::DoTransition(), CBLASTToolManager::DoTransition(), CBlastAligner::GenerateAlignments(), CRemoteBlastAligner::GenerateAlignments(), CProjectStorage::GetObject(), CBLASTDatabases::Load(), CTestApplication::LoadTable(), main(), CMergeTreeThread::Main(), CSelectFeatureDlg::OnButtonLoadFile(), CSelectFeatureDlg::OnButtonSaveFile(), CCrossAlnDemoDlg::OnFileClick(), CAlignMultipleDemoDlg::OnFileClick(), CHitMatrixDemoDlg::OnFileClick(), CFlatFileDemoDlg::OnLoadFileClick(), CEditMacroDlg::OnPrintClick(), CEditMacroDlg::OnPrintParallelClick(), CEditMacroDlg::OnRunClick(), CMacroEngine::ReadAndParseMacros(), CMacroEngineParallel::ReadAndParseMacros(), ReadAnnotFromFile(), ReadEntryFromFile(), ReadFastaSeqsFromFile(), CCgi2RCgiApp::ReadJob(), CDUpdater::reformatBioseq(), CLegend::Render(), CPieGraph::Render(), CScatterGraph::Render(), CAsnvalThreadState::ReportReadFailure(), CUsageReportJob::ReportUsage(), CDataLoadingAppJob::Run(), CProjectServiceTestJob::Run(), CNetBlastSubmittingJob::Run(), CNetBlastMonitoringJob::Run(), CEditAppJob::Run(), CDownloadJob::Run(), CBuildAlnVecJob::Run(), CBuildSparseAlnJob::Run(), CNgAlignApp::Run(), CTableReaderMacro::RunMacro(), CBlastArgs::s_CreateBlastOptions(), s_GetMaskLoc(), CClippedScorer::ScoreAlignments(), sGetMessageAndReport(), CMacroLib::StoreSynonymList(), CDUpdater::submitBlast(), CNgAlignApp::x_AddFilters(), CMacroEngine::x_AppendToLibrary(), CMacroEngineParallel::x_AppendToLibrary(), CRunToolDlg::x_DoTransition(), CDownloadJob::x_Download(), CDownloadJob::x_DownloadAndExtract(), CIdMapperTestApp::x_HandleFeatures(), CNgAlignApp::x_LoadExternalSequences(), CTreeAlignMerger::x_MakeSeqAlign(), CInversionMergeAligner::x_MergeSeqAlignSet(), CMergeAligner::x_MergeSeqAlignSet(), CHugeFileDemoApp::x_ProcessFileTraditionally(), CSplignApp::x_ProcessPair(), CSoapServerApplication::x_ProcessSoapRequest(), CIdMapperTestApp::x_RecurseMapSeqAligns(), CInstancedAligner::x_RunAligner(), CInstancedAligner::x_RunCleanup(), CInstancedAligner::x_RunMMGlobal(), CVariationNormalization_base< T >::x_Shift(), and CGff3Writer::xWriteNucleotideFeature().
|
static |
Report exception using default reporter.
Definition at line 670 of file ncbiexpt.cpp.
References flags, info, and CExceptionReporter::ReportDefaultEx().
Referenced by CException::Report(), and CException::ReportAll().
|
static |
Report exception using default reporter and particular error code and subcode when writing to diagnostics.
Definition at line 676 of file ncbiexpt.cpp.
References ErrCode, flags, CException::GetSeverity(), info, CExceptionReporter::Report(), CNcbiDiag::SetOmitStackTrace(), CExceptionReporter::sm_DefEnabled, and CExceptionReporter::sm_DefHandler.
Referenced by CExceptionReporter::ReportDefault().
|
virtual |
Report "non-standard" attributes.
Report "non-standard" attributes (those of derived class) into the "out" stream.
Reimplemented in CRowReaderException, CSerialException, CBadResiduesException, CLoaderException, CErrnoTemplExceptionEx< CCoreException, NCBI_NS_NCBI::NcbiErrnoCode, NCBI_NS_NCBI::NcbiErrnoStr >, and CSDB_Exception.
Definition at line 428 of file ncbiexpt.cpp.
Referenced by CException::ReportThis(), s_GetExceptionText(), and CException::x_ReportToDebugger().
|
inlineoverridevirtual |
Report error number on stream.
Definition at line 1616 of file ncbiexpt.hpp.
void CException::ReportStd | ( | ostream & | out, |
TDiagPostFlags | flags = eDPF_Exception |
||
) | const |
Report "standard" attributes.
Report "standard" attributes (file, line, type, err.code, user message) into the "out" stream (this exception only, no backlog).
Definition at line 409 of file ncbiexpt.cpp.
References flags, SDiagMessage::fNoEndl, SDiagMessage::fNoPrefix, CException::GetClass(), CException::GetErrCodeString(), CException::GetFile(), CException::GetFunction(), CException::GetLine(), CException::GetModule(), CException::GetMsg(), CException::GetSeverity(), CException::GetType(), NULL, out(), text(), and SDiagMessage::Write().
Referenced by CException::ReportThis().
string CException::ReportThis | ( | TDiagPostFlags | flags = eDPF_Exception | ) | const |
Report this exception only.
Report as a string this exception only. No backlog is attached.
Definition at line 397 of file ncbiexpt.cpp.
References flags, IsOssEmpty(), CException::ReportExtra(), CException::ReportStd(), and string.
Referenced by CGridCommandLineInterfaceApp::Automation_DebugConsole(), CGridCommandLineInterfaceApp::Automation_PipeServer(), CTableImportDataSource::ConvertToSeqAnnot(), SDataOnlyCopy::Process(), CExceptionReporterStream::Report(), and CGridCommandLineInterfaceApp::Run().
|
inline |
Definition at line 1239 of file ncbiexpt.hpp.
|
static |
Set last error using native error code enum.
code | Error code |
extra | Additional information |
Definition at line 160 of file ncbierror.cpp.
References CNcbiError::x_Init().
Referenced by CEndpointKey::CEndpointKey(), CDirEntry::Copy(), CMemoryFileSegment::Flush(), CSystemInfo::GetAvailPhysicalMemorySize(), CSystemInfo::GetClockTicksPerSecond(), CCurrentProcess::GetFileDescriptorsCount(), CProcess::GetFileDescriptorsCount(), CWinSecurity::GetFilePermissions(), GetMemoryUsage(), CCurrentProcess::GetMemoryUsage(), CProcess::GetMemoryUsage(), CCurrentProcess::GetThreadCount(), CProcess::GetThreadCount(), CCurrentProcess::GetTimes(), CProcess::GetTimes(), CSystemInfo::GetTotalPhysicalMemorySize(), CSystemInfo::GetUptime(), GetVirtualMemoryLimitHard(), GetVirtualMemoryLimitSoft(), CSystemInfo::GetVirtualMemoryPageSize(), CProcess::KillGroupById(), MemoryAdvise(), CDirEntry::NormalizePath(), s_CheckAccessPath(), s_GetFileSecurityDescriptor(), s_Win_GetMemoryCounters(), CDirEntry::StringToMode(), CMemoryFileSegment::Unmap(), x_GetAccountSidByName(), and CProcess::x_GetHandle().
Set last error using native error code enum.
code | Error code |
extra | Additional information |
Definition at line 184 of file ncbierror.cpp.
References CNcbiError::x_Init().
|
static |
Set last error using native error code enum.
code | Error code |
extra | Additional information |
Definition at line 166 of file ncbierror.cpp.
References CNcbiError::x_Init().
Set last error using native error code enum.
code | Error code |
extra | Additional information |
Definition at line 178 of file ncbierror.cpp.
References CNcbiError::x_Init().
Set last error using native error code enum.
code | Error code |
extra | Additional information |
Definition at line 172 of file ncbierror.cpp.
References CNcbiError::x_Init().
Set class name used for reporting.
Definition at line 1020 of file ncbiexpt.hpp.
References CException::m_Class.
|
static |
Set default reporter.
Definition at line 620 of file ncbiexpt.cpp.
References CExceptionReporter::sm_DefHandler.
|
inline |
Definition at line 793 of file ncbiexpt.hpp.
References CExceptionArgs_Base::m_ErrCode.
Referenced by CExceptionArgs< TErrCode >::CExceptionArgs().
|
static |
Set last error using errno code.
errno_code | "errno" code |
extra | Additional information |
Definition at line 190 of file ncbierror.cpp.
References CNcbiError::x_Init().
Referenced by CFileWriter::Flush(), MemoryAdvise(), CFileReader::Read(), CFileReaderWriter::Read(), s_CheckAccessPath(), CNcbiError::SetFromErrno(), NStr::StringToNonNegativeInt(), sx_NewStringToNonNegativeInt(), CFileWriter::Write(), and CFileReaderWriter::Write().
Set last error using errno code.
errno_code | "errno" code |
extra | Additional information |
Definition at line 214 of file ncbierror.cpp.
References CNcbiError::x_Init().
|
static |
Set last error using errno code.
errno_code | "errno" code |
extra | Additional information |
Definition at line 196 of file ncbierror.cpp.
References CNcbiError::x_Init().
Set last error using errno code.
errno_code | "errno" code |
extra | Additional information |
Definition at line 208 of file ncbierror.cpp.
References CNcbiError::x_Init().
Set last error using errno code.
errno_code | "errno" code |
extra | Additional information |
Definition at line 202 of file ncbierror.cpp.
References CNcbiError::x_Init().
|
inline |
Set flag (add to other flags)
Definition at line 1053 of file ncbiexpt.hpp.
References CException::m_Flags.
|
inline |
Definition at line 796 of file ncbiexpt.hpp.
References flags, and CExceptionArgs_Base::m_Flags.
Referenced by Console().
|
static |
Set last error using current "errno" code.
extra | Additional information |
Definition at line 244 of file ncbierror.cpp.
References CNcbiError::SetErrno().
|
static |
Set last error using current "errno" code.
extra | Additional information |
Definition at line 226 of file ncbierror.cpp.
References CNcbiError::SetErrno().
Set last error using current "errno" code.
extra | Additional information |
Definition at line 238 of file ncbierror.cpp.
References CNcbiError::SetErrno().
|
static |
Set last error using current "errno" code.
extra | Additional information |
Definition at line 232 of file ncbierror.cpp.
References CNcbiError::SetErrno().
|
static |
Set last error using current "errno" code.
extra | Additional information |
Definition at line 220 of file ncbierror.cpp.
References CNcbiError::SetErrno().
Referenced by CDirEntry::CheckAccess(), CSystemInfo::GetClockTicksPerSecond(), CDir::GetEntriesPtr(), CCurrentProcess::GetMemoryUsage(), CCurrentProcess::GetTimes(), CDirEntry::GetType(), GetVirtualMemoryLimitHard(), GetVirtualMemoryLimitSoft(), CSystemInfo::GetVirtualMemoryPageSize(), CProcess::Kill(), CProcess::KillGroup(), CProcess::KillGroupById(), s_CheckAccessPath(), SetHeapLimit(), SetMemoryLimit(), SetMemoryLimitHard(), SetMemoryLimitSoft(), CDirEntry::SetOwner(), CProcess::Wait(), and CTar::x_RestoreAttrs().
|
static |
Set last error on MS Windows using GetLastError()
extra | Additional information |
Definition at line 314 of file ncbierror.cpp.
References CNcbiError::SetWindowsError().
|
static |
Set last error on MS Windows using GetLastError()
extra | Additional information |
Definition at line 296 of file ncbierror.cpp.
References CNcbiError::SetWindowsError().
Set last error on MS Windows using GetLastError()
extra | Additional information |
Definition at line 308 of file ncbierror.cpp.
References CNcbiError::SetWindowsError().
|
static |
Set last error on MS Windows using GetLastError()
extra | Additional information |
Definition at line 302 of file ncbierror.cpp.
References CNcbiError::SetWindowsError().
|
static |
Set last error on MS Windows using GetLastError()
extra | Additional information |
Definition at line 290 of file ncbierror.cpp.
References CNcbiError::SetWindowsError().
Referenced by CDirEntry::Exists(), CDir::GetEntriesPtr(), CWinSecurity::GetFilePermissions(), CCurrentProcess::GetParentPid(), CCurrentProcess::GetThreadCount(), CProcess::GetThreadCount(), CDirEntry::GetType(), CWinSecurity::GetUserName(), CProcess::Kill(), s_FileTimeToCTime(), s_GetCurrentThreadToken(), s_GetFileSecurityDescriptor(), s_Win_GetHandleTimes(), s_Win_GetMemoryCounters(), CWinSecurity::SetTokenPrivilege(), x_GetAccountNameBySid(), x_GetAccountSidByName(), and CProcess::x_GetHandle().
Set function name used for reporting.
Definition at line 1026 of file ncbiexpt.hpp.
References CException::m_Function.
Definition at line 802 of file ncbiexpt.hpp.
References CExceptionArgs_Base::m_Module.
Referenced by Module::operator()().
Set module name used for reporting.
Definition at line 1014 of file ncbiexpt.hpp.
References CException::m_Module.
|
inline |
Definition at line 806 of file ncbiexpt.hpp.
References CExceptionArgs_Base::m_Retriable.
Referenced by Retriable::operator()().
|
inline |
Set the info about ability to retry an action caused the exception.
Definition at line 1062 of file ncbiexpt.hpp.
References CException::m_Retriable.
Referenced by impl::CDBExceptionStorage::Handle().
CException & CException::SetSeverity | ( | EDiagSev | severity | ) |
Set exception severity.
Definition at line 321 of file ncbiexpt.cpp.
References abort(), CompareDiagPostLevel(), eDiag_Critical, CException::m_Severity, s_AbortIfCritical, and CException::x_GetStackTrace().
Referenced by CSplign::x_RunOnCompartment().
|
inline |
Definition at line 799 of file ncbiexpt.hpp.
References CExceptionArgs_Base::m_Severity.
Referenced by Critical(), Error(), Fatal(), Info(), Trace(), and Warning().
|
static |
Set severity level for saving and printing stack trace.
Definition at line 129 of file ncbiexpt.cpp.
Referenced by CHgvsToSeqfeatConverter::Init().
void SetThrowTraceAbort | ( | bool | abort_on_throw_trace | ) |
Specify whether to call "abort()" inside the DoThrowTraceAbort().
By default, this feature is not activated unless
Definition at line 66 of file ncbiexpt.cpp.
References s_DoThrowTraceAbort(), and s_DTTA_Initialized().
Referenced by CNcbiApplicationAPI::AppMain(), and CNcbiApplicationAPI::x_HonorStandardSettings().
|
static |
Set last error using Windows-specific error code.
native_err_code | Windows-specific error code |
extra | Additional information |
Definition at line 260 of file ncbierror.cpp.
References CNcbiError::x_Init(), and CNcbiError::x_SetWindowsCodeCategory().
Referenced by CDir::GetEntriesPtr(), CWinSecurity::GetObjectOwner(), CProcess::Kill(), s_GetCurrentThreadToken(), s_GetFileSecurityDescriptor(), CNcbiError::SetFromWindowsError(), CWinSecurity::SetTokenPrivilege(), x_GetAccountSidByName(), and CProcess::x_GetHandle().
Set last error using Windows-specific error code.
native_err_code | Windows-specific error code |
extra | Additional information |
Definition at line 284 of file ncbierror.cpp.
References CNcbiError::x_Init(), and CNcbiError::x_SetWindowsCodeCategory().
|
static |
Set last error using Windows-specific error code.
native_err_code | Windows-specific error code |
extra | Additional information |
Definition at line 266 of file ncbierror.cpp.
References CNcbiError::x_Init(), and CNcbiError::x_SetWindowsCodeCategory().
Set last error using Windows-specific error code.
native_err_code | Windows-specific error code |
extra | Additional information |
Definition at line 278 of file ncbierror.cpp.
References CNcbiError::x_Init(), and CNcbiError::x_SetWindowsCodeCategory().
Set last error using Windows-specific error code.
native_err_code | Windows-specific error code |
extra | Additional information |
Definition at line 272 of file ncbierror.cpp.
References CNcbiError::x_Init(), and CNcbiError::x_SetWindowsCodeCategory().
|
virtual |
Polymorphically (re)throw an exception whose exact type is uncertain.
NB: for best results, *EVERY* concrete derived class in the hierarchy must implement its *OWN* version of Throw(). (Using NCBI_EXCEPTION_DEFAULT or a related macro will take care of this for you.)
Simply invoking the throw keyword with no arguments is a better option when available (within a catch block), but there are circumstances in which it is not.
Reimplemented in CErrnoTemplException< CCoreException >, CInvalidParamException, and CCoreException.
Definition at line 333 of file ncbiexpt.cpp.
References CException::x_ThrowSanityCheck().
|
inlineoverridevirtual |
Polymorphically (re)throw an exception whose exact type is uncertain.
NB: for best results, *EVERY* concrete derived class in the hierarchy must implement its *OWN* version of Throw(). (Using NCBI_EXCEPTION_DEFAULT or a related macro will take care of this for you.)
Simply invoking the throw keyword with no arguments is a better option when available (within a catch block), but there are circumstances in which it is not.
Reimplemented from CException.
Reimplemented in CErrnoTemplException< CCoreException >.
Definition at line 1493 of file ncbiexpt.hpp.
|
inlineoverridevirtual |
Polymorphically (re)throw an exception whose exact type is uncertain.
NB: for best results, *EVERY* concrete derived class in the hierarchy must implement its *OWN* version of Throw(). (Using NCBI_EXCEPTION_DEFAULT or a related macro will take care of this for you.)
Simply invoking the throw keyword with no arguments is a better option when available (within a catch block), but there are circumstances in which it is not.
Reimplemented from CException.
Definition at line 1516 of file ncbiexpt.hpp.
|
inlineoverridevirtual |
Definition at line 1693 of file ncbiexpt.hpp.
|
inlineoverridevirtual |
Definition at line 1723 of file ncbiexpt.hpp.
|
inline |
Definition at line 1179 of file ncbiexpt.hpp.
References eDiag_Trace, and CExceptionArgs_Base::SetSeverity().
Referenced by CVariationUtilities::CorrectRefAllele(), CEutilsClient::Count(), CBLASTToolManager::DoTransition(), CConn_Streambuf::Fetch(), CCassandraFullscanPlan::Generate(), CCassandraFullscanPlan::GetPartitionCountEstimate(), CCassConnection::GetTokenRanges(), inflate(), CRemoteBlast::LoadFromArchive(), CStdAnnotTypes::LoadTypes(), LogCallback(), CFrameworkDemoGUI::OnDiagnosticsTimer(), CSeqVectorCache::PrefetchSequence(), CVariationNormalizationLeft::ProcessShift(), CVariationNormalizationDelIns::ProcessShift(), CVariationNormalizationRight::ProcessShift(), RequestToString(), s_ConvertSeverity(), SSignalHandler::s_WatchCtrlCPressed(), CCassandraFullscanPlan::SplitTokenRangesForLimits(), SPSG_Request::UpdateItem(), VDBLogWriter(), CWindowMaskerJob::x_CreateProjectItems(), CVariationUtilities::x_FixAlleles(), CAlignFilter::x_GetAlignmentScore(), CSnpPtisClient_Impl::x_GetPrimarySnpTrack(), CCachedTaxon3::x_GetReplyForOrgRef(), CTMS_DisplayTrack_Client::x_HttpFetch(), CEutilsClient::x_LinkOut(), CCassBlobTaskLoadBlob::x_RequestChunksAhead(), CEutilsClient::x_Search(), CVariationNormalization_base< T >::x_Shift(), and CEutilsClient::x_Summary().
|
inline |
Unset flag (other flags are left as is)
Definition at line 1056 of file ncbiexpt.hpp.
References CException::m_Flags.
Return valid pointer to uppermost derived class only if "from" is _really_ the object of the desired type.
Do not cast to intermediate types (return NULL if such cast is attempted).
Definition at line 1260 of file ncbiexpt.hpp.
|
inline |
Definition at line 1191 of file ncbiexpt.hpp.
References eDiag_Warning, and CExceptionArgs_Base::SetSeverity().
Referenced by CThreadPool_Impl::Abort(), CSeqsRange::Add(), CCompoundRWRegistry::Add(), CTextJoiner< num_prealloc, TIn, TOut >::Add(), CGapAnalysis::AddBioseqGaps(), CQueueClientInfoList::AddClientInfo(), CFeatureTableReader_Imp::AddFeatQual(), SAccGuide::AddRule(), CGRPCClientContext::AddStandardNCBIMetadata(), SPSG_Throttling::SStats::Adjust(), AlignmentSet::AlignmentSet(), CNcbiApplicationAPI::AppMain(), CSerialObject::Assign(), CNCBlobKey::Assign(), CAdminCmdProcessor::Authenticate(), CCgiResponse::BeginPart(), BlastFormatter_PreFetchSequenceData(), CGlBuffer20< T >::BufferData(), CGlBuffer11< T >::BufferData(), BuildAlignDataSource(), WSDLParser::BuildDataTree(), CRelocateCallback::Callback(), CPSGDataLoader_Impl::CallWithRetry(), CCSRADataLoader_Impl::CallWithRetry(), CSNPDataLoader_Impl::CallWithRetry(), CVDBGraphDataLoader_Impl::CallWithRetry(), CWGSDataLoader_Impl::CallWithRetry(), CQueue::CancelSelectedJobs(), CQueue::CancelWaitGet(), CQueue::CancelWaitRead(), CBlastFormat::CBlastFormat(), CClusterDBSource::CClusterDBSource(), CQueue::ChangeAffinity(), CRmtFileStatus::Check(), CheckBinaryTruncation(), CNCActiveHandler::CheckCommandTimeout(), CheckForFreqRatioFile(), CCgiApplication::CheckMemoryLimit(), CheckMTByQueries_QuerySize(), CDataTypeModule::CheckNames(), CCassBlobWaiter::CheckReady(), CCassQueryList::CheckSlot(), CheckStringTruncation(), CIgAnnotationInfo::CIgAnnotationInfo(), CBDB_Cache::Close(), CQueueDataBase::Close(), CArg_Ios::CloseFile(), CBam2Seq_graph::CollectCoverage(), CBam2Seq_graph::CollectRawAccessCoverage(), CCodeGenerator::CollectTypes(), NWinHook::COnExitProcess::COnExitProcess(), CICacheCF< CNetICacheClient >::ConfigureICache(), CICacheCF< CNetICacheClient >::ConfigureTimeStamp(), CBlastDBAliasApp::ConvertGiFile(), pub_report::ConvertPMCtoPMID(), CEutilsClient::Count(), CSeqMaskerIstatFactory::create(), CMSModSpecSet::CreateArrays(), CVDBBlastUtil::CreateBioseqFromOid(), CSeqMaskerOstatOpt::createCacheBitArray(), CGradientColorPanel::CreateControls(), CSQLITE3_BlobCacheCF::CreateInstance(), CBlobStorageFactory::CreateInstance(), CNCPeerControl::CreateNewSocket(), CAlignCleanup::CreatePairwiseFromMultiple(), CProtSeqlocHelper::CreateSeqloc(), CDeltaHelper::CreateSSR(), CSafeStaticLifeSpan::CSafeStaticLifeSpan(), CSeqMaskerIstatOBinary::CSeqMaskerIstatOBinary(), CSmallDNS::CSmallDNS(), CTLibContext::CTLIB_srverr_handler(), CVDBGraphDb_Impl::CVDBGraphDb_Impl(), CWriteDB_ConsolidateAliasFiles(), SPSG_Throttling::Discovered(), SAsnProjectSingleT::DoCreate(), pub_report::DoHydraSearch(), CEUtilsUpdaterBase::DoPubSearch(), CAlignGlyph::DrawPWAlignElem(), CLDS2_ObjectParser::EndBlob(), CTreeFiller::Execute(), CProjectStorage::Exists(), CObjectIStreamAsnBinary::ExpectStringTag(), CMapperMTArgs::ExtractAlgorithmOptions(), CFormattingArgs::ExtractAlgorithmOptions(), CQueue::FailJob(), CConn_Streambuf::Fetch(), pub_report::CUnpublishedReport::FetchPub(), CRgbaGradColorTable::FillGradient(), CAppRegistry::Find(), CSeq_id_not_set_Tree::FindMatch(), CSeq_id_not_set_Tree::FindReverseMatch(), CTestDispatcher::Fire(), CTestDispatcher::FireFirst(), CCurrentProcess::Fork(), CBlastAligner::GenerateAlignments(), CRemoteBlastAligner::GenerateAlignments(), CClientPseudoTypeStrings::GenerateClassCode(), CBlast4Field::Get(), CSGAlignmentDS::GetAlignType(), CGencollSvc::GetAssmsInfo(), ChemicalGraph::GetAtomInfo(), Residue::GetAtomInfo(), Molecule::GetAtomInfo(), CNCPeerControl::GetBGConn(), SPsgBioseqInfo::GetBioseqStateFlags(), CSplitQueryBlk::GetChunkOverlapSize(), CGenomicCollectionsService::GetEquivalentAssemblies(), CNetScheduleGetJobImpl< CMainLoopThread::CImpl >::GetJobImmediately(), ICitationBase::GetLabel(), CGuiObjectInfoSeq_align::GetLinks(), CSmallDNS::GetLocalHost(), CDB_Object::GetLogString(), CClusterDBSource::GetNext(), CProjectItem::GetObject(), CProjectStorage::GetObject(), StructureBase::GetParentOfType(), CPMCIDConverterServer::GetPmids(), CRefArgs::GetQueryString(), CSegmentMapTrackFactory::GetSettings(), CSequenceTrackFactory::GetSettings(), CSixFramesTransTrackFactory::GetSettings(), CAlignmentTrackFactory::GetSettings(), CVcfTrackFactory::GetSettings(), SWorkerNodeJobContextImpl::GetShutdownLevel(),