Broker 10.5 | webMethods Broker Documentation | webMethods Broker Client Java API Programmer's Guide | Handling Errors | Setting the System Diagnostic Level
Setting the System Diagnostic Level
The BrokerException class provides two static methods you can use to query and set the level of error reporting that the webMethods Broker system will present as standard output for your application.
Use the BrokerException.setDiagnostics method to set the level or error reporting.
Use the BrokerException.getDiagnostics method to query the current diagnostic level.
Each of these methods uses the following diagnostic levels:
Diagnostic Level
No error output will be produced. Use this setting for deployed applications.
Produces error output for major errors only. This is the default setting
Produces all error output for all public methods. Use this setting when debugging an application.