Sends an error back to the clientint sm_raise_exception(int error, char *message);
- Error code to be returned to the client with COM components.
- Error message to be returned to the client with Enterprise JavaBeans.
sm_raise_exceptionsends an error code and message back to the client. The client's error handler then decides what to do based on the value sent.
For COM applications, Microsoft defines some conventional exception codes for use in COM programming; see