BloombergLP::bdljsn::Error

This unconstrained (value-semantic) attribute class specifies a description of an error in processing a (JSON) document.

Synopsis

Declared in <bdljsn_error.h>

class Error;

Description

See the for information on the class attributes. Note that the class invariants are identically the constraints on the individual attributes.

Member Functions

NameDescription
Error [constructor]Constructors
~Error [destructor]Destroy this object.
operator= Assignment operators
allocator Return the allocator used by this object to supply memory.
location Return the location attribute of this object.
message Return the message attribute of this object.
print Write the value of this object to the specified output stream.
reset Reset this object to the default value (i.e., its value upon default construction).
setLocation Set the location attribute of this object to the specified value.
setMessage Set the message attribute of this object to the specified value.
swap Efficiently exchange the value of this object with the value of the specified other object.
operator BloombergLP::bslmf::NestedTraitDeclaration<Error, IsBitwiseMoveable> Declare that this type uses a bslma allocator.

Friends

NameDescription
BloombergLP::bdljsn::swapExchange the values of the specified a and b objects.

Non-Member Functions

NameDescription
operator!=Return true if the specified lhs and rhs attribute objects do not have the same value, and false otherwise.
operator==Return true if the specified lhs and rhs attribute objects have the same value, and false otherwise.