63 |
* <p> |
* <p> |
64 |
* Contains more details about the exception. The lower 12 bits contain a |
* Contains more details about the exception. The lower 12 bits contain a |
65 |
* code, defining the reason why exception has been thrown. The higher 20 bits |
* code, defining the reason why exception has been thrown. The higher 20 bits |
66 |
* hold "Vendor Minor Codeset ID" (VMCID), for instance 0x4F4D0000 (OMG |
* hold "Vendor Minor Codeset ID" (VMCID). |
|
* standard), 0x54410000 (TAO), 0x4A430000 (JacORB), 0x49540000 (IONA) or |
|
|
* 0x53550000 (Sun). |
|
67 |
* </p> |
* </p> |
|
* |
|
68 |
* <p> |
* <p> |
69 |
* The standard minor codes for the standard system exceptions are prefaced by |
* The Classpath specifice minor exception codes are documented in the headers |
70 |
* the VMCID assigned to OMG, defined as 0x4F4D0000 (the code of |
* of the corresponding exceptions (for instance, {@link MARSHAL}). |
|
* the minor field for the standard exception with minor code 1 is |
|
|
* 0x4F4D0001). Within a vendor assigned space, the assignment of values to |
|
|
* minor codes is left to the vendor. |
|
71 |
* </p> |
* </p> |
72 |
* |
* |
73 |
* The VMCID 0 and 0xfffff are reserved for experimental use. |
* The VMCID 0 and 0xfffff are reserved for experimental use. |
74 |
|
* |
75 |
|
* @see OMGVMCID |
76 |
*/ |
*/ |
77 |
public int minor; |
public int minor; |
78 |
|
|
87 |
protected SystemException(String a_reason, int a_minor, |
protected SystemException(String a_reason, int a_minor, |
88 |
CompletionStatus a_completed) |
CompletionStatus a_completed) |
89 |
{ |
{ |
90 |
super(a_reason); |
super(a_reason + " Minor: " + Integer.toHexString(a_minor) + " (" |
91 |
|
+ (a_minor & 0xFFF) + "). Completed: "+a_completed); |
92 |
minor = a_minor; |
minor = a_minor; |
93 |
completed = a_completed; |
completed = a_completed; |
94 |
} |
} |