Exception Handling in JCo
Exception handling is a very important part of writing software. This intensifies when connecting to many heterogeneous systems. JCo error handling enables programmers to encapsulate SAP errors and correctly warn users of problems.
JCo throws only runtime exceptions, which means a try-catch block isn't needed around JCo calls (that is, the compiler won't complain if the method doesn't use throws). However, when programmers write JCo programs, this might not be beneficial because they may inadvertently miss error handling and crash the runtime environment. In some cases this is fine, such as in standalone, run-once programs. But when programming Web sites, this isn't acceptable. The end user wants to be informed if there ...
Get BEA WebLogic Server™ 8.1 Unleashed now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.