[Enterprise Extensions only]

IDL operation declarations: "raises" expression

For an overview of IDL operation declarations, see IDL operation declarations.

The optional raises expression in an IDL operation declaration indicates which exceptions the operation can raise. A raises expression is specified as follows:

raises ( identifier1, identifier2, ... )

where each identifier is the name of a previously defined exception. In addition to the exceptions listed in the raises expression, an operation can also signal any of the standard exceptions. Standard exceptions, however, should not appear in a raises expression. If no raises expression is given, then an operation can raise only the standard exceptions. IDL exception declarations contains further information on defining exceptions and the list of standard exceptions.