C++ API Reference for Intel® Data Analytics Acceleration Library 2020 Update 1

List of all members
ErrorCollection Class Reference

Class that represents an error collection. More...

Class Declaration

Constructor & Destructor Documentation

ErrorCollection ( )
inline

Constructs an error collection

ErrorCollection ( const ErrorCollection o)
inline

Copy constructor for error collection

Parameters
[in]oError collection that will be copied
ErrorCollection ( const KernelErrorCollection errors)
inlineexplicit

Constructor for error collection

Parameters
[in]errorsError collection that will be kept by
virtual ~ErrorCollection ( )
inlinevirtual

Destructor of error collection

Member Function Documentation

void add ( const ErrorID id)
inline

Adds error to error collection and throws exception if DAAL_NOTHROW_EXCEPTIONS not defined

Parameters
[in]idError identifier
void add ( const ErrorPtr e)
inline

Adds error to error collection and throws exception if DAAL_NOTHROW_EXCEPTIONS not defined

Parameters
[in]eError
void add ( const ErrorCollection e)
inline

Adds error collection to another error collection and throw exception if DAAL_NOTHROW_EXCEPTIONS not defined

Parameters
[in]eError collection
void add ( const KernelErrorCollectionPtr e)
inline

Adds kernel error collection to another error collection and throw exception if DAAL_NOTHROW_EXCEPTIONS not defined

Parameters
[in]eError collection
bool canThrow ( ) const
inline

Returns true if can throw exceptions

Returns
true if can throw exceptions
const char* getDescription ( ) const
inline

Returns description of all errors from collection

Returns
Description of all errors from collection
const KernelErrorCollectionPtr& getErrors ( ) const
inline

Returns kernel error collection

Returns
True if kernel error collection is empty
bool isEmpty ( ) const
inline

Returns true if kernel error collection is empty

Returns
True if kernel error collection is empty
bool setCanThrow ( bool  bOn)
inline

Set canThrow flag

Parameters
[in]bOnThe flag value
Returns
previous value
size_t size ( ) const
inline

Returns size of an error collection

Returns
Size of an error collection

The documentation for this class was generated from the following file:

For more complete information about compiler optimizations, see our Optimization Notice.