The following example describes how to handle fault add condition objects.
catch (Fault_type e)
{
Error_type[] error = e.getError_list();
if (error != null)
{
for (int i = 0; i < error.length; i++)
{
System.out.println("Error major = " +
error[i].getMajor());
System.out.println("Error minor = " +
error[i].getMinor());
System.out.println("Error severity = " +
error[i].getSeverity());
System.out.println("Error Message = " +
error[i].getError_message());
}
}
}
Parent Topic |