RAD Studio
ContentsIndex
PreviousUpNext
unexpected

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.

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!