IAccessError

The IAccessError class represents an exception. When a member function makes a request of the operating system or the presentation system that the system cannot satisfy, the member function creates and throws an object of the IAccessError class. If the operating system or the presentation system cannot satisfy the request due to resource exhaustion, member functions create and throw objects of the class IResourceExhausted.
Note: Typically, if no other exception fits an error condition, the Open Class Library creates and throws an object of the IAccessError class.


IAccessError - Member Functions and Data by Group

Constructors & Destructor

You can construct and destruct objects of this class. You cannot assign one IAccessError object from another.


[view class]
~IAccessError
public:
virtual ~IAccessError()

Destroys the exception object.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


[view class]
IAccessError

You can create objects of this class by doing the following:

You can also copy an instance of this exception class.


Overload 1
public:
IAccessError(const IAccessError& exception)

The copy constructor is provided so that the compiler can make copies of the object during the throwing of an exception.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


Overload 2
public:
IAccessError( const char* errorText, unsigned long errorId = 0, Severity severity = IException::unrecoverable )
errorText
The text describing this particular error.
errorId
The identifier you want to associate with this particular error.
severity
Use the enumeration IException::Severity to specify the severity of the error. The default is unrecoverable.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


Exception Type

Exception type members provide support for determining the name (type) of the exception. These members are used for logging out an exception object's error information.


[view class]
name
public:
virtual const char* name() const

Returns the name of the object's class.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


IAccessError - Inherited Member Functions and Data

Inherited Public Functions

IException

Inherited Public Data

IException

Inherited Protected Functions

Inherited Protected Data