## Description

Include file: xexcept.h

### Overview

The OOL throws exceptions in form of this class. You can catch this exceptions and exceptions derived from this class in the usual way.

To throw exceptions yourself you may use the macro OOLThrow with exception-text and errorcode, eg

    OOLThrow("an exception", 100)

For derived exception-calsses this macro is redefined.

### Functions

#### GetErrorCode

#### Return-Value

LONG theCode

#### Remarks

returns the error-code

#### GetErrorMessage

#### Return-Value

char * errorText

#### Remarks

returns a char pointer with the error text

#### PrintError

#### Remarks

Displays information about the exception on the commandline. This function should only be used with VIO-applications.

#### ShowError

#### Parameters

XWindow * owner owner window, can be NULL.

#### Remarks

Displays a messagebox with information about the exception. This function should only be used with PM-applications.

This document was generated by Jens von Pilgrim's Autodoc