Ways to Handle Errors in Business Component Programs

The Business Components for Java framework follows the Java platform model for conveying information about run-time errors, so a method can return a result code (also called an error code), throw an exception, or both. Following are some recommendations.

The following topics describe how to write error-handling routines: