You can construct and destruct objects of this class. You cannot assign one IMustBeEmpty object from another.
![]() |
public:
virtual ~IMustBeEmpty()
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
This function creates an exception reporting that an operation on a container failed because the container was not empty.
You can create objects of this class by doing the following:
You can also copy an instance of this exception class.
public:
IMustBeEmpty(const IMustBeEmpty&)
The copy constructor is provided so that the compiler can make copies of the object during the throwing of an exception.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
public:
IMustBeEmpty(const char* text = 0)
Windows | OS/2 | AIX |
Yes | Yes | Yes |
Use the function in this group to obtain the name of the exception.
![]() |
public:
virtual const char* name() const
Windows | OS/2 | AIX |
Yes | Yes | Yes |
virtual ~IAccessError()
IAccessError(const IAccessError& exception)
IAccessError( const char* errorText, unsigned long errorId = 0, Severity severity = IException::unrecoverable )
virtual ~IException()
virtual IException& addLocation( const IExceptionLocation& location )
IException& appendText(const char* errorText)
static void assertParameter( const char* exceptionText, IExceptionLocation location )
ErrorCodeGroup errorCodeGroup() const
unsigned long errorId() const
IException( const char* errorText, unsigned long errorId = 0, Severity severity = IException::unrecoverable )
IException(const IException& exception)
virtual int isRecoverable() const
const IExceptionLocation* locationAtIndex( unsigned long locationIndex ) const
unsigned long locationCount() const
virtual IException& logExceptionData()
IException& setErrorCodeGroup(ErrorCodeGroup errorGroup)
IException& setErrorId(unsigned long errorId)
IException& setSeverity(Severity severity)
IException& setText(const char* errorText)
static IException::TraceFn* setTraceFunction( IException::TraceFn& traceFunction )
virtual void terminate()
const char* text(unsigned long indexFromTop = 0) const
unsigned long textCount() const
static ErrorCodeGroup const baseLibrary
static ErrorCodeGroup const CLibrary
static ErrorCodeGroup const operatingSystem
static ErrorCodeGroup const other
static ErrorCodeGroup const presentationSystem