Broker 10.15 | 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
Description
0
No error output will be produced. Use this setting for deployed applications.
1
Produces error output for major errors only. This is the default setting
2
Produces all error output for all public methods. Use this setting when debugging an application.