somSetException - Parameters
env (Environment *)
A pointer to the Environment
structure in which to set the exception. This value must be either NULL
or a value formerly obtained from the function somGetGlobalEnvironment.
major (exception_type)
major An integer representing
the type of exception to set.
exceptionName (string)
The qualified name
of the exception to set. The SOM Compiler defines, in the header files it
generates for an interface, a constant whose value is the qualified name
of each exception defined within the interface. This constant has the name
"ex_<exceptionName>", where <exceptionName> is the qualified
(scoped) exception name. Where unambiguous, the usage bindings also define
the short form "ex_<exceptionName>", where <exceptionName> is
unqualified.
params (somToken)
A pointer to an initialized
exception structure value. No copy is made of this structure; hence, the
caller cannot free it. The somExceptionFree function should be used
to free the Environment structure that contains it.
rc
[Back: somSetException Parameter - rc]
[Next: somSetException - Remarks]