1 4 package hero.interfaces; 5 6 public final class JOnASBnProject2046800545Home_Stub 7 extends java.rmi.server.RemoteStub 8 implements hero.interfaces.BnProjectHome, java.rmi.Remote , javax.ejb.EJBHome 9 { 10 private static final java.rmi.server.Operation [] operations = { 11 new java.rmi.server.Operation ("hero.interfaces.BnProject create()"), 12 new java.rmi.server.Operation ("hero.interfaces.BnProject create(java.lang.String, java.lang.String)"), 13 new java.rmi.server.Operation ("java.util.Collection findAll()"), 14 new java.rmi.server.Operation ("java.util.Collection findByAdmin(java.lang.String, java.lang.String, java.lang.String)"), 15 new java.rmi.server.Operation ("hero.interfaces.BnProject findByName(java.lang.String)"), 16 new java.rmi.server.Operation ("hero.interfaces.BnProject findByPrimaryKey(hero.interfaces.BnProjectPK)"), 17 new java.rmi.server.Operation ("java.util.Collection findByUser(java.lang.String)"), 18 new java.rmi.server.Operation ("java.util.Collection findModels(java.lang.String)"), 19 new java.rmi.server.Operation ("java.util.Collection findProjectsByProperty(java.lang.String, java.lang.String)"), 20 new java.rmi.server.Operation ("java.util.Collection findUserInstancesByProject(java.lang.String, java.lang.String)"), 21 new java.rmi.server.Operation ("javax.ejb.EJBMetaData getEJBMetaData()"), 22 new java.rmi.server.Operation ("javax.ejb.HomeHandle getHomeHandle()"), 23 new java.rmi.server.Operation ("void remove(java.lang.Object)"), 24 new java.rmi.server.Operation ("void remove(javax.ejb.Handle)") 25 }; 26 27 private static final long interfaceHash = -9173366630041789500L; 28 29 private static final long serialVersionUID = 2; 30 31 private static boolean useNewInvoke; 32 private static java.lang.reflect.Method $method_create_0; 33 private static java.lang.reflect.Method $method_create_1; 34 private static java.lang.reflect.Method $method_findAll_2; 35 private static java.lang.reflect.Method $method_findByAdmin_3; 36 private static java.lang.reflect.Method $method_findByName_4; 37 private static java.lang.reflect.Method $method_findByPrimaryKey_5; 38 private static java.lang.reflect.Method $method_findByUser_6; 39 private static java.lang.reflect.Method $method_findModels_7; 40 private static java.lang.reflect.Method $method_findProjectsByProperty_8; 41 private static java.lang.reflect.Method $method_findUserInstancesByProject_9; 42 private static java.lang.reflect.Method $method_getEJBMetaData_10; 43 private static java.lang.reflect.Method $method_getHomeHandle_11; 44 private static java.lang.reflect.Method $method_remove_12; 45 private static java.lang.reflect.Method $method_remove_13; 46 47 static { 48 try { 49 java.rmi.server.RemoteRef .class.getMethod("invoke", 50 new java.lang.Class [] { 51 java.rmi.Remote .class, 52 java.lang.reflect.Method .class, 53 java.lang.Object [].class, 54 long.class 55 }); 56 useNewInvoke = true; 57 $method_create_0 = hero.interfaces.BnProjectHome.class.getMethod("create", new java.lang.Class [] {}); 58 $method_create_1 = hero.interfaces.BnProjectHome.class.getMethod("create", new java.lang.Class [] {java.lang.String .class, java.lang.String .class}); 59 $method_findAll_2 = hero.interfaces.BnProjectHome.class.getMethod("findAll", new java.lang.Class [] {}); 60 $method_findByAdmin_3 = hero.interfaces.BnProjectHome.class.getMethod("findByAdmin", new java.lang.Class [] {java.lang.String .class, java.lang.String .class, java.lang.String .class}); 61 $method_findByName_4 = hero.interfaces.BnProjectHome.class.getMethod("findByName", new java.lang.Class [] {java.lang.String .class}); 62 $method_findByPrimaryKey_5 = hero.interfaces.BnProjectHome.class.getMethod("findByPrimaryKey", new java.lang.Class [] {hero.interfaces.BnProjectPK.class}); 63 $method_findByUser_6 = hero.interfaces.BnProjectHome.class.getMethod("findByUser", new java.lang.Class [] {java.lang.String .class}); 64 $method_findModels_7 = hero.interfaces.BnProjectHome.class.getMethod("findModels", new java.lang.Class [] {java.lang.String .class}); 65 $method_findProjectsByProperty_8 = hero.interfaces.BnProjectHome.class.getMethod("findProjectsByProperty", new java.lang.Class [] {java.lang.String .class, java.lang.String .class}); 66 $method_findUserInstancesByProject_9 = hero.interfaces.BnProjectHome.class.getMethod("findUserInstancesByProject", new java.lang.Class [] {java.lang.String .class, java.lang.String .class}); 67 $method_getEJBMetaData_10 = javax.ejb.EJBHome .class.getMethod("getEJBMetaData", new java.lang.Class [] {}); 68 $method_getHomeHandle_11 = javax.ejb.EJBHome .class.getMethod("getHomeHandle", new java.lang.Class [] {}); 69 $method_remove_12 = javax.ejb.EJBHome .class.getMethod("remove", new java.lang.Class [] {java.lang.Object .class}); 70 $method_remove_13 = javax.ejb.EJBHome .class.getMethod("remove", new java.lang.Class [] {javax.ejb.Handle .class}); 71 } catch (java.lang.NoSuchMethodException e) { 72 useNewInvoke = false; 73 } 74 } 75 76 public JOnASBnProject2046800545Home_Stub() { 78 super(); 79 } 80 public JOnASBnProject2046800545Home_Stub(java.rmi.server.RemoteRef ref) { 81 super(ref); 82 } 83 84 86 public hero.interfaces.BnProject create() 88 throws hero.interfaces.InvalidValueException, java.rmi.RemoteException , javax.ejb.CreateException 89 { 90 try { 91 if (useNewInvoke) { 92 Object $result = ref.invoke(this, $method_create_0, null, -4664979632471209213L); 93 return ((hero.interfaces.BnProject) $result); 94 } else { 95 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 0, interfaceHash); 96 ref.invoke(call); 97 hero.interfaces.BnProject $result; 98 try { 99 java.io.ObjectInput in = call.getInputStream(); 100 $result = (hero.interfaces.BnProject) in.readObject(); 101 } catch (java.io.IOException e) { 102 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 103 } catch (java.lang.ClassNotFoundException e) { 104 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 105 } finally { 106 ref.done(call); 107 } 108 return $result; 109 } 110 } catch (java.lang.RuntimeException e) { 111 throw e; 112 } catch (java.rmi.RemoteException e) { 113 throw e; 114 } catch (hero.interfaces.InvalidValueException e) { 115 throw e; 116 } catch (javax.ejb.CreateException e) { 117 throw e; 118 } catch (java.lang.Exception e) { 119 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 120 } 121 } 122 123 public hero.interfaces.BnProject create(java.lang.String $param_String_1, java.lang.String $param_String_2) 125 throws hero.interfaces.InvalidValueException, java.rmi.RemoteException , javax.ejb.CreateException 126 { 127 try { 128 if (useNewInvoke) { 129 Object $result = ref.invoke(this, $method_create_1, new java.lang.Object [] {$param_String_1, $param_String_2}, -4890665698830370239L); 130 return ((hero.interfaces.BnProject) $result); 131 } else { 132 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 1, interfaceHash); 133 try { 134 java.io.ObjectOutput out = call.getOutputStream(); 135 out.writeObject($param_String_1); 136 out.writeObject($param_String_2); 137 } catch (java.io.IOException e) { 138 throw new java.rmi.MarshalException ("error marshalling arguments", e); 139 } 140 ref.invoke(call); 141 hero.interfaces.BnProject $result; 142 try { 143 java.io.ObjectInput in = call.getInputStream(); 144 $result = (hero.interfaces.BnProject) in.readObject(); 145 } catch (java.io.IOException e) { 146 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 147 } catch (java.lang.ClassNotFoundException e) { 148 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 149 } finally { 150 ref.done(call); 151 } 152 return $result; 153 } 154 } catch (java.lang.RuntimeException e) { 155 throw e; 156 } catch (java.rmi.RemoteException e) { 157 throw e; 158 } catch (hero.interfaces.InvalidValueException e) { 159 throw e; 160 } catch (javax.ejb.CreateException e) { 161 throw e; 162 } catch (java.lang.Exception e) { 163 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 164 } 165 } 166 167 public java.util.Collection findAll() 169 throws java.rmi.RemoteException , javax.ejb.FinderException 170 { 171 try { 172 if (useNewInvoke) { 173 Object $result = ref.invoke(this, $method_findAll_2, null, -4609096605735334920L); 174 return ((java.util.Collection ) $result); 175 } else { 176 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 2, interfaceHash); 177 ref.invoke(call); 178 java.util.Collection $result; 179 try { 180 java.io.ObjectInput in = call.getInputStream(); 181 $result = (java.util.Collection ) in.readObject(); 182 } catch (java.io.IOException e) { 183 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 184 } catch (java.lang.ClassNotFoundException e) { 185 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 186 } finally { 187 ref.done(call); 188 } 189 return $result; 190 } 191 } catch (java.lang.RuntimeException e) { 192 throw e; 193 } catch (java.rmi.RemoteException e) { 194 throw e; 195 } catch (javax.ejb.FinderException e) { 196 throw e; 197 } catch (java.lang.Exception e) { 198 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 199 } 200 } 201 202 public java.util.Collection findByAdmin(java.lang.String $param_String_1, java.lang.String $param_String_2, java.lang.String $param_String_3) 204 throws java.rmi.RemoteException , javax.ejb.FinderException 205 { 206 try { 207 if (useNewInvoke) { 208 Object $result = ref.invoke(this, $method_findByAdmin_3, new java.lang.Object [] {$param_String_1, $param_String_2, $param_String_3}, -1894095934389768532L); 209 return ((java.util.Collection ) $result); 210 } else { 211 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 3, interfaceHash); 212 try { 213 java.io.ObjectOutput out = call.getOutputStream(); 214 out.writeObject($param_String_1); 215 out.writeObject($param_String_2); 216 out.writeObject($param_String_3); 217 } catch (java.io.IOException e) { 218 throw new java.rmi.MarshalException ("error marshalling arguments", e); 219 } 220 ref.invoke(call); 221 java.util.Collection $result; 222 try { 223 java.io.ObjectInput in = call.getInputStream(); 224 $result = (java.util.Collection ) in.readObject(); 225 } catch (java.io.IOException e) { 226 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 227 } catch (java.lang.ClassNotFoundException e) { 228 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 229 } finally { 230 ref.done(call); 231 } 232 return $result; 233 } 234 } catch (java.lang.RuntimeException e) { 235 throw e; 236 } catch (java.rmi.RemoteException e) { 237 throw e; 238 } catch (javax.ejb.FinderException e) { 239 throw e; 240 } catch (java.lang.Exception e) { 241 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 242 } 243 } 244 245 public hero.interfaces.BnProject findByName(java.lang.String $param_String_1) 247 throws java.rmi.RemoteException , javax.ejb.FinderException 248 { 249 try { 250 if (useNewInvoke) { 251 Object $result = ref.invoke(this, $method_findByName_4, new java.lang.Object [] {$param_String_1}, -911961011903308785L); 252 return ((hero.interfaces.BnProject) $result); 253 } else { 254 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 4, interfaceHash); 255 try { 256 java.io.ObjectOutput out = call.getOutputStream(); 257 out.writeObject($param_String_1); 258 } catch (java.io.IOException e) { 259 throw new java.rmi.MarshalException ("error marshalling arguments", e); 260 } 261 ref.invoke(call); 262 hero.interfaces.BnProject $result; 263 try { 264 java.io.ObjectInput in = call.getInputStream(); 265 $result = (hero.interfaces.BnProject) in.readObject(); 266 } catch (java.io.IOException e) { 267 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 268 } catch (java.lang.ClassNotFoundException e) { 269 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 270 } finally { 271 ref.done(call); 272 } 273 return $result; 274 } 275 } catch (java.lang.RuntimeException e) { 276 throw e; 277 } catch (java.rmi.RemoteException e) { 278 throw e; 279 } catch (javax.ejb.FinderException e) { 280 throw e; 281 } catch (java.lang.Exception e) { 282 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 283 } 284 } 285 286 public hero.interfaces.BnProject findByPrimaryKey(hero.interfaces.BnProjectPK $param_BnProjectPK_1) 288 throws java.rmi.RemoteException , javax.ejb.FinderException 289 { 290 try { 291 if (useNewInvoke) { 292 Object $result = ref.invoke(this, $method_findByPrimaryKey_5, new java.lang.Object [] {$param_BnProjectPK_1}, 3871550715315140882L); 293 return ((hero.interfaces.BnProject) $result); 294 } else { 295 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 5, interfaceHash); 296 try { 297 java.io.ObjectOutput out = call.getOutputStream(); 298 out.writeObject($param_BnProjectPK_1); 299 } catch (java.io.IOException e) { 300 throw new java.rmi.MarshalException ("error marshalling arguments", e); 301 } 302 ref.invoke(call); 303 hero.interfaces.BnProject $result; 304 try { 305 java.io.ObjectInput in = call.getInputStream(); 306 $result = (hero.interfaces.BnProject) in.readObject(); 307 } catch (java.io.IOException e) { 308 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 309 } catch (java.lang.ClassNotFoundException e) { 310 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 311 } finally { 312 ref.done(call); 313 } 314 return $result; 315 } 316 } catch (java.lang.RuntimeException e) { 317 throw e; 318 } catch (java.rmi.RemoteException e) { 319 throw e; 320 } catch (javax.ejb.FinderException e) { 321 throw e; 322 } catch (java.lang.Exception e) { 323 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 324 } 325 } 326 327 public java.util.Collection findByUser(java.lang.String $param_String_1) 329 throws java.rmi.RemoteException , javax.ejb.FinderException 330 { 331 try { 332 if (useNewInvoke) { 333 Object $result = ref.invoke(this, $method_findByUser_6, new java.lang.Object [] {$param_String_1}, 9160832033494657191L); 334 return ((java.util.Collection ) $result); 335 } else { 336 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 6, interfaceHash); 337 try { 338 java.io.ObjectOutput out = call.getOutputStream(); 339 out.writeObject($param_String_1); 340 } catch (java.io.IOException e) { 341 throw new java.rmi.MarshalException ("error marshalling arguments", e); 342 } 343 ref.invoke(call); 344 java.util.Collection $result; 345 try { 346 java.io.ObjectInput in = call.getInputStream(); 347 $result = (java.util.Collection ) in.readObject(); 348 } catch (java.io.IOException e) { 349 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 350 } catch (java.lang.ClassNotFoundException e) { 351 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 352 } finally { 353 ref.done(call); 354 } 355 return $result; 356 } 357 } catch (java.lang.RuntimeException e) { 358 throw e; 359 } catch (java.rmi.RemoteException e) { 360 throw e; 361 } catch (javax.ejb.FinderException e) { 362 throw e; 363 } catch (java.lang.Exception e) { 364 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 365 } 366 } 367 368 public java.util.Collection findModels(java.lang.String $param_String_1) 370 throws java.rmi.RemoteException , javax.ejb.FinderException 371 { 372 try { 373 if (useNewInvoke) { 374 Object $result = ref.invoke(this, $method_findModels_7, new java.lang.Object [] {$param_String_1}, 7165913616493017595L); 375 return ((java.util.Collection ) $result); 376 } else { 377 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 7, interfaceHash); 378 try { 379 java.io.ObjectOutput out = call.getOutputStream(); 380 out.writeObject($param_String_1); 381 } catch (java.io.IOException e) { 382 throw new java.rmi.MarshalException ("error marshalling arguments", e); 383 } 384 ref.invoke(call); 385 java.util.Collection $result; 386 try { 387 java.io.ObjectInput in = call.getInputStream(); 388 $result = (java.util.Collection ) in.readObject(); 389 } catch (java.io.IOException e) { 390 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 391 } catch (java.lang.ClassNotFoundException e) { 392 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 393 } finally { 394 ref.done(call); 395 } 396 return $result; 397 } 398 } catch (java.lang.RuntimeException e) { 399 throw e; 400 } catch (java.rmi.RemoteException e) { 401 throw e; 402 } catch (javax.ejb.FinderException e) { 403 throw e; 404 } catch (java.lang.Exception e) { 405 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 406 } 407 } 408 409 public java.util.Collection findProjectsByProperty(java.lang.String $param_String_1, java.lang.String $param_String_2) 411 throws java.rmi.RemoteException , javax.ejb.FinderException 412 { 413 try { 414 if (useNewInvoke) { 415 Object $result = ref.invoke(this, $method_findProjectsByProperty_8, new java.lang.Object [] {$param_String_1, $param_String_2}, 1697020010814147470L); 416 return ((java.util.Collection ) $result); 417 } else { 418 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 8, interfaceHash); 419 try { 420 java.io.ObjectOutput out = call.getOutputStream(); 421 out.writeObject($param_String_1); 422 out.writeObject($param_String_2); 423 } catch (java.io.IOException e) { 424 throw new java.rmi.MarshalException ("error marshalling arguments", e); 425 } 426 ref.invoke(call); 427 java.util.Collection $result; 428 try { 429 java.io.ObjectInput in = call.getInputStream(); 430 $result = (java.util.Collection ) in.readObject(); 431 } catch (java.io.IOException e) { 432 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 433 } catch (java.lang.ClassNotFoundException e) { 434 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 435 } finally { 436 ref.done(call); 437 } 438 return $result; 439 } 440 } catch (java.lang.RuntimeException e) { 441 throw e; 442 } catch (java.rmi.RemoteException e) { 443 throw e; 444 } catch (javax.ejb.FinderException e) { 445 throw e; 446 } catch (java.lang.Exception e) { 447 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 448 } 449 } 450 451 public java.util.Collection findUserInstancesByProject(java.lang.String $param_String_1, java.lang.String $param_String_2) 453 throws java.rmi.RemoteException , javax.ejb.FinderException 454 { 455 try { 456 if (useNewInvoke) { 457 Object $result = ref.invoke(this, $method_findUserInstancesByProject_9, new java.lang.Object [] {$param_String_1, $param_String_2}, 1909364863325024865L); 458 return ((java.util.Collection ) $result); 459 } else { 460 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 9, interfaceHash); 461 try { 462 java.io.ObjectOutput out = call.getOutputStream(); 463 out.writeObject($param_String_1); 464 out.writeObject($param_String_2); 465 } catch (java.io.IOException e) { 466 throw new java.rmi.MarshalException ("error marshalling arguments", e); 467 } 468 ref.invoke(call); 469 java.util.Collection $result; 470 try { 471 java.io.ObjectInput in = call.getInputStream(); 472 $result = (java.util.Collection ) in.readObject(); 473 } catch (java.io.IOException e) { 474 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 475 } catch (java.lang.ClassNotFoundException e) { 476 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 477 } finally { 478 ref.done(call); 479 } 480 return $result; 481 } 482 } catch (java.lang.RuntimeException e) { 483 throw e; 484 } catch (java.rmi.RemoteException e) { 485 throw e; 486 } catch (javax.ejb.FinderException e) { 487 throw e; 488 } catch (java.lang.Exception e) { 489 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 490 } 491 } 492 493 public javax.ejb.EJBMetaData getEJBMetaData() 495 throws java.rmi.RemoteException 496 { 497 try { 498 if (useNewInvoke) { 499 Object $result = ref.invoke(this, $method_getEJBMetaData_10, null, 6217030353865232067L); 500 return ((javax.ejb.EJBMetaData ) $result); 501 } else { 502 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 10, interfaceHash); 503 ref.invoke(call); 504 javax.ejb.EJBMetaData $result; 505 try { 506 java.io.ObjectInput in = call.getInputStream(); 507 $result = (javax.ejb.EJBMetaData ) in.readObject(); 508 } catch (java.io.IOException e) { 509 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 510 } catch (java.lang.ClassNotFoundException e) { 511 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 512 } finally { 513 ref.done(call); 514 } 515 return $result; 516 } 517 } catch (java.lang.RuntimeException e) { 518 throw e; 519 } catch (java.rmi.RemoteException e) { 520 throw e; 521 } catch (java.lang.Exception e) { 522 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 523 } 524 } 525 526 public javax.ejb.HomeHandle getHomeHandle() 528 throws java.rmi.RemoteException 529 { 530 try { 531 if (useNewInvoke) { 532 Object $result = ref.invoke(this, $method_getHomeHandle_11, null, -8748260460775500658L); 533 return ((javax.ejb.HomeHandle ) $result); 534 } else { 535 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 11, interfaceHash); 536 ref.invoke(call); 537 javax.ejb.HomeHandle $result; 538 try { 539 java.io.ObjectInput in = call.getInputStream(); 540 $result = (javax.ejb.HomeHandle ) in.readObject(); 541 } catch (java.io.IOException e) { 542 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 543 } catch (java.lang.ClassNotFoundException e) { 544 throw new java.rmi.UnmarshalException ("error unmarshalling return", e); 545 } finally { 546 ref.done(call); 547 } 548 return $result; 549 } 550 } catch (java.lang.RuntimeException e) { 551 throw e; 552 } catch (java.rmi.RemoteException e) { 553 throw e; 554 } catch (java.lang.Exception e) { 555 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 556 } 557 } 558 559 public void remove(java.lang.Object $param_Object_1) 561 throws java.rmi.RemoteException , javax.ejb.RemoveException 562 { 563 try { 564 if (useNewInvoke) { 565 ref.invoke(this, $method_remove_12, new java.lang.Object [] {$param_Object_1}, 4460578865329725433L); 566 } else { 567 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 12, interfaceHash); 568 try { 569 java.io.ObjectOutput out = call.getOutputStream(); 570 out.writeObject($param_Object_1); 571 } catch (java.io.IOException e) { 572 throw new java.rmi.MarshalException ("error marshalling arguments", e); 573 } 574 ref.invoke(call); 575 ref.done(call); 576 } 577 } catch (java.lang.RuntimeException e) { 578 throw e; 579 } catch (java.rmi.RemoteException e) { 580 throw e; 581 } catch (javax.ejb.RemoveException e) { 582 throw e; 583 } catch (java.lang.Exception e) { 584 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 585 } 586 } 587 588 public void remove(javax.ejb.Handle $param_Handle_1) 590 throws java.rmi.RemoteException , javax.ejb.RemoveException 591 { 592 try { 593 if (useNewInvoke) { 594 ref.invoke(this, $method_remove_13, new java.lang.Object [] {$param_Handle_1}, 1121126102706750000L); 595 } else { 596 java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject ) this, operations, 13, interfaceHash); 597 try { 598 java.io.ObjectOutput out = call.getOutputStream(); 599 out.writeObject($param_Handle_1); 600 } catch (java.io.IOException e) { 601 throw new java.rmi.MarshalException ("error marshalling arguments", e); 602 } 603 ref.invoke(call); 604 ref.done(call); 605 } 606 } catch (java.lang.RuntimeException e) { 607 throw e; 608 } catch (java.rmi.RemoteException e) { 609 throw e; 610 } catch (javax.ejb.RemoveException e) { 611 throw e; 612 } catch (java.lang.Exception e) { 613 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 614 } 615 } 616 } 617 | Popular Tags |