[#BloombergLP-balxml-ErrorInfo-2constructor-06] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balxml.adoc[balxml]::xref:BloombergLP/balxml/ErrorInfo.adoc[ErrorInfo]::ErrorInfo :relfileprefix: ../../../ :mrdocs: Constructors == Synopses Declared in `<balxml_errorinfo.h>` 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. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/balxml/ErrorInfo/2constructor-05.adoc[ErrorInfo](xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0); ---- [.small]#xref:BloombergLP/balxml/ErrorInfo/2constructor-05.adoc[_» more..._]# Construct a copy of the specified `other` object using the (optionally) specified `basicAllocator`, or the default allocator of none is specified. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/balxml/ErrorInfo/2constructor-01.adoc[ErrorInfo]( xref:BloombergLP/balxml/ErrorInfo.adoc[ErrorInfo] const& other, xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0); ---- [.small]#xref:BloombergLP/balxml/ErrorInfo/2constructor-01.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#