WAS v8.5 > Develop applications > XML applications > Use the XML API to perform operationsUse a message handler and managing exceptions
We can use this information to help to use a message handler and mange exceptions.
Subtopics
- Use a message handler
The default behavior for prepare-time and execution-time processing errors and other messages is to print the messages to System.err and for nonrecoverable errors to raise an XProcessException as well. If an error occurs at prepare time, the processor attempts to continue preparation and signal all errors before generating an XProcessException; but no executable is produced. At run time, execution stops at the first occurrence of an error situation.- Manage exceptions
Various exceptions might occur. Unless otherwise indicated, all exceptions extend RuntimeException and thus are unchecked.
Related
Use a message handler
Manage exceptions