41 |
import java.io.Serializable; |
import java.io.Serializable; |
42 |
|
|
43 |
/** |
/** |
44 |
* Means that the object exists but does not support the operation that |
* Means that the object exists but does not support the operation that was |
45 |
* was invoked on it. |
* invoked on it. |
46 |
|
* |
47 |
|
* In GNU Classpath, this exception may have the following Minor codes: |
48 |
|
* |
49 |
|
* <table border="1"> |
50 |
|
* <tr> |
51 |
|
* <th>Hex</th> |
52 |
|
* <th>Dec</th> |
53 |
|
* <th>Minor</th> |
54 |
|
* <th>Name</th> |
55 |
|
* <th>Case</th> |
56 |
|
* </tr> |
57 |
|
* <tr> |
58 |
|
* <td>47430000</td> |
59 |
|
* <td>1195573248 </td> |
60 |
|
* <td>0</td> |
61 |
|
* <td>Method</td> |
62 |
|
* <td> The remote side requested to invoke the method that is not available on |
63 |
|
* that target (client and server probably disagree in the object definition). |
64 |
|
* This code is set when the problem arises in the Classpath core; the idlj and |
65 |
|
* rmic may generate the user code that sets 0x0 or other value.</td> |
66 |
|
* </tr> |
67 |
|
* <tr> |
68 |
|
* <td>47430009</td> |
69 |
|
* <td>1195573257</td> |
70 |
|
* <td>9</td> |
71 |
|
* <td>Any</td> |
72 |
|
* <td> Attempt to extract from the Any value of the different type that was |
73 |
|
* stored into that Any. </td> |
74 |
|
* </tr> |
75 |
|
* <tr> |
76 |
|
* <td>4743000a</td> |
77 |
|
* <td>1195573258</td> |
78 |
|
* <td>10</td> |
79 |
|
* <td>Activation</td> |
80 |
|
* <td>Failed to activate the inactive object due any reason.</td> |
81 |
|
* </tr> |
82 |
|
* <tr> |
83 |
|
* <td>4743000b</td> |
84 |
|
* <td>1195573259</td> |
85 |
|
* <td>11</td> |
86 |
|
* <td>Policy</td> |
87 |
|
* <td> The policies, applying to ORB or POA prevent the requested operation. |
88 |
|
* </td> |
89 |
|
* </tr> |
90 |
|
* <tr> |
91 |
|
* <td>4743000c</td> |
92 |
|
* <td>1195573260</td> |
93 |
|
* <td>12</td> |
94 |
|
* <td>Socket</td> |
95 |
|
* <td> Socket related errors like failure to open socket on the expected port.</td> |
96 |
|
* </tr> |
97 |
|
* <tr> |
98 |
|
* <td>4743000e</td> |
99 |
|
* <td>1195573262</td> |
100 |
|
* <td>14</td> |
101 |
|
* <td>Enumeration</td> |
102 |
|
* <td> The passed value for enumeration is outside the valid range for that |
103 |
|
* enumeration. </td> |
104 |
|
* </tr> |
105 |
|
* <tr> |
106 |
|
* <td>4743000f</td> |
107 |
|
* <td>1195573263</td> |
108 |
|
* <td>15</td> |
109 |
|
* <td>PolicyType</td> |
110 |
|
* <td> The passed policy code is outside the valid range of the possible |
111 |
|
* policies for the given policy type. </td> |
112 |
|
* </tr> |
113 |
|
* </table> |
114 |
* |
* |
115 |
* @author Audrius Meskauskas (AudriusA@Bioinformatics.org) |
* @author Audrius Meskauskas (AudriusA@Bioinformatics.org) |
116 |
*/ |
*/ |
118 |
extends SystemException |
extends SystemException |
119 |
implements Serializable |
implements Serializable |
120 |
{ |
{ |
121 |
/** |
/** |
122 |
* Use serialVersionUID for interoperability. |
* Use serialVersionUID for interoperability. |
123 |
*/ |
*/ |
124 |
private static final long serialVersionUID = 1654621651720499682L; |
private static final long serialVersionUID = 1654621651720499682L; |
125 |
|
|
126 |
/** |
/** |
127 |
* Creates a BAD_OPERATION with the default minor code of 0, |
* Creates a BAD_OPERATION with the default minor code of 0, completion state |
128 |
* completion state COMPLETED_NO and the given explaining message. |
* COMPLETED_NO and the given explaining message. |
129 |
|
* |
130 |
* @param reasom the explaining message. |
* @param reasom the explaining message. |
131 |
*/ |
*/ |
132 |
public BAD_OPERATION(String message) |
public BAD_OPERATION(String message) |
135 |
} |
} |
136 |
|
|
137 |
/** |
/** |
138 |
* Creates BAD_OPERATION with the default minor code of 0 and a |
* Creates BAD_OPERATION with the default minor code of 0 and a completion |
139 |
* completion state COMPLETED_NO. |
* state COMPLETED_NO. |
140 |
*/ |
*/ |
141 |
public BAD_OPERATION() |
public BAD_OPERATION() |
142 |
{ |
{ |
143 |
super("", 0, CompletionStatus.COMPLETED_NO); |
super("", 0, CompletionStatus.COMPLETED_NO); |
144 |
} |
} |
145 |
|
|
146 |
/** Creates a BAD_OPERATION exception with the specified minor |
/** |
147 |
* code and completion status. |
* Creates a BAD_OPERATION exception with the specified minor code and |
148 |
|
* completion status. |
149 |
|
* |
150 |
* @param minor additional error code. |
* @param minor additional error code. |
151 |
* @param completed the method completion status. |
* @param completed the method completion status. |
152 |
*/ |
*/ |
157 |
|
|
158 |
/** |
/** |
159 |
* Created BAD_OPERATION exception, providing full information. |
* Created BAD_OPERATION exception, providing full information. |
160 |
|
* |
161 |
* @param reason explaining message. |
* @param reason explaining message. |
162 |
* @param minor additional error code (the "minor"). |
* @param minor additional error code (the "minor"). |
163 |
* @param completed the method completion status. |
* @param completed the method completion status. |