KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > hero > interfaces > JOnASBnNodePerformerAssign_366038555Remote_Stub


1 // Stub class generated by rmic, do not edit.
2
// Contents subject to change without notice.
3

4 package hero.interfaces;
5
6 public final class JOnASBnNodePerformerAssign_366038555Remote_Stub
7     extends java.rmi.server.RemoteStub JavaDoc
8     implements hero.interfaces.BnNodePerformerAssign, java.rmi.Remote JavaDoc, javax.ejb.EJBObject JavaDoc
9 {
10     private static final java.rmi.server.Operation JavaDoc[] operations = {
11     new java.rmi.server.Operation JavaDoc("hero.interfaces.BnNodeLocal getBnNode()"),
12     new java.rmi.server.Operation JavaDoc("hero.interfaces.BnNodePerformerAssignValue getBnNodePerformerAssignValue()"),
13     new java.rmi.server.Operation JavaDoc("javax.ejb.EJBHome getEJBHome()"),
14     new java.rmi.server.Operation JavaDoc("javax.ejb.Handle getHandle()"),
15     new java.rmi.server.Operation JavaDoc("java.lang.String getName()"),
16     new java.rmi.server.Operation JavaDoc("java.lang.Object getPrimaryKey()"),
17     new java.rmi.server.Operation JavaDoc("java.lang.String getPropertyName()"),
18     new java.rmi.server.Operation JavaDoc("int getType()"),
19     new java.rmi.server.Operation JavaDoc("boolean isIdentical(javax.ejb.EJBObject)"),
20     new java.rmi.server.Operation JavaDoc("void remove()"),
21     new java.rmi.server.Operation JavaDoc("void setBnNodePerformerAssignValue(hero.interfaces.BnNodePerformerAssignValue)"),
22     new java.rmi.server.Operation JavaDoc("void setName(java.lang.String)"),
23     new java.rmi.server.Operation JavaDoc("void setPropertyName(java.lang.String)"),
24     new java.rmi.server.Operation JavaDoc("void setType(int)")
25     };
26     
27     private static final long interfaceHash = 96700370221051088L;
28     
29     private static final long serialVersionUID = 2;
30     
31     private static boolean useNewInvoke;
32     private static java.lang.reflect.Method JavaDoc $method_getBnNode_0;
33     private static java.lang.reflect.Method JavaDoc $method_getBnNodePerformerAssignValue_1;
34     private static java.lang.reflect.Method JavaDoc $method_getEJBHome_2;
35     private static java.lang.reflect.Method JavaDoc $method_getHandle_3;
36     private static java.lang.reflect.Method JavaDoc $method_getName_4;
37     private static java.lang.reflect.Method JavaDoc $method_getPrimaryKey_5;
38     private static java.lang.reflect.Method JavaDoc $method_getPropertyName_6;
39     private static java.lang.reflect.Method JavaDoc $method_getType_7;
40     private static java.lang.reflect.Method JavaDoc $method_isIdentical_8;
41     private static java.lang.reflect.Method JavaDoc $method_remove_9;
42     private static java.lang.reflect.Method JavaDoc $method_setBnNodePerformerAssignValue_10;
43     private static java.lang.reflect.Method JavaDoc $method_setName_11;
44     private static java.lang.reflect.Method JavaDoc $method_setPropertyName_12;
45     private static java.lang.reflect.Method JavaDoc $method_setType_13;
46     
47     static {
48     try {
49         java.rmi.server.RemoteRef JavaDoc.class.getMethod("invoke",
50         new java.lang.Class JavaDoc[] {
51             java.rmi.Remote JavaDoc.class,
52             java.lang.reflect.Method JavaDoc.class,
53             java.lang.Object JavaDoc[].class,
54             long.class
55         });
56         useNewInvoke = true;
57         $method_getBnNode_0 = hero.interfaces.BnNodePerformerAssign.class.getMethod("getBnNode", new java.lang.Class JavaDoc[] {});
58         $method_getBnNodePerformerAssignValue_1 = hero.interfaces.BnNodePerformerAssign.class.getMethod("getBnNodePerformerAssignValue", new java.lang.Class JavaDoc[] {});
59         $method_getEJBHome_2 = javax.ejb.EJBObject JavaDoc.class.getMethod("getEJBHome", new java.lang.Class JavaDoc[] {});
60         $method_getHandle_3 = javax.ejb.EJBObject JavaDoc.class.getMethod("getHandle", new java.lang.Class JavaDoc[] {});
61         $method_getName_4 = hero.interfaces.BnNodePerformerAssign.class.getMethod("getName", new java.lang.Class JavaDoc[] {});
62         $method_getPrimaryKey_5 = javax.ejb.EJBObject JavaDoc.class.getMethod("getPrimaryKey", new java.lang.Class JavaDoc[] {});
63         $method_getPropertyName_6 = hero.interfaces.BnNodePerformerAssign.class.getMethod("getPropertyName", new java.lang.Class JavaDoc[] {});
64         $method_getType_7 = hero.interfaces.BnNodePerformerAssign.class.getMethod("getType", new java.lang.Class JavaDoc[] {});
65         $method_isIdentical_8 = javax.ejb.EJBObject JavaDoc.class.getMethod("isIdentical", new java.lang.Class JavaDoc[] {javax.ejb.EJBObject JavaDoc.class});
66         $method_remove_9 = javax.ejb.EJBObject JavaDoc.class.getMethod("remove", new java.lang.Class JavaDoc[] {});
67         $method_setBnNodePerformerAssignValue_10 = hero.interfaces.BnNodePerformerAssign.class.getMethod("setBnNodePerformerAssignValue", new java.lang.Class JavaDoc[] {hero.interfaces.BnNodePerformerAssignValue.class});
68         $method_setName_11 = hero.interfaces.BnNodePerformerAssign.class.getMethod("setName", new java.lang.Class JavaDoc[] {java.lang.String JavaDoc.class});
69         $method_setPropertyName_12 = hero.interfaces.BnNodePerformerAssign.class.getMethod("setPropertyName", new java.lang.Class JavaDoc[] {java.lang.String JavaDoc.class});
70         $method_setType_13 = hero.interfaces.BnNodePerformerAssign.class.getMethod("setType", new java.lang.Class JavaDoc[] {int.class});
71     } catch (java.lang.NoSuchMethodException JavaDoc e) {
72         useNewInvoke = false;
73     }
74     }
75     
76     // constructors
77
public JOnASBnNodePerformerAssign_366038555Remote_Stub() {
78     super();
79     }
80     public JOnASBnNodePerformerAssign_366038555Remote_Stub(java.rmi.server.RemoteRef JavaDoc ref) {
81     super(ref);
82     }
83     
84     // methods from remote interfaces
85

86     // implementation of getBnNode()
87
public hero.interfaces.BnNodeLocal getBnNode()
88     throws java.rmi.RemoteException JavaDoc
89     {
90     try {
91         if (useNewInvoke) {
92         Object JavaDoc $result = ref.invoke(this, $method_getBnNode_0, null, 1784247966531412160L);
93         return ((hero.interfaces.BnNodeLocal) $result);
94         } else {
95         java.rmi.server.RemoteCall JavaDoc call = ref.newCall((java.rmi.server.RemoteObject JavaDoc) this, operations, 0, interfaceHash);
96         ref.invoke(call);
97         hero.interfaces.BnNodeLocal $result;
98         try {
99             java.io.ObjectInput JavaDoc in = call.getInputStream();
100             $result = (hero.interfaces.BnNodeLocal) in.readObject();
101         } catch (java.io.IOException JavaDoc e) {
102             throw new java.rmi.UnmarshalException JavaDoc("error unmarshalling return", e);
103         } catch (java.lang.ClassNotFoundException JavaDoc e) {
104             throw new java.rmi.UnmarshalException JavaDoc("error unmarshalling return", e);
105         } finally {
106             ref.done(call);
107         }
108         return $result;
109         }
110     } catch (java.lang.RuntimeException JavaDoc e) {
111         throw e;
112     } catch (java.rmi.RemoteException JavaDoc e) {
113         throw e;
114     } catch (java.lang.Exception JavaDoc e) {
115         throw new java.rmi.UnexpectedException JavaDoc("undeclared checked exception", e);
116     }
117     }
118     
119     // implementation of getBnNodePerformerAssignValue()
120
public hero.interfaces.BnNodePerformerAssignValue getBnNodePerformerAssignValue()
121     throws java.rmi.RemoteException JavaDoc
122     {
123     try {
124         if (useNewInvoke) {
125         Object JavaDoc $result = ref.invoke(this, $method_getBnNodePerformerAssignValue_1, null, -4997011330519663264L);
126         return ((hero.interfaces.BnNodePerformerAssignValue) $result);
127         } else {
128         java.rmi.server.RemoteCall JavaDoc call = ref.newCall((java.rmi.server.RemoteObject JavaDoc) this, operations, 1, interfaceHash);
129         ref.invoke(call);
130         hero.interfaces.BnNodePerformerAssignValue $result;
131         try {
132             java.io.ObjectInput JavaDoc in = call.getInputStream();
133             $result = (hero.interfaces.BnNodePerformerAssignValue) in.readObject();
134         } catch (java.io.IOException JavaDoc e) {
135             throw new java.rmi.UnmarshalException JavaDoc("error unmarshalling return", e);
136         } catch (java.lang.ClassNotFoundException JavaDoc e) {
137             throw new java.rmi.UnmarshalException JavaDoc("error unmarshalling return", e);
138         } finally {
139             ref.done(call);
140         }
141         return $result;
142         }
143     } catch (java.lang.RuntimeException JavaDoc e) {
144         throw e;
145     } catch (java.rmi.RemoteException JavaDoc e) {
146         throw e;
147     } catch (java.lang.Exception JavaDoc e) {
148         throw new java.rmi.UnexpectedException JavaDoc("undeclared checked exception", e);
149     }
150     }
151     
152     // implementation of getEJBHome()
153
public javax.ejb.EJBHome JavaDoc getEJBHome()
154     throws java.rmi.RemoteException JavaDoc
155     {
156     try {
157         if (useNewInvoke) {
158         Object JavaDoc $result = ref.invoke(this, $method_getEJBHome_2, null, 3163754803894080547L);
159         return ((javax.ejb.EJBHome JavaDoc) $result);
160         } else {
161         java.rmi.server.RemoteCall JavaDoc call = ref.newCall((java.rmi.server.RemoteObject JavaDoc) this, operations, 2, interfaceHash);
162         ref.invoke(call);
163         javax.ejb.EJBHome JavaDoc $result;
164         try {
165             java.io.ObjectInput JavaDoc in = call.getInputStream();
166             $result = (javax.ejb.EJBHome JavaDoc) in.readObject();
167         } catch (java.io.IOException JavaDoc e) {
168             throw new java.rmi.UnmarshalException JavaDoc("error unmarshalling return", e);
169         } catch (java.lang.ClassNotFoundException JavaDoc e) {
170             throw new java.rmi.UnmarshalException JavaDoc("error unmarshalling return", e);
171         } finally {
172             ref.done(call);
173         }
174         return $result;
175         }
176     } catch (java.lang.RuntimeException JavaDoc e) {
177         throw e;
178     } catch (java.rmi.RemoteException JavaDoc e) {
179         throw e;
180     } catch (java.lang.Exception JavaDoc e) {
181         throw new java.rmi.UnexpectedException JavaDoc("undeclared checked exception", e);
182     }
183     }
184     
185     // implementation of getHandle()
186
public javax.ejb.Handle JavaDoc getHandle()
187     throws java.rmi.RemoteException JavaDoc
188     {
189     try {
190         if (useNewInvoke) {
191         Object JavaDoc $result = ref.invoke(this, $method_getHandle_3, null, -1299374689989208114L);
192         return ((javax.ejb.Handle JavaDoc) $result);
193         } else {
194         java.rmi.server.RemoteCall JavaDoc call = ref.newCall((java.rmi.server.RemoteObject JavaDoc) this, operations, 3, interfaceHash);
195         ref.invoke(call);
196         javax.ejb.Handle JavaDoc $result;
197         try {
198             java.io.ObjectInput JavaDoc in = call.getInputStream();
199             $result = (javax.ejb.Handle JavaDoc) in.readObject();
200         } catch (java.io.IOException JavaDoc e) {
201             throw new java.rmi.UnmarshalException JavaDoc("error unmarshalling return", e);
202         } catch (java.lang.ClassNotFoundException JavaDoc e) {
203             throw new java.rmi.UnmarshalException JavaDoc("error unmarshalling return", e);
204         } finally {
205             ref.done(call);
206         }
207         return $result;
208         }
209     } catch (java.lang.RuntimeException JavaDoc e) {
210         throw e;
211     } catch (java.rmi.RemoteException JavaDoc e) {
212         throw e;
213     } catch (java.lang.Exception JavaDoc e) {
214         throw new java.rmi.UnexpectedException JavaDoc("undeclared checked exception", e);
215     }
216     }
217     
218     // implementation of getName()
219
public java.lang.String JavaDoc getName()
220     throws java.rmi.RemoteException JavaDoc
221     {
222     try {
223         if (useNewInvoke) {
224         Object JavaDoc $result = ref.invoke(this, $method_getName_4, null, 6317137956467216454L);
225         return ((java.lang.String JavaDoc) $result);
226         } else {
227         java.rmi.server.RemoteCall JavaDoc call = ref.newCall((java.rmi.server.RemoteObject JavaDoc) this, operations, 4, interfaceHash);
228         ref.invoke(call);
229         java.lang.String JavaDoc $result;
230         try {
231             java.io.ObjectInput JavaDoc in = call.getInputStream();
232             $result = (java.lang.String JavaDoc) in.readObject();
233         } catch (java.io.IOException JavaDoc e) {
234             throw new java.rmi.UnmarshalException JavaDoc("error unmarshalling return", e);
235         } catch (java.lang.ClassNotFoundException JavaDoc e) {
236             throw new java.rmi.UnmarshalException JavaDoc("error unmarshalling return", e);
237         } finally {
238             ref.done(call);
239         }
240         return $result;
241         }
242     } catch (java.lang.RuntimeException JavaDoc e) {
243         throw e;
244     } catch (java.rmi.RemoteException JavaDoc e) {
245         throw e;
246     } catch (java.lang.Exception JavaDoc e) {
247         throw new java.rmi.UnexpectedException JavaDoc("undeclared checked exception", e);
248     }
249     }
250     
251     // implementation of getPrimaryKey()
252
public java.lang.Object JavaDoc getPrimaryKey()
253     throws java.rmi.RemoteException JavaDoc
254     {
255     try {
256         if (useNewInvoke) {
257         Object JavaDoc $result = ref.invoke(this, $method_getPrimaryKey_5, null, 4840115071604865751L);
258         return ((java.lang.Object JavaDoc) $result);
259         } else {
260         java.rmi.server.RemoteCall JavaDoc call = ref.newCall((java.rmi.server.RemoteObject JavaDoc) this, operations, 5, interfaceHash);
261         ref.invoke(call);
262         java.lang.Object JavaDoc $result;
263         try {
264             java.io.ObjectInput JavaDoc in = call.getInputStream();
265             $result = (java.lang.Object JavaDoc) in.readObject();
266         } catch (java.io.IOException JavaDoc e) {
267             throw new java.rmi.UnmarshalException JavaDoc("error unmarshalling return", e);
268         } catch (java.lang.ClassNotFoundException JavaDoc e) {
269             throw new java.rmi.UnmarshalException JavaDoc("error unmarshalling return", e);
270         } finally {
271             ref.done(call);
272         }
273         return $result;
274         }
275     } catch (java.lang.RuntimeException JavaDoc e) {
276         throw e;
277     } catch (java.rmi.RemoteException JavaDoc e) {
278         throw e;
279     } catch (java.lang.Exception JavaDoc e) {
280         throw new java.rmi.UnexpectedException JavaDoc("undeclared checked exception", e);
281     }
282     }
283     
284     // implementation of getPropertyName()
285
public java.lang.String JavaDoc getPropertyName()
286     throws java.rmi.RemoteException JavaDoc
287     {
288     try {
289         if (useNewInvoke) {
290         Object JavaDoc $result = ref.invoke(this, $method_getPropertyName_6, null, 42407870720611579L);
291         return ((java.lang.String JavaDoc) $result);
292         } else {
293         java.rmi.server.RemoteCall JavaDoc call = ref.newCall((java.rmi.server.RemoteObject JavaDoc) this, operations, 6, interfaceHash);
294         ref.invoke(call);
295         java.lang.String JavaDoc $result;
296         try {
297             java.io.ObjectInput JavaDoc in = call.getInputStream();
298             $result = (java.lang.String JavaDoc) in.readObject();
299         } catch (java.io.IOException JavaDoc e) {
300             throw new java.rmi.UnmarshalException JavaDoc("error unmarshalling return", e);
301         } catch (java.lang.ClassNotFoundException JavaDoc e) {
302             throw new java.rmi.UnmarshalException JavaDoc("error unmarshalling return", e);
303         } finally {
304             ref.done(call);
305         }
306         return $result;
307         }
308     } catch (java.lang.RuntimeException JavaDoc e) {
309         throw e;
310     } catch (java.rmi.RemoteException JavaDoc e) {
311         throw e;
312     } catch (java.lang.Exception JavaDoc e) {
313         throw new java.rmi.UnexpectedException JavaDoc("undeclared checked exception", e);
314     }
315     }
316     
317     // implementation of getType()
318
public int getType()
319     throws java.rmi.RemoteException JavaDoc
320     {
321     try {
322         if (useNewInvoke) {
323         Object JavaDoc $result = ref.invoke(this, $method_getType_7, null, -7030183335631564859L);
324         return ((java.lang.Integer JavaDoc) $result).intValue();
325         } else {
326         java.rmi.server.RemoteCall JavaDoc call = ref.newCall((java.rmi.server.RemoteObject JavaDoc) this, operations, 7, interfaceHash);
327         ref.invoke(call);
328         int $result;
329         try {
330             java.io.ObjectInput JavaDoc in = call.getInputStream();
331             $result = in.readInt();
332         } catch (java.io.IOException JavaDoc e) {
333             throw new java.rmi.UnmarshalException JavaDoc("error unmarshalling return", e);
334         } finally {
335             ref.done(call);
336         }
337         return $result;
338         }
339     } catch (java.lang.RuntimeException JavaDoc e) {
340         throw e;
341     } catch (java.rmi.RemoteException JavaDoc e) {
342         throw e;
343     } catch (java.lang.Exception JavaDoc e) {
344         throw new java.rmi.UnexpectedException JavaDoc("undeclared checked exception", e);
345     }
346     }
347     
348     // implementation of isIdentical(EJBObject)
349
public boolean isIdentical(javax.ejb.EJBObject JavaDoc $param_EJBObject_1)
350     throws java.rmi.RemoteException JavaDoc
351     {
352     try {
353         if (useNewInvoke) {
354         Object JavaDoc $result = ref.invoke(this, $method_isIdentical_8, new java.lang.Object JavaDoc[] {$param_EJBObject_1}, -5909123752501984271L);
355         return ((java.lang.Boolean JavaDoc) $result).booleanValue();
356         } else {
357         java.rmi.server.RemoteCall JavaDoc call = ref.newCall((java.rmi.server.RemoteObject JavaDoc) this, operations, 8, interfaceHash);
358         try {
359             java.io.ObjectOutput JavaDoc out = call.getOutputStream();
360             out.writeObject($param_EJBObject_1);
361         } catch (java.io.IOException JavaDoc e) {
362             throw new java.rmi.MarshalException JavaDoc("error marshalling arguments", e);
363         }
364         ref.invoke(call);
365         boolean $result;
366         try {
367             java.io.ObjectInput JavaDoc in = call.getInputStream();
368             $result = in.readBoolean();
369         } catch (java.io.IOException JavaDoc e) {
370             throw new java.rmi.UnmarshalException JavaDoc("error unmarshalling return", e);
371         } finally {
372             ref.done(call);
373         }
374         return $result;
375         }
376     } catch (java.lang.RuntimeException JavaDoc e) {
377         throw e;
378     } catch (java.rmi.RemoteException JavaDoc e) {
379         throw e;
380     } catch (java.lang.Exception JavaDoc e) {
381         throw new java.rmi.UnexpectedException JavaDoc("undeclared checked exception", e);
382     }
383     }
384     
385     // implementation of remove()
386
public void remove()
387     throws java.rmi.RemoteException JavaDoc, javax.ejb.RemoveException JavaDoc
388     {
389     try {
390         if (useNewInvoke) {
391         ref.invoke(this, $method_remove_9, null, -5013858639939630501L);
392         } else {
393         java.rmi.server.RemoteCall JavaDoc call = ref.newCall((java.rmi.server.RemoteObject JavaDoc) this, operations, 9, interfaceHash);
394         ref.invoke(call);
395         ref.done(call);
396         }
397     } catch (java.lang.RuntimeException JavaDoc e) {
398         throw e;
399     } catch (java.rmi.RemoteException JavaDoc e) {
400         throw e;
401     } catch (javax.ejb.RemoveException JavaDoc e) {
402         throw e;
403     } catch (java.lang.Exception JavaDoc e) {
404         throw new java.rmi.UnexpectedException JavaDoc("undeclared checked exception", e);
405     }
406     }
407     
408     // implementation of setBnNodePerformerAssignValue(BnNodePerformerAssignValue)
409
public void setBnNodePerformerAssignValue(hero.interfaces.BnNodePerformerAssignValue $param_BnNodePerformerAssignValue_1)
410     throws java.rmi.RemoteException JavaDoc
411     {
412     try {
413         if (useNewInvoke) {
414         ref.invoke(this, $method_setBnNodePerformerAssignValue_10, new java.lang.Object JavaDoc[] {$param_BnNodePerformerAssignValue_1}, -1898219276543621120L);
415         } else {
416         java.rmi.server.RemoteCall JavaDoc call = ref.newCall((java.rmi.server.RemoteObject JavaDoc) this, operations, 10, interfaceHash);
417         try {
418             java.io.ObjectOutput JavaDoc out = call.getOutputStream();
419             out.writeObject($param_BnNodePerformerAssignValue_1);
420         } catch (java.io.IOException JavaDoc e) {
421             throw new java.rmi.MarshalException JavaDoc("error marshalling arguments", e);
422         }
423         ref.invoke(call);
424         ref.done(call);
425         }
426     } catch (java.lang.RuntimeException JavaDoc e) {
427         throw e;
428     } catch (java.rmi.RemoteException JavaDoc e) {
429         throw e;
430     } catch (java.lang.Exception JavaDoc e) {
431         throw new java.rmi.UnexpectedException JavaDoc("undeclared checked exception", e);
432     }
433     }
434     
435     // implementation of setName(String)
436
public void setName(java.lang.String JavaDoc $param_String_1)
437     throws java.rmi.RemoteException JavaDoc
438     {
439     try {
440         if (useNewInvoke) {
441         ref.invoke(this, $method_setName_11, new java.lang.Object JavaDoc[] {$param_String_1}, 1344297395548290975L);
442         } else {
443         java.rmi.server.RemoteCall JavaDoc call = ref.newCall((java.rmi.server.RemoteObject JavaDoc) this, operations, 11, interfaceHash);
444         try {
445             java.io.ObjectOutput JavaDoc out = call.getOutputStream();
446             out.writeObject($param_String_1);
447         } catch (java.io.IOException JavaDoc e) {
448             throw new java.rmi.MarshalException JavaDoc("error marshalling arguments", e);
449         }
450         ref.invoke(call);
451         ref.done(call);
452         }
453     } catch (java.lang.RuntimeException JavaDoc e) {
454         throw e;
455     } catch (java.rmi.RemoteException JavaDoc e) {
456         throw e;
457     } catch (java.lang.Exception JavaDoc e) {
458         throw new java.rmi.UnexpectedException JavaDoc("undeclared checked exception", e);
459     }
460     }
461     
462     // implementation of setPropertyName(String)
463
public void setPropertyName(java.lang.String JavaDoc $param_String_1)
464     throws java.rmi.RemoteException JavaDoc
465     {
466     try {
467         if (useNewInvoke) {
468         ref.invoke(this, $method_setPropertyName_12, new java.lang.Object JavaDoc[] {$param_String_1}, -3575634665656276826L);
469         } else {
470         java.rmi.server.RemoteCall JavaDoc call = ref.newCall((java.rmi.server.RemoteObject JavaDoc) this, operations, 12, interfaceHash);
471         try {
472             java.io.ObjectOutput JavaDoc out = call.getOutputStream();
473             out.writeObject($param_String_1);
474         } catch (java.io.IOException JavaDoc e) {
475             throw new java.rmi.MarshalException JavaDoc("error marshalling arguments", e);
476         }
477         ref.invoke(call);
478         ref.done(call);
479         }
480     } catch (java.lang.RuntimeException JavaDoc e) {
481         throw e;
482     } catch (java.rmi.RemoteException JavaDoc e) {
483         throw e;
484     } catch (java.lang.Exception JavaDoc e) {
485         throw new java.rmi.UnexpectedException JavaDoc("undeclared checked exception", e);
486     }
487     }
488     
489     // implementation of setType(int)
490
public void setType(int $param_int_1)
491     throws java.rmi.RemoteException JavaDoc
492     {
493     try {
494         if (useNewInvoke) {
495         ref.invoke(this, $method_setType_13, new java.lang.Object JavaDoc[] {new java.lang.Integer JavaDoc($param_int_1)}, -7949851783537712531L);
496         } else {
497         java.rmi.server.RemoteCall JavaDoc call = ref.newCall((java.rmi.server.RemoteObject JavaDoc) this, operations, 13, interfaceHash);
498         try {
499             java.io.ObjectOutput JavaDoc out = call.getOutputStream();
500             out.writeInt($param_int_1);
501         } catch (java.io.IOException JavaDoc e) {
502             throw new java.rmi.MarshalException JavaDoc("error marshalling arguments", e);
503         }
504         ref.invoke(call);
505         ref.done(call);
506         }
507     } catch (java.lang.RuntimeException JavaDoc e) {
508         throw e;
509     } catch (java.rmi.RemoteException JavaDoc e) {
510         throw e;
511     } catch (java.lang.Exception JavaDoc e) {
512         throw new java.rmi.UnexpectedException JavaDoc("undeclared checked exception", e);
513     }
514     }
515 }
516
Popular Tags