What minor codes are used when Java IDL returns CORBA exceptions, and what do they mean?
CORBA defines two kinds of exception codes, major codes and minor codes. Major codes correspond directly to CORBA-defined exception types, and are defined by the OMG in the CORBA specification. Minor codes are ORB-implementation specific, and in Java IDL are defined relative to a major code. Minor codes provide additional information about the cause of the exception. Minor codes need not be unique across the entire implmentation, that is, minor code 3 for a COMM_FAILURE exception may have a completely different meaning than minor code 3 for a BAD_OPERATION exception. In JDK 1.2.2, minor codes are listed in the com.sun.CORBA.util.MinorCodes class. These are otherwise undocumented, and Sun has made no statements, let alone any guarantees, about the meaning of the codes other the text strings that may accompany them in the exception in which they occur. In particular, there are no guarantees that the minor codes and their meanings will remain constant from release to release. Nonetheless,