Entering content frame

 Troubleshooting 

Use

If an error occurs in the Loader program, an exception of the class com.sap.dbtech.powertoys.LoaderException is raised.

If you cannot connect to the Loader, or if an existing connection is broken, an exception of the class com.sap.dbtech.rte.comm.RTEException is raised.

Example

Executing the SET command with Java
An error message is sent if an exception of the class
RTEException or LoaderException is raised.

try {

    String result = session.cmd ("SET MAXERRORCOUNT 0");

}

catch (RTEException rteExc) {

    System.out.println ("connection broken: " + rteExc.toString ());

}

catch (LoaderException loaderExc) {

    System.out.println ("command failed: " + loaderExc.toString ());

}

 

Leaving content frame