1 #ifndef CARMA_UTIL_WORKRESULTSETWAITERROR_H
2 #define CARMA_UTIL_WORKRESULTSETWAITERROR_H
16 class WorkResultSet::WaitError :
public util::ErrorException {
17 friend class WorkResultSet::Impl;
20 virtual ~WaitError( ) throw();
22 ::std::set< ::std::
string > getWaitedKeys( ) const;
24 ::std::
string getStringForWaitedKeys( ) const;
26 bool hadUnfinishedKeys( ) const;
28 bool singleUnfinishedKey( ) const;
30 ::std::set< ::std::
string > getUnfinishedKeys( ) const;
32 ::std::
string getStringForUnfinishedKeys( ) const;
34 bool hadAbnormals( ) const;
36 ::std::map< ::std::
string, ::std::
string > getAbnormals( ) const;
38 ::std::
string getStringForAbnormals( ) const;
42 WaitError( const WaitError & rhs );
43 WaitError & operator=( const WaitError & rhs );
46 const
char * fileName,
48 const ::std::
string & wrsId,
49 const ::std::set< ::std::
string > & waitedKeys,
50 const ::std::set< ::std::
string > & keysLeft,
51 const ::std::map< ::std::
string, ::std::
string > & abnormals );
53 const ::std::set< ::std::
string > waitedKeys_;
54 const ::std::set< ::std::
string > keysLeft_;
55 const ::std::map< ::std::
string, ::std::
string > abnormals_;
Exception class for errors.
Interface file for the carma::util::WorkResultSet and carma::util::WorkResult classes.