unexpected

De RAD Studio
Aller à : navigation, rechercher

Remonter à Except.h - Index


Header File

except.h

Syntax

void unexpected();

Description

The unexpected function is called when a function throws an exception not listed in its exception specification. The program calls unexpected, which by default calls any user-defined function registered by set_unexpected. If no function is registered with set_unexpected, the unexpected function then calls terminate.

Return Value

None, although unexpected may throw an exception.