KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > hero > interfaces > JOnASBnAgent_1234454663Remote_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 JOnASBnAgent_1234454663Remote_Stub
7     extends java.rmi.server.RemoteStub JavaDoc
8     implements hero.interfaces.BnAgent, 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.BnAgentLightValue getBnAgentLightValue()"),
12     new java.rmi.server.Operation JavaDoc("hero.interfaces.BnAgentValue getBnAgentValue()"),
13     new java.rmi.server.Operation JavaDoc("java.util.Date getCreationDate()"),
14     new java.rmi.server.Operation JavaDoc("java.lang.String getDescription()"),
15     new java.rmi.server.Operation JavaDoc("javax.ejb.EJBHome getEJBHome()"),
16     new java.rmi.server.Operation JavaDoc("javax.ejb.Handle getHandle()"),
17     new java.rmi.server.Operation JavaDoc("java.lang.String getName()"),
18     new java.rmi.server.Operation JavaDoc("java.lang.Object getPrimaryKey()"),
19     new java.rmi.server.Operation JavaDoc("int getState()"),
20     new java.rmi.server.Operation JavaDoc("boolean isIdentical(javax.ejb.EJBObject)"),
21     new java.rmi.server.Operation JavaDoc("void remove()"),
22     new java.rmi.server.Operation JavaDoc("void setBnAgentValue(hero.interfaces.BnAgentValue)"),
23     new java.rmi.server.Operation JavaDoc("void setCreationDate(java.util.Date)"),
24     new java.rmi.server.Operation JavaDoc("void setDescription(java.lang.String)"),
25     new java.rmi.server.Operation JavaDoc("void setState(int)")
26     };
27     
28     private static final long interfaceHash = -8278469713996233479L;
29     
30     private static final long serialVersionUID = 2;
31     
32     private static boolean useNewInvoke;
33     private static java.lang.reflect.Method JavaDoc $method_getBnAgentLightValue_0;
34     private static java.lang.reflect.Method JavaDoc $method_getBnAgentValue_1;
35     private static java.lang.reflect.Method JavaDoc $method_getCreationDate_2;
36     private static java.lang.reflect.Method JavaDoc $method_getDescription_3;
37     private static java.lang.reflect.Method JavaDoc $method_getEJBHome_4;
38     private static java.lang.reflect.Method JavaDoc $method_getHandle_5;
39     private static java.lang.reflect.Method JavaDoc $method_getName_6;
40     private static java.lang.reflect.Method JavaDoc $method_getPrimaryKey_7;
41     private static java.lang.reflect.Method JavaDoc $method_getState_8;
42     private static java.lang.reflect.Method JavaDoc $method_isIdentical_9;
43     private static java.lang.reflect.Method JavaDoc $method_remove_10;
44     private static java.lang.reflect.Method JavaDoc $method_setBnAgentValue_11;
45     private static java.lang.reflect.Method JavaDoc $method_setCreationDate_12;
46     private static java.lang.reflect.Method JavaDoc $method_setDescription_13;
47     private static java.lang.reflect.Method JavaDoc $method_setState_14;
48     
49     static {
50     try {
51         java.rmi.server.RemoteRef JavaDoc.class.getMethod("invoke",
52         new java.lang.Class JavaDoc[] {
53             java.rmi.Remote JavaDoc.class,
54             java.lang.reflect.Method JavaDoc.class,
55             java.lang.Object JavaDoc[].class,
56             long.class
57         });
58         useNewInvoke = true;
59         $method_getBnAgentLightValue_0 = hero.interfaces.BnAgent.class.getMethod("getBnAgentLightValue", new java.lang.Class JavaDoc[] {});
60         $method_getBnAgentValue_1 = hero.interfaces.BnAgent.class.getMethod("getBnAgentValue", new java.lang.Class JavaDoc[] {});
61         $method_getCreationDate_2 = hero.interfaces.BnAgent.class.getMethod("getCreationDate", new java.lang.Class JavaDoc[] {});
62         $method_getDescription_3 = hero.interfaces.BnAgent.class.getMethod("getDescription", new java.lang.Class JavaDoc[] {});
63         $method_getEJBHome_4 = javax.ejb.EJBObject JavaDoc.class.getMethod("getEJBHome", new java.lang.Class JavaDoc[] {});
64         $method_getHandle_5 = javax.ejb.EJBObject JavaDoc.class.getMethod("getHandle", new java.lang.Class JavaDoc[] {});
65         $method_getName_6 = hero.interfaces.BnAgent.class.getMethod("getName", new java.lang.Class JavaDoc[] {});
66         $method_getPrimaryKey_7 = javax.ejb.EJBObject JavaDoc.class.getMethod("getPrimaryKey", new java.lang.Class JavaDoc[] {});
67         $method_getState_8 = hero.interfaces.BnAgent.class.getMethod("getState", new java.lang.Class JavaDoc[] {});
68         $method_isIdentical_9 = javax.ejb.EJBObject JavaDoc.class.getMethod("isIdentical", new java.lang.Class JavaDoc[] {javax.ejb.EJBObject JavaDoc.class});
69         $method_remove_10 = javax.ejb.EJBObject JavaDoc.class.getMethod("remove", new java.lang.Class JavaDoc[] {});
70         $method_setBnAgentValue_11 = hero.interfaces.BnAgent.class.getMethod("setBnAgentValue", new java.lang.Class JavaDoc[] {hero.interfaces.BnAgentValue.class});
71         $method_setCreationDate_12 = hero.interfaces.BnAgent.class.getMethod("setCreationDate", new java.lang.Class JavaDoc[] {java.util.Date JavaDoc.class});
72         $method_setDescription_13 = hero.interfaces.BnAgent.class.getMethod("setDescription", new java.lang.Class JavaDoc[] {java.lang.String JavaDoc.class});
73         $method_setState_14 = hero.interfaces.BnAgent.class.getMethod("setState", new java.lang.Class JavaDoc[] {int.class});
74     } catch (java.lang.NoSuchMethodException JavaDoc e) {
75         useNewInvoke = false;
76     }
77     }
78     
79     // constructors
80
public JOnASBnAgent_1234454663Remote_Stub() {
81     super();
82     }
83     public JOnASBnAgent_1234454663Remote_Stub(java.rmi.server.RemoteRef JavaDoc ref) {
84     super(ref);
85     }
86     
87     // methods from remote interfaces
88

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