BloombergLP::balxml::ErrorInfo::ErrorInfo

Create an ErrorInfo object with no error.

Synopsis

Declared in <balxml_errorinfo.h>

ErrorInfo(bslma::Allocator* basicAllocator = 0);

Description

Construct an error info object using the (optionally) specified basicAllocator, or the default allocator of none is specified. After construction, severity() will return BAEXML_NO_ERROR, lineNumber() and columnNumber() will each return 0, and source() and message() will each return an empty string.

Parameters

NameDescription
basicAllocatormemory allocator; null uses the default