rwlogo
Rogue Wave Views 5.6

Rogue Wave Views
Data Access Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

IliErrorList Class Reference

Error Class. More...

#include <ilviews/dataccess/error.h>

Inheritance diagram for IliErrorList:
IliErrorSink

List of all members.

Public Member Functions

 IliErrorList (const IliErrorList &)
 This constructor copies an error list.
 IliErrorList ()
 This constructor initializes an empty error list.
virtual void addError (const IliErrorMessage &msg)
 Records the error message.
void append (const IliErrorList &list)
 Appends all the errors recorded in an error list to the end of this error list.
const IliErrorMessagegetErrorAt (IlInt pos) const
 Returns an error message.
IlInt getErrorsCount () const
 Returns the count of recorded error messages.
IliErrorListoperator= (const IliErrorList &list)
 Assigns an error list.
void removeAllErrors ()
 Removes all errors from the error list.
void removeErrorAt (IlInt pos)
 Removes an error message.

Detailed Description

Error Class.

Library: dataccess

The IliErrorList is a subclass of the IliErrorSink class that keeps a record of all the error messages it catches. Member functions are provided to browse through the recorded error messages or alter them.

See also:
IliErrorMessage, IliErrorReporter, IliErrorSink

Member Function Documentation

virtual void IliErrorList::addError ( const IliErrorMessage msg  )  [virtual]

Records the error message.

Parameters:
msg The error message.

Reimplemented from IliErrorSink.

void IliErrorList::append ( const IliErrorList list  ) 

Appends all the errors recorded in an error list to the end of this error list.

Parameters:
list The error list
const IliErrorMessage& IliErrorList::getErrorAt ( IlInt  pos  )  const

Returns an error message.

Parameters:
pos The message position (counting from 0 for the first message caught).
Returns:
The error message.
IlInt IliErrorList::getErrorsCount (  )  const

Returns the count of recorded error messages.

Returns:
The count.
IliErrorList& IliErrorList::operator= ( const IliErrorList list  ) 

Assigns an error list.

Parameters:
list The error list.
void IliErrorList::removeErrorAt ( IlInt  pos  ) 

Removes an error message.

Parameters:
pos The error message position.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends

© Copyright 2012, Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.