001 package tecgraf.openbus.DRMAA; 002 003 004 /** 005 * Generated from IDL interface "Session". 006 * 007 * @author JacORB IDL compiler V 2.3-beta-2, 14-Oct-2006 008 * @version generated at Nov 3, 2010 2:32:40 PM 009 */ 010 011 public abstract class SessionPOA 012 extends org.omg.PortableServer.Servant 013 implements org.omg.CORBA.portable.InvokeHandler, tecgraf.openbus.DRMAA.SessionOperations 014 { 015 static private final java.util.Hashtable m_opsHash = new java.util.Hashtable(); 016 static 017 { 018 m_opsHash.put ( "runBulkJobs", new java.lang.Integer(0)); 019 m_opsHash.put ( "_get_version", new java.lang.Integer(1)); 020 m_opsHash.put ( "runJob", new java.lang.Integer(2)); 021 m_opsHash.put ( "_get_contact", new java.lang.Integer(3)); 022 m_opsHash.put ( "jobStatus", new java.lang.Integer(4)); 023 m_opsHash.put ( "wait", new java.lang.Integer(5)); 024 m_opsHash.put ( "exit", new java.lang.Integer(6)); 025 m_opsHash.put ( "_get_drmsInfo", new java.lang.Integer(7)); 026 m_opsHash.put ( "synchronize", new java.lang.Integer(8)); 027 m_opsHash.put ( "createJobTemplate", new java.lang.Integer(9)); 028 m_opsHash.put ( "deleteJobTemplate", new java.lang.Integer(10)); 029 m_opsHash.put ( "init", new java.lang.Integer(11)); 030 m_opsHash.put ( "_get_drmaaImplementation", new java.lang.Integer(12)); 031 m_opsHash.put ( "control", new java.lang.Integer(13)); 032 } 033 private String[] ids = {"IDL:tecgraf/openbus/DRMAA/Session:1.0"}; 034 public tecgraf.openbus.DRMAA.Session _this() 035 { 036 return tecgraf.openbus.DRMAA.SessionHelper.narrow(_this_object()); 037 } 038 public tecgraf.openbus.DRMAA.Session _this(org.omg.CORBA.ORB orb) 039 { 040 return tecgraf.openbus.DRMAA.SessionHelper.narrow(_this_object(orb)); 041 } 042 public org.omg.CORBA.portable.OutputStream _invoke(String method, org.omg.CORBA.portable.InputStream _input, org.omg.CORBA.portable.ResponseHandler handler) 043 throws org.omg.CORBA.SystemException 044 { 045 org.omg.CORBA.portable.OutputStream _out = null; 046 // do something 047 // quick lookup of operation 048 java.lang.Integer opsIndex = (java.lang.Integer)m_opsHash.get ( method ); 049 if ( null == opsIndex ) 050 throw new org.omg.CORBA.BAD_OPERATION(method + " not found"); 051 switch ( opsIndex.intValue() ) 052 { 053 case 0: // runBulkJobs 054 { 055 try 056 { 057 tecgraf.openbus.DRMAA.JobTemplate _arg0=(tecgraf.openbus.DRMAA.JobTemplate)((org.omg.CORBA_2_3.portable.InputStream)_input).read_value ("IDL:tecgraf/openbus/DRMAA/JobTemplate:1.0"); 058 int _arg1=_input.read_long(); 059 int _arg2=_input.read_long(); 060 int _arg3=_input.read_long(); 061 _out = handler.createReply(); 062 tecgraf.openbus.DRMAA.StringListHelper.write(_out,runBulkJobs(_arg0,_arg1,_arg2,_arg3)); 063 } 064 catch(tecgraf.openbus.DRMAA.TryLaterException _ex0) 065 { 066 _out = handler.createExceptionReply(); 067 tecgraf.openbus.DRMAA.TryLaterExceptionHelper.write(_out, _ex0); 068 } 069 catch(tecgraf.openbus.DRMAA.DrmCommunicationException _ex1) 070 { 071 _out = handler.createExceptionReply(); 072 tecgraf.openbus.DRMAA.DrmCommunicationExceptionHelper.write(_out, _ex1); 073 } 074 catch(tecgraf.openbus.DRMAA.AuthorizationException _ex2) 075 { 076 _out = handler.createExceptionReply(); 077 tecgraf.openbus.DRMAA.AuthorizationExceptionHelper.write(_out, _ex2); 078 } 079 catch(tecgraf.openbus.DRMAA.NoActiveSessionException _ex3) 080 { 081 _out = handler.createExceptionReply(); 082 tecgraf.openbus.DRMAA.NoActiveSessionExceptionHelper.write(_out, _ex3); 083 } 084 catch(tecgraf.openbus.DRMAA.InternalException _ex4) 085 { 086 _out = handler.createExceptionReply(); 087 tecgraf.openbus.DRMAA.InternalExceptionHelper.write(_out, _ex4); 088 } 089 catch(tecgraf.openbus.DRMAA.DeniedByDrmException _ex5) 090 { 091 _out = handler.createExceptionReply(); 092 tecgraf.openbus.DRMAA.DeniedByDrmExceptionHelper.write(_out, _ex5); 093 } 094 catch(tecgraf.openbus.DRMAA.InvalidJobTemplateException _ex6) 095 { 096 _out = handler.createExceptionReply(); 097 tecgraf.openbus.DRMAA.InvalidJobTemplateExceptionHelper.write(_out, _ex6); 098 } 099 catch(tecgraf.openbus.DRMAA.OutOfMemoryException _ex7) 100 { 101 _out = handler.createExceptionReply(); 102 tecgraf.openbus.DRMAA.OutOfMemoryExceptionHelper.write(_out, _ex7); 103 } 104 catch(tecgraf.openbus.DRMAA.InvalidArgumentException _ex8) 105 { 106 _out = handler.createExceptionReply(); 107 tecgraf.openbus.DRMAA.InvalidArgumentExceptionHelper.write(_out, _ex8); 108 } 109 break; 110 } 111 case 1: // _get_version 112 { 113 _out = handler.createReply(); 114 tecgraf.openbus.DRMAA.VersionHelper.write(_out,version()); 115 break; 116 } 117 case 2: // runJob 118 { 119 try 120 { 121 tecgraf.openbus.DRMAA.JobTemplate _arg0=(tecgraf.openbus.DRMAA.JobTemplate)((org.omg.CORBA_2_3.portable.InputStream)_input).read_value ("IDL:tecgraf/openbus/DRMAA/JobTemplate:1.0"); 122 _out = handler.createReply(); 123 _out.write_string(runJob(_arg0)); 124 } 125 catch(tecgraf.openbus.DRMAA.TryLaterException _ex0) 126 { 127 _out = handler.createExceptionReply(); 128 tecgraf.openbus.DRMAA.TryLaterExceptionHelper.write(_out, _ex0); 129 } 130 catch(tecgraf.openbus.DRMAA.DrmCommunicationException _ex1) 131 { 132 _out = handler.createExceptionReply(); 133 tecgraf.openbus.DRMAA.DrmCommunicationExceptionHelper.write(_out, _ex1); 134 } 135 catch(tecgraf.openbus.DRMAA.AuthorizationException _ex2) 136 { 137 _out = handler.createExceptionReply(); 138 tecgraf.openbus.DRMAA.AuthorizationExceptionHelper.write(_out, _ex2); 139 } 140 catch(tecgraf.openbus.DRMAA.NoActiveSessionException _ex3) 141 { 142 _out = handler.createExceptionReply(); 143 tecgraf.openbus.DRMAA.NoActiveSessionExceptionHelper.write(_out, _ex3); 144 } 145 catch(tecgraf.openbus.DRMAA.InternalException _ex4) 146 { 147 _out = handler.createExceptionReply(); 148 tecgraf.openbus.DRMAA.InternalExceptionHelper.write(_out, _ex4); 149 } 150 catch(tecgraf.openbus.DRMAA.DeniedByDrmException _ex5) 151 { 152 _out = handler.createExceptionReply(); 153 tecgraf.openbus.DRMAA.DeniedByDrmExceptionHelper.write(_out, _ex5); 154 } 155 catch(tecgraf.openbus.DRMAA.InvalidJobTemplateException _ex6) 156 { 157 _out = handler.createExceptionReply(); 158 tecgraf.openbus.DRMAA.InvalidJobTemplateExceptionHelper.write(_out, _ex6); 159 } 160 catch(tecgraf.openbus.DRMAA.OutOfMemoryException _ex7) 161 { 162 _out = handler.createExceptionReply(); 163 tecgraf.openbus.DRMAA.OutOfMemoryExceptionHelper.write(_out, _ex7); 164 } 165 catch(tecgraf.openbus.DRMAA.InvalidArgumentException _ex8) 166 { 167 _out = handler.createExceptionReply(); 168 tecgraf.openbus.DRMAA.InvalidArgumentExceptionHelper.write(_out, _ex8); 169 } 170 break; 171 } 172 case 3: // _get_contact 173 { 174 _out = handler.createReply(); 175 _out.write_string(contact()); 176 break; 177 } 178 case 4: // jobStatus 179 { 180 try 181 { 182 java.lang.String _arg0=_input.read_string(); 183 _out = handler.createReply(); 184 tecgraf.openbus.DRMAA.JobStateHelper.write(_out,jobStatus(_arg0)); 185 } 186 catch(tecgraf.openbus.DRMAA.InvalidJobException _ex0) 187 { 188 _out = handler.createExceptionReply(); 189 tecgraf.openbus.DRMAA.InvalidJobExceptionHelper.write(_out, _ex0); 190 } 191 catch(tecgraf.openbus.DRMAA.NoActiveSessionException _ex1) 192 { 193 _out = handler.createExceptionReply(); 194 tecgraf.openbus.DRMAA.NoActiveSessionExceptionHelper.write(_out, _ex1); 195 } 196 catch(tecgraf.openbus.DRMAA.AuthorizationException _ex2) 197 { 198 _out = handler.createExceptionReply(); 199 tecgraf.openbus.DRMAA.AuthorizationExceptionHelper.write(_out, _ex2); 200 } 201 catch(tecgraf.openbus.DRMAA.InvalidArgumentException _ex3) 202 { 203 _out = handler.createExceptionReply(); 204 tecgraf.openbus.DRMAA.InvalidArgumentExceptionHelper.write(_out, _ex3); 205 } 206 catch(tecgraf.openbus.DRMAA.OutOfMemoryException _ex4) 207 { 208 _out = handler.createExceptionReply(); 209 tecgraf.openbus.DRMAA.OutOfMemoryExceptionHelper.write(_out, _ex4); 210 } 211 catch(tecgraf.openbus.DRMAA.DrmCommunicationException _ex5) 212 { 213 _out = handler.createExceptionReply(); 214 tecgraf.openbus.DRMAA.DrmCommunicationExceptionHelper.write(_out, _ex5); 215 } 216 catch(tecgraf.openbus.DRMAA.InternalException _ex6) 217 { 218 _out = handler.createExceptionReply(); 219 tecgraf.openbus.DRMAA.InternalExceptionHelper.write(_out, _ex6); 220 } 221 break; 222 } 223 case 5: // wait 224 { 225 try 226 { 227 java.lang.String _arg0=_input.read_string(); 228 long _arg1=_input.read_longlong(); 229 _out = handler.createReply(); 230 ((org.omg.CORBA_2_3.portable.OutputStream)_out).write_value (_wait(_arg0,_arg1)); 231 } 232 catch(tecgraf.openbus.DRMAA.InvalidJobException _ex0) 233 { 234 _out = handler.createExceptionReply(); 235 tecgraf.openbus.DRMAA.InvalidJobExceptionHelper.write(_out, _ex0); 236 } 237 catch(tecgraf.openbus.DRMAA.NoActiveSessionException _ex1) 238 { 239 _out = handler.createExceptionReply(); 240 tecgraf.openbus.DRMAA.NoActiveSessionExceptionHelper.write(_out, _ex1); 241 } 242 catch(tecgraf.openbus.DRMAA.AuthorizationException _ex2) 243 { 244 _out = handler.createExceptionReply(); 245 tecgraf.openbus.DRMAA.AuthorizationExceptionHelper.write(_out, _ex2); 246 } 247 catch(tecgraf.openbus.DRMAA.InvalidArgumentException _ex3) 248 { 249 _out = handler.createExceptionReply(); 250 tecgraf.openbus.DRMAA.InvalidArgumentExceptionHelper.write(_out, _ex3); 251 } 252 catch(tecgraf.openbus.DRMAA.OutOfMemoryException _ex4) 253 { 254 _out = handler.createExceptionReply(); 255 tecgraf.openbus.DRMAA.OutOfMemoryExceptionHelper.write(_out, _ex4); 256 } 257 catch(tecgraf.openbus.DRMAA.DrmCommunicationException _ex5) 258 { 259 _out = handler.createExceptionReply(); 260 tecgraf.openbus.DRMAA.DrmCommunicationExceptionHelper.write(_out, _ex5); 261 } 262 catch(tecgraf.openbus.DRMAA.InternalException _ex6) 263 { 264 _out = handler.createExceptionReply(); 265 tecgraf.openbus.DRMAA.InternalExceptionHelper.write(_out, _ex6); 266 } 267 catch(tecgraf.openbus.DRMAA.ExitTimeoutException _ex7) 268 { 269 _out = handler.createExceptionReply(); 270 tecgraf.openbus.DRMAA.ExitTimeoutExceptionHelper.write(_out, _ex7); 271 } 272 break; 273 } 274 case 6: // exit 275 { 276 try 277 { 278 _out = handler.createReply(); 279 exit(); 280 } 281 catch(tecgraf.openbus.DRMAA.AuthorizationException _ex0) 282 { 283 _out = handler.createExceptionReply(); 284 tecgraf.openbus.DRMAA.AuthorizationExceptionHelper.write(_out, _ex0); 285 } 286 catch(tecgraf.openbus.DRMAA.NoActiveSessionException _ex1) 287 { 288 _out = handler.createExceptionReply(); 289 tecgraf.openbus.DRMAA.NoActiveSessionExceptionHelper.write(_out, _ex1); 290 } 291 catch(tecgraf.openbus.DRMAA.DrmsExitException _ex2) 292 { 293 _out = handler.createExceptionReply(); 294 tecgraf.openbus.DRMAA.DrmsExitExceptionHelper.write(_out, _ex2); 295 } 296 catch(tecgraf.openbus.DRMAA.OutOfMemoryException _ex3) 297 { 298 _out = handler.createExceptionReply(); 299 tecgraf.openbus.DRMAA.OutOfMemoryExceptionHelper.write(_out, _ex3); 300 } 301 catch(tecgraf.openbus.DRMAA.DrmCommunicationException _ex4) 302 { 303 _out = handler.createExceptionReply(); 304 tecgraf.openbus.DRMAA.DrmCommunicationExceptionHelper.write(_out, _ex4); 305 } 306 catch(tecgraf.openbus.DRMAA.InternalException _ex5) 307 { 308 _out = handler.createExceptionReply(); 309 tecgraf.openbus.DRMAA.InternalExceptionHelper.write(_out, _ex5); 310 } 311 break; 312 } 313 case 7: // _get_drmsInfo 314 { 315 _out = handler.createReply(); 316 _out.write_string(drmsInfo()); 317 break; 318 } 319 case 8: // synchronize 320 { 321 try 322 { 323 java.lang.String[] _arg0=tecgraf.openbus.DRMAA.StringListHelper.read(_input); 324 long _arg1=_input.read_longlong(); 325 boolean _arg2=_input.read_boolean(); 326 _out = handler.createReply(); 327 synchronize(_arg0,_arg1,_arg2); 328 } 329 catch(tecgraf.openbus.DRMAA.InvalidJobException _ex0) 330 { 331 _out = handler.createExceptionReply(); 332 tecgraf.openbus.DRMAA.InvalidJobExceptionHelper.write(_out, _ex0); 333 } 334 catch(tecgraf.openbus.DRMAA.NoActiveSessionException _ex1) 335 { 336 _out = handler.createExceptionReply(); 337 tecgraf.openbus.DRMAA.NoActiveSessionExceptionHelper.write(_out, _ex1); 338 } 339 catch(tecgraf.openbus.DRMAA.AuthorizationException _ex2) 340 { 341 _out = handler.createExceptionReply(); 342 tecgraf.openbus.DRMAA.AuthorizationExceptionHelper.write(_out, _ex2); 343 } 344 catch(tecgraf.openbus.DRMAA.InvalidArgumentException _ex3) 345 { 346 _out = handler.createExceptionReply(); 347 tecgraf.openbus.DRMAA.InvalidArgumentExceptionHelper.write(_out, _ex3); 348 } 349 catch(tecgraf.openbus.DRMAA.OutOfMemoryException _ex4) 350 { 351 _out = handler.createExceptionReply(); 352 tecgraf.openbus.DRMAA.OutOfMemoryExceptionHelper.write(_out, _ex4); 353 } 354 catch(tecgraf.openbus.DRMAA.DrmCommunicationException _ex5) 355 { 356 _out = handler.createExceptionReply(); 357 tecgraf.openbus.DRMAA.DrmCommunicationExceptionHelper.write(_out, _ex5); 358 } 359 catch(tecgraf.openbus.DRMAA.InternalException _ex6) 360 { 361 _out = handler.createExceptionReply(); 362 tecgraf.openbus.DRMAA.InternalExceptionHelper.write(_out, _ex6); 363 } 364 catch(tecgraf.openbus.DRMAA.ExitTimeoutException _ex7) 365 { 366 _out = handler.createExceptionReply(); 367 tecgraf.openbus.DRMAA.ExitTimeoutExceptionHelper.write(_out, _ex7); 368 } 369 break; 370 } 371 case 9: // createJobTemplate 372 { 373 try 374 { 375 _out = handler.createReply(); 376 ((org.omg.CORBA_2_3.portable.OutputStream)_out).write_value (createJobTemplate()); 377 } 378 catch(tecgraf.openbus.DRMAA.AuthorizationException _ex0) 379 { 380 _out = handler.createExceptionReply(); 381 tecgraf.openbus.DRMAA.AuthorizationExceptionHelper.write(_out, _ex0); 382 } 383 catch(tecgraf.openbus.DRMAA.NoActiveSessionException _ex1) 384 { 385 _out = handler.createExceptionReply(); 386 tecgraf.openbus.DRMAA.NoActiveSessionExceptionHelper.write(_out, _ex1); 387 } 388 catch(tecgraf.openbus.DRMAA.OutOfMemoryException _ex2) 389 { 390 _out = handler.createExceptionReply(); 391 tecgraf.openbus.DRMAA.OutOfMemoryExceptionHelper.write(_out, _ex2); 392 } 393 catch(tecgraf.openbus.DRMAA.DrmCommunicationException _ex3) 394 { 395 _out = handler.createExceptionReply(); 396 tecgraf.openbus.DRMAA.DrmCommunicationExceptionHelper.write(_out, _ex3); 397 } 398 catch(tecgraf.openbus.DRMAA.InternalException _ex4) 399 { 400 _out = handler.createExceptionReply(); 401 tecgraf.openbus.DRMAA.InternalExceptionHelper.write(_out, _ex4); 402 } 403 break; 404 } 405 case 10: // deleteJobTemplate 406 { 407 try 408 { 409 tecgraf.openbus.DRMAA.JobTemplate _arg0=(tecgraf.openbus.DRMAA.JobTemplate)((org.omg.CORBA_2_3.portable.InputStream)_input).read_value ("IDL:tecgraf/openbus/DRMAA/JobTemplate:1.0"); 410 _out = handler.createReply(); 411 deleteJobTemplate(_arg0); 412 } 413 catch(tecgraf.openbus.DRMAA.AuthorizationException _ex0) 414 { 415 _out = handler.createExceptionReply(); 416 tecgraf.openbus.DRMAA.AuthorizationExceptionHelper.write(_out, _ex0); 417 } 418 catch(tecgraf.openbus.DRMAA.NoActiveSessionException _ex1) 419 { 420 _out = handler.createExceptionReply(); 421 tecgraf.openbus.DRMAA.NoActiveSessionExceptionHelper.write(_out, _ex1); 422 } 423 catch(tecgraf.openbus.DRMAA.InvalidArgumentException _ex2) 424 { 425 _out = handler.createExceptionReply(); 426 tecgraf.openbus.DRMAA.InvalidArgumentExceptionHelper.write(_out, _ex2); 427 } 428 catch(tecgraf.openbus.DRMAA.OutOfMemoryException _ex3) 429 { 430 _out = handler.createExceptionReply(); 431 tecgraf.openbus.DRMAA.OutOfMemoryExceptionHelper.write(_out, _ex3); 432 } 433 catch(tecgraf.openbus.DRMAA.InvalidJobTemplateException _ex4) 434 { 435 _out = handler.createExceptionReply(); 436 tecgraf.openbus.DRMAA.InvalidJobTemplateExceptionHelper.write(_out, _ex4); 437 } 438 catch(tecgraf.openbus.DRMAA.DrmCommunicationException _ex5) 439 { 440 _out = handler.createExceptionReply(); 441 tecgraf.openbus.DRMAA.DrmCommunicationExceptionHelper.write(_out, _ex5); 442 } 443 catch(tecgraf.openbus.DRMAA.InternalException _ex6) 444 { 445 _out = handler.createExceptionReply(); 446 tecgraf.openbus.DRMAA.InternalExceptionHelper.write(_out, _ex6); 447 } 448 break; 449 } 450 case 11: // init 451 { 452 try 453 { 454 java.lang.String _arg0=_input.read_string(); 455 _out = handler.createReply(); 456 init(_arg0); 457 } 458 catch(tecgraf.openbus.DRMAA.InvalidContactStringException _ex0) 459 { 460 _out = handler.createExceptionReply(); 461 tecgraf.openbus.DRMAA.InvalidContactStringExceptionHelper.write(_out, _ex0); 462 } 463 catch(tecgraf.openbus.DRMAA.NoDefaultContactStringSelectedException _ex1) 464 { 465 _out = handler.createExceptionReply(); 466 tecgraf.openbus.DRMAA.NoDefaultContactStringSelectedExceptionHelper.write(_out, _ex1); 467 } 468 catch(tecgraf.openbus.DRMAA.DefaultContactStringException _ex2) 469 { 470 _out = handler.createExceptionReply(); 471 tecgraf.openbus.DRMAA.DefaultContactStringExceptionHelper.write(_out, _ex2); 472 } 473 catch(tecgraf.openbus.DRMAA.DrmCommunicationException _ex3) 474 { 475 _out = handler.createExceptionReply(); 476 tecgraf.openbus.DRMAA.DrmCommunicationExceptionHelper.write(_out, _ex3); 477 } 478 catch(tecgraf.openbus.DRMAA.AuthorizationException _ex4) 479 { 480 _out = handler.createExceptionReply(); 481 tecgraf.openbus.DRMAA.AuthorizationExceptionHelper.write(_out, _ex4); 482 } 483 catch(tecgraf.openbus.DRMAA.InternalException _ex5) 484 { 485 _out = handler.createExceptionReply(); 486 tecgraf.openbus.DRMAA.InternalExceptionHelper.write(_out, _ex5); 487 } 488 catch(tecgraf.openbus.DRMAA.DrmsInitException _ex6) 489 { 490 _out = handler.createExceptionReply(); 491 tecgraf.openbus.DRMAA.DrmsInitExceptionHelper.write(_out, _ex6); 492 } 493 catch(tecgraf.openbus.DRMAA.AlreadyActiveSessionException _ex7) 494 { 495 _out = handler.createExceptionReply(); 496 tecgraf.openbus.DRMAA.AlreadyActiveSessionExceptionHelper.write(_out, _ex7); 497 } 498 catch(tecgraf.openbus.DRMAA.OutOfMemoryException _ex8) 499 { 500 _out = handler.createExceptionReply(); 501 tecgraf.openbus.DRMAA.OutOfMemoryExceptionHelper.write(_out, _ex8); 502 } 503 catch(tecgraf.openbus.DRMAA.InvalidArgumentException _ex9) 504 { 505 _out = handler.createExceptionReply(); 506 tecgraf.openbus.DRMAA.InvalidArgumentExceptionHelper.write(_out, _ex9); 507 } 508 break; 509 } 510 case 12: // _get_drmaaImplementation 511 { 512 _out = handler.createReply(); 513 _out.write_string(drmaaImplementation()); 514 break; 515 } 516 case 13: // control 517 { 518 try 519 { 520 java.lang.String _arg0=_input.read_string(); 521 tecgraf.openbus.DRMAA.JobControlAction _arg1=tecgraf.openbus.DRMAA.JobControlActionHelper.read(_input); 522 _out = handler.createReply(); 523 control(_arg0,_arg1); 524 } 525 catch(tecgraf.openbus.DRMAA.SuspendInconsistentStateException _ex0) 526 { 527 _out = handler.createExceptionReply(); 528 tecgraf.openbus.DRMAA.SuspendInconsistentStateExceptionHelper.write(_out, _ex0); 529 } 530 catch(tecgraf.openbus.DRMAA.ReleaseInconsistentStateException _ex1) 531 { 532 _out = handler.createExceptionReply(); 533 tecgraf.openbus.DRMAA.ReleaseInconsistentStateExceptionHelper.write(_out, _ex1); 534 } 535 catch(tecgraf.openbus.DRMAA.InvalidJobException _ex2) 536 { 537 _out = handler.createExceptionReply(); 538 tecgraf.openbus.DRMAA.InvalidJobExceptionHelper.write(_out, _ex2); 539 } 540 catch(tecgraf.openbus.DRMAA.HoldInconsistentStateException _ex3) 541 { 542 _out = handler.createExceptionReply(); 543 tecgraf.openbus.DRMAA.HoldInconsistentStateExceptionHelper.write(_out, _ex3); 544 } 545 catch(tecgraf.openbus.DRMAA.DrmCommunicationException _ex4) 546 { 547 _out = handler.createExceptionReply(); 548 tecgraf.openbus.DRMAA.DrmCommunicationExceptionHelper.write(_out, _ex4); 549 } 550 catch(tecgraf.openbus.DRMAA.AuthorizationException _ex5) 551 { 552 _out = handler.createExceptionReply(); 553 tecgraf.openbus.DRMAA.AuthorizationExceptionHelper.write(_out, _ex5); 554 } 555 catch(tecgraf.openbus.DRMAA.NoActiveSessionException _ex6) 556 { 557 _out = handler.createExceptionReply(); 558 tecgraf.openbus.DRMAA.NoActiveSessionExceptionHelper.write(_out, _ex6); 559 } 560 catch(tecgraf.openbus.DRMAA.InternalException _ex7) 561 { 562 _out = handler.createExceptionReply(); 563 tecgraf.openbus.DRMAA.InternalExceptionHelper.write(_out, _ex7); 564 } 565 catch(tecgraf.openbus.DRMAA.ResumeInconsistentStateException _ex8) 566 { 567 _out = handler.createExceptionReply(); 568 tecgraf.openbus.DRMAA.ResumeInconsistentStateExceptionHelper.write(_out, _ex8); 569 } 570 catch(tecgraf.openbus.DRMAA.OutOfMemoryException _ex9) 571 { 572 _out = handler.createExceptionReply(); 573 tecgraf.openbus.DRMAA.OutOfMemoryExceptionHelper.write(_out, _ex9); 574 } 575 catch(tecgraf.openbus.DRMAA.InvalidArgumentException _ex10) 576 { 577 _out = handler.createExceptionReply(); 578 tecgraf.openbus.DRMAA.InvalidArgumentExceptionHelper.write(_out, _ex10); 579 } 580 break; 581 } 582 } 583 return _out; 584 } 585 586 public String[] _all_interfaces(org.omg.PortableServer.POA poa, byte[] obj_id) 587 { 588 return ids; 589 } 590 }