1 6 package com.sun.corba.se.impl.logging ; 7 8 import java.util.logging.Logger ; 9 import java.util.logging.Level ; 10 11 import org.omg.CORBA.OMGVMCID ; 12 import com.sun.corba.se.impl.util.SUNVMCID ; 13 import org.omg.CORBA.CompletionStatus ; 14 import org.omg.CORBA.SystemException ; 15 16 import com.sun.corba.se.spi.orb.ORB ; 17 18 import com.sun.corba.se.spi.logging.LogWrapperFactory; 19 20 import com.sun.corba.se.spi.logging.LogWrapperBase; 21 22 import org.omg.CORBA.BAD_INV_ORDER ; 23 import org.omg.CORBA.BAD_OPERATION ; 24 import org.omg.CORBA.BAD_PARAM ; 25 import org.omg.CORBA.INTERNAL ; 26 import org.omg.CORBA.NO_IMPLEMENT ; 27 import org.omg.CORBA.OBJ_ADAPTER ; 28 import org.omg.CORBA.INITIALIZE ; 29 import org.omg.CORBA.TRANSIENT ; 30 import org.omg.CORBA.UNKNOWN ; 31 import org.omg.CORBA.OBJECT_NOT_EXIST ; 32 33 public class POASystemException extends LogWrapperBase { 34 35 public POASystemException( Logger logger ) 36 { 37 super( logger ) ; 38 } 39 40 private static LogWrapperFactory factory = new LogWrapperFactory() { 41 public LogWrapperBase create( Logger logger ) 42 { 43 return new POASystemException( logger ) ; 44 } 45 } ; 46 47 public static POASystemException get( ORB orb, String logDomain ) 48 { 49 POASystemException wrapper = 50 (POASystemException) orb.getLogWrapper( logDomain, 51 "POA", factory ) ; 52 return wrapper ; 53 } 54 55 public static POASystemException get( String logDomain ) 56 { 57 POASystemException wrapper = 58 (POASystemException) ORB.staticGetLogWrapper( logDomain, 59 "POA", factory ) ; 60 return wrapper ; 61 } 62 63 67 public static final int SERVANT_MANAGER_ALREADY_SET = SUNVMCID.value + 1001 ; 68 69 public BAD_INV_ORDER servantManagerAlreadySet( CompletionStatus cs, Throwable t ) { 70 BAD_INV_ORDER exc = new BAD_INV_ORDER ( SERVANT_MANAGER_ALREADY_SET, cs ) ; 71 if (t != null) 72 exc.initCause( t ) ; 73 74 if (logger.isLoggable( Level.WARNING )) { 75 Object [] parameters = null ; 76 doLog( Level.WARNING, "POA.servantManagerAlreadySet", 77 parameters, POASystemException.class, exc ) ; 78 } 79 80 return exc ; 81 } 82 83 public BAD_INV_ORDER servantManagerAlreadySet( CompletionStatus cs ) { 84 return servantManagerAlreadySet( cs, null ) ; 85 } 86 87 public BAD_INV_ORDER servantManagerAlreadySet( Throwable t ) { 88 return servantManagerAlreadySet( CompletionStatus.COMPLETED_NO, t ) ; 89 } 90 91 public BAD_INV_ORDER servantManagerAlreadySet( ) { 92 return servantManagerAlreadySet( CompletionStatus.COMPLETED_NO, null ) ; 93 } 94 95 public static final int DESTROY_DEADLOCK = SUNVMCID.value + 1002 ; 96 97 public BAD_INV_ORDER destroyDeadlock( CompletionStatus cs, Throwable t ) { 98 BAD_INV_ORDER exc = new BAD_INV_ORDER ( DESTROY_DEADLOCK, cs ) ; 99 if (t != null) 100 exc.initCause( t ) ; 101 102 if (logger.isLoggable( Level.WARNING )) { 103 Object [] parameters = null ; 104 doLog( Level.WARNING, "POA.destroyDeadlock", 105 parameters, POASystemException.class, exc ) ; 106 } 107 108 return exc ; 109 } 110 111 public BAD_INV_ORDER destroyDeadlock( CompletionStatus cs ) { 112 return destroyDeadlock( cs, null ) ; 113 } 114 115 public BAD_INV_ORDER destroyDeadlock( Throwable t ) { 116 return destroyDeadlock( CompletionStatus.COMPLETED_NO, t ) ; 117 } 118 119 public BAD_INV_ORDER destroyDeadlock( ) { 120 return destroyDeadlock( CompletionStatus.COMPLETED_NO, null ) ; 121 } 122 123 127 public static final int SERVANT_ORB = SUNVMCID.value + 1001 ; 128 129 public BAD_OPERATION servantOrb( CompletionStatus cs, Throwable t ) { 130 BAD_OPERATION exc = new BAD_OPERATION ( SERVANT_ORB, cs ) ; 131 if (t != null) 132 exc.initCause( t ) ; 133 134 if (logger.isLoggable( Level.WARNING )) { 135 Object [] parameters = null ; 136 doLog( Level.WARNING, "POA.servantOrb", 137 parameters, POASystemException.class, exc ) ; 138 } 139 140 return exc ; 141 } 142 143 public BAD_OPERATION servantOrb( CompletionStatus cs ) { 144 return servantOrb( cs, null ) ; 145 } 146 147 public BAD_OPERATION servantOrb( Throwable t ) { 148 return servantOrb( CompletionStatus.COMPLETED_NO, t ) ; 149 } 150 151 public BAD_OPERATION servantOrb( ) { 152 return servantOrb( CompletionStatus.COMPLETED_NO, null ) ; 153 } 154 155 public static final int BAD_SERVANT = SUNVMCID.value + 1002 ; 156 157 public BAD_OPERATION badServant( CompletionStatus cs, Throwable t ) { 158 BAD_OPERATION exc = new BAD_OPERATION ( BAD_SERVANT, cs ) ; 159 if (t != null) 160 exc.initCause( t ) ; 161 162 if (logger.isLoggable( Level.WARNING )) { 163 Object [] parameters = null ; 164 doLog( Level.WARNING, "POA.badServant", 165 parameters, POASystemException.class, exc ) ; 166 } 167 168 return exc ; 169 } 170 171 public BAD_OPERATION badServant( CompletionStatus cs ) { 172 return badServant( cs, null ) ; 173 } 174 175 public BAD_OPERATION badServant( Throwable t ) { 176 return badServant( CompletionStatus.COMPLETED_NO, t ) ; 177 } 178 179 public BAD_OPERATION badServant( ) { 180 return badServant( CompletionStatus.COMPLETED_NO, null ) ; 181 } 182 183 public static final int ILLEGAL_FORWARD_REQUEST = SUNVMCID.value + 1003 ; 184 185 public BAD_OPERATION illegalForwardRequest( CompletionStatus cs, Throwable t ) { 186 BAD_OPERATION exc = new BAD_OPERATION ( ILLEGAL_FORWARD_REQUEST, cs ) ; 187 if (t != null) 188 exc.initCause( t ) ; 189 190 if (logger.isLoggable( Level.WARNING )) { 191 Object [] parameters = null ; 192 doLog( Level.WARNING, "POA.illegalForwardRequest", 193 parameters, POASystemException.class, exc ) ; 194 } 195 196 return exc ; 197 } 198 199 public BAD_OPERATION illegalForwardRequest( CompletionStatus cs ) { 200 return illegalForwardRequest( cs, null ) ; 201 } 202 203 public BAD_OPERATION illegalForwardRequest( Throwable t ) { 204 return illegalForwardRequest( CompletionStatus.COMPLETED_NO, t ) ; 205 } 206 207 public BAD_OPERATION illegalForwardRequest( ) { 208 return illegalForwardRequest( CompletionStatus.COMPLETED_NO, null ) ; 209 } 210 211 215 public static final int BAD_TRANSACTION_CONTEXT = SUNVMCID.value + 1001 ; 216 217 public BAD_PARAM badTransactionContext( CompletionStatus cs, Throwable t ) { 218 BAD_PARAM exc = new BAD_PARAM ( BAD_TRANSACTION_CONTEXT, cs ) ; 219 if (t != null) 220 exc.initCause( t ) ; 221 222 if (logger.isLoggable( Level.WARNING )) { 223 Object [] parameters = null ; 224 doLog( Level.WARNING, "POA.badTransactionContext", 225 parameters, POASystemException.class, exc ) ; 226 } 227 228 return exc ; 229 } 230 231 public BAD_PARAM badTransactionContext( CompletionStatus cs ) { 232 return badTransactionContext( cs, null ) ; 233 } 234 235 public BAD_PARAM badTransactionContext( Throwable t ) { 236 return badTransactionContext( CompletionStatus.COMPLETED_NO, t ) ; 237 } 238 239 public BAD_PARAM badTransactionContext( ) { 240 return badTransactionContext( CompletionStatus.COMPLETED_NO, null ) ; 241 } 242 243 public static final int BAD_REPOSITORY_ID = SUNVMCID.value + 1002 ; 244 245 public BAD_PARAM badRepositoryId( CompletionStatus cs, Throwable t ) { 246 BAD_PARAM exc = new BAD_PARAM ( BAD_REPOSITORY_ID, cs ) ; 247 if (t != null) 248 exc.initCause( t ) ; 249 250 if (logger.isLoggable( Level.WARNING )) { 251 Object [] parameters = null ; 252 doLog( Level.WARNING, "POA.badRepositoryId", 253 parameters, POASystemException.class, exc ) ; 254 } 255 256 return exc ; 257 } 258 259 public BAD_PARAM badRepositoryId( CompletionStatus cs ) { 260 return badRepositoryId( cs, null ) ; 261 } 262 263 public BAD_PARAM badRepositoryId( Throwable t ) { 264 return badRepositoryId( CompletionStatus.COMPLETED_NO, t ) ; 265 } 266 267 public BAD_PARAM badRepositoryId( ) { 268 return badRepositoryId( CompletionStatus.COMPLETED_NO, null ) ; 269 } 270 271 275 public static final int INVOKESETUP = SUNVMCID.value + 1001 ; 276 277 public INTERNAL invokesetup( CompletionStatus cs, Throwable t ) { 278 INTERNAL exc = new INTERNAL ( INVOKESETUP, cs ) ; 279 if (t != null) 280 exc.initCause( t ) ; 281 282 if (logger.isLoggable( Level.WARNING )) { 283 Object [] parameters = null ; 284 doLog( Level.WARNING, "POA.invokesetup", 285 parameters, POASystemException.class, exc ) ; 286 } 287 288 return exc ; 289 } 290 291 public INTERNAL invokesetup( CompletionStatus cs ) { 292 return invokesetup( cs, null ) ; 293 } 294 295 public INTERNAL invokesetup( Throwable t ) { 296 return invokesetup( CompletionStatus.COMPLETED_NO, t ) ; 297 } 298 299 public INTERNAL invokesetup( ) { 300 return invokesetup( CompletionStatus.COMPLETED_NO, null ) ; 301 } 302 303 public static final int BAD_LOCALREPLYSTATUS = SUNVMCID.value + 1002 ; 304 305 public INTERNAL badLocalreplystatus( CompletionStatus cs, Throwable t ) { 306 INTERNAL exc = new INTERNAL ( BAD_LOCALREPLYSTATUS, cs ) ; 307 if (t != null) 308 exc.initCause( t ) ; 309 310 if (logger.isLoggable( Level.WARNING )) { 311 Object [] parameters = null ; 312 doLog( Level.WARNING, "POA.badLocalreplystatus", 313 parameters, POASystemException.class, exc ) ; 314 } 315 316 return exc ; 317 } 318 319 public INTERNAL badLocalreplystatus( CompletionStatus cs ) { 320 return badLocalreplystatus( cs, null ) ; 321 } 322 323 public INTERNAL badLocalreplystatus( Throwable t ) { 324 return badLocalreplystatus( CompletionStatus.COMPLETED_NO, t ) ; 325 } 326 327 public INTERNAL badLocalreplystatus( ) { 328 return badLocalreplystatus( CompletionStatus.COMPLETED_NO, null ) ; 329 } 330 331 public static final int PERSISTENT_SERVERPORT_ERROR = SUNVMCID.value + 1003 ; 332 333 public INTERNAL persistentServerportError( CompletionStatus cs, Throwable t ) { 334 INTERNAL exc = new INTERNAL ( PERSISTENT_SERVERPORT_ERROR, cs ) ; 335 if (t != null) 336 exc.initCause( t ) ; 337 338 if (logger.isLoggable( Level.WARNING )) { 339 Object [] parameters = null ; 340 doLog( Level.WARNING, "POA.persistentServerportError", 341 parameters, POASystemException.class, exc ) ; 342 } 343 344 return exc ; 345 } 346 347 public INTERNAL persistentServerportError( CompletionStatus cs ) { 348 return persistentServerportError( cs, null ) ; 349 } 350 351 public INTERNAL persistentServerportError( Throwable t ) { 352 return persistentServerportError( CompletionStatus.COMPLETED_NO, t ) ; 353 } 354 355 public INTERNAL persistentServerportError( ) { 356 return persistentServerportError( CompletionStatus.COMPLETED_NO, null ) ; 357 } 358 359 public static final int SERVANT_DISPATCH = SUNVMCID.value + 1004 ; 360 361 public INTERNAL servantDispatch( CompletionStatus cs, Throwable t ) { 362 INTERNAL exc = new INTERNAL ( SERVANT_DISPATCH, cs ) ; 363 if (t != null) 364 exc.initCause( t ) ; 365 366 if (logger.isLoggable( Level.WARNING )) { 367 Object [] parameters = null ; 368 doLog( Level.WARNING, "POA.servantDispatch", 369 parameters, POASystemException.class, exc ) ; 370 } 371 372 return exc ; 373 } 374 375 public INTERNAL servantDispatch( CompletionStatus cs ) { 376 return servantDispatch( cs, null ) ; 377 } 378 379 public INTERNAL servantDispatch( Throwable t ) { 380 return servantDispatch( CompletionStatus.COMPLETED_NO, t ) ; 381 } 382 383 public INTERNAL servantDispatch( ) { 384 return servantDispatch( CompletionStatus.COMPLETED_NO, null ) ; 385 } 386 387 public static final int WRONG_CLIENTSC = SUNVMCID.value + 1005 ; 388 389 public INTERNAL wrongClientsc( CompletionStatus cs, Throwable t ) { 390 INTERNAL exc = new INTERNAL ( WRONG_CLIENTSC, cs ) ; 391 if (t != null) 392 exc.initCause( t ) ; 393 394 if (logger.isLoggable( Level.WARNING )) { 395 Object [] parameters = null ; 396 doLog( Level.WARNING, "POA.wrongClientsc", 397 parameters, POASystemException.class, exc ) ; 398 } 399 400 return exc ; 401 } 402 403 public INTERNAL wrongClientsc( CompletionStatus cs ) { 404 return wrongClientsc( cs, null ) ; 405 } 406 407 public INTERNAL wrongClientsc( Throwable t ) { 408 return wrongClientsc( CompletionStatus.COMPLETED_NO, t ) ; 409 } 410 411 public INTERNAL wrongClientsc( ) { 412 return wrongClientsc( CompletionStatus.COMPLETED_NO, null ) ; 413 } 414 415 public static final int CANT_CLONE_TEMPLATE = SUNVMCID.value + 1006 ; 416 417 public INTERNAL cantCloneTemplate( CompletionStatus cs, Throwable t ) { 418 INTERNAL exc = new INTERNAL ( CANT_CLONE_TEMPLATE, cs ) ; 419 if (t != null) 420 exc.initCause( t ) ; 421 422 if (logger.isLoggable( Level.WARNING )) { 423 Object [] parameters = null ; 424 doLog( Level.WARNING, "POA.cantCloneTemplate", 425 parameters, POASystemException.class, exc ) ; 426 } 427 428 return exc ; 429 } 430 431 public INTERNAL cantCloneTemplate( CompletionStatus cs ) { 432 return cantCloneTemplate( cs, null ) ; 433 } 434 435 public INTERNAL cantCloneTemplate( Throwable t ) { 436 return cantCloneTemplate( CompletionStatus.COMPLETED_NO, t ) ; 437 } 438 439 public INTERNAL cantCloneTemplate( ) { 440 return cantCloneTemplate( CompletionStatus.COMPLETED_NO, null ) ; 441 } 442 443 public static final int POACURRENT_UNBALANCED_STACK = SUNVMCID.value + 1007 ; 444 445 public INTERNAL poacurrentUnbalancedStack( CompletionStatus cs, Throwable t ) { 446 INTERNAL exc = new INTERNAL ( POACURRENT_UNBALANCED_STACK, cs ) ; 447 if (t != null) 448 exc.initCause( t ) ; 449 450 if (logger.isLoggable( Level.WARNING )) { 451 Object [] parameters = null ; 452 doLog( Level.WARNING, "POA.poacurrentUnbalancedStack", 453 parameters, POASystemException.class, exc ) ; 454 } 455 456 return exc ; 457 } 458 459 public INTERNAL poacurrentUnbalancedStack( CompletionStatus cs ) { 460 return poacurrentUnbalancedStack( cs, null ) ; 461 } 462 463 public INTERNAL poacurrentUnbalancedStack( Throwable t ) { 464 return poacurrentUnbalancedStack( CompletionStatus.COMPLETED_NO, t ) ; 465 } 466 467 public INTERNAL poacurrentUnbalancedStack( ) { 468 return poacurrentUnbalancedStack( CompletionStatus.COMPLETED_NO, null ) ; 469 } 470 471 public static final int POACURRENT_NULL_FIELD = SUNVMCID.value + 1008 ; 472 473 public INTERNAL poacurrentNullField( CompletionStatus cs, Throwable t ) { 474 INTERNAL exc = new INTERNAL ( POACURRENT_NULL_FIELD, cs ) ; 475 if (t != null) 476 exc.initCause( t ) ; 477 478 if (logger.isLoggable( Level.WARNING )) { 479 Object [] parameters = null ; 480 doLog( Level.WARNING, "POA.poacurrentNullField", 481 parameters, POASystemException.class, exc ) ; 482 } 483 484 return exc ; 485 } 486 487 public INTERNAL poacurrentNullField( CompletionStatus cs ) { 488 return poacurrentNullField( cs, null ) ; 489 } 490 491 public INTERNAL poacurrentNullField( Throwable t ) { 492 return poacurrentNullField( CompletionStatus.COMPLETED_NO, t ) ; 493 } 494 495 public INTERNAL poacurrentNullField( ) { 496 return poacurrentNullField( CompletionStatus.COMPLETED_NO, null ) ; 497 } 498 499 public static final int POA_INTERNAL_GET_SERVANT_ERROR = SUNVMCID.value + 1009 ; 500 501 public INTERNAL poaInternalGetServantError( CompletionStatus cs, Throwable t ) { 502 INTERNAL exc = new INTERNAL ( POA_INTERNAL_GET_SERVANT_ERROR, cs ) ; 503 if (t != null) 504 exc.initCause( t ) ; 505 506 if (logger.isLoggable( Level.WARNING )) { 507 Object [] parameters = null ; 508 doLog( Level.WARNING, "POA.poaInternalGetServantError", 509 parameters, POASystemException.class, exc ) ; 510 } 511 512 return exc ; 513 } 514 515 public INTERNAL poaInternalGetServantError( CompletionStatus cs ) { 516 return poaInternalGetServantError( cs, null ) ; 517 } 518 519 public INTERNAL poaInternalGetServantError( Throwable t ) { 520 return poaInternalGetServantError( CompletionStatus.COMPLETED_NO, t ) ; 521 } 522 523 public INTERNAL poaInternalGetServantError( ) { 524 return poaInternalGetServantError( CompletionStatus.COMPLETED_NO, null ) ; 525 } 526 527 public static final int MAKE_FACTORY_NOT_POA = SUNVMCID.value + 1010 ; 528 529 public INTERNAL makeFactoryNotPoa( CompletionStatus cs, Throwable t, Object arg0) { 530 INTERNAL exc = new INTERNAL ( MAKE_FACTORY_NOT_POA, cs ) ; 531 if (t != null) 532 exc.initCause( t ) ; 533 534 if (logger.isLoggable( Level.WARNING )) { 535 Object [] parameters = new Object [1] ; 536 parameters[0] = arg0 ; 537 doLog( Level.WARNING, "POA.makeFactoryNotPoa", 538 parameters, POASystemException.class, exc ) ; 539 } 540 541 return exc ; 542 } 543 544 public INTERNAL makeFactoryNotPoa( CompletionStatus cs, Object arg0) { 545 return makeFactoryNotPoa( cs, null, arg0 ) ; 546 } 547 548 public INTERNAL makeFactoryNotPoa( Throwable t, Object arg0) { 549 return makeFactoryNotPoa( CompletionStatus.COMPLETED_NO, t, arg0 ) ; 550 } 551 552 public INTERNAL makeFactoryNotPoa( Object arg0) { 553 return makeFactoryNotPoa( CompletionStatus.COMPLETED_NO, null, arg0 ) ; 554 } 555 556 public static final int DUPLICATE_ORB_VERSION_SC = SUNVMCID.value + 1011 ; 557 558 public INTERNAL duplicateOrbVersionSc( CompletionStatus cs, Throwable t ) { 559 INTERNAL exc = new INTERNAL ( DUPLICATE_ORB_VERSION_SC, cs ) ; 560 if (t != null) 561 exc.initCause( t ) ; 562 563 if (logger.isLoggable( Level.WARNING )) { 564 Object [] parameters = null ; 565 doLog( Level.WARNING, "POA.duplicateOrbVersionSc", 566 parameters, POASystemException.class, exc ) ; 567 } 568 569 return exc ; 570 } 571 572 public INTERNAL duplicateOrbVersionSc( CompletionStatus cs ) { 573 return duplicateOrbVersionSc( cs, null ) ; 574 } 575 576 public INTERNAL duplicateOrbVersionSc( Throwable t ) { 577 return duplicateOrbVersionSc( CompletionStatus.COMPLETED_NO, t ) ; 578 } 579 580 public INTERNAL duplicateOrbVersionSc( ) { 581 return duplicateOrbVersionSc( CompletionStatus.COMPLETED_NO, null ) ; 582 } 583 584 public static final int PREINVOKE_CLONE_ERROR = SUNVMCID.value + 1012 ; 585 586 public INTERNAL preinvokeCloneError( CompletionStatus cs, Throwable t ) { 587 INTERNAL exc = new INTERNAL ( PREINVOKE_CLONE_ERROR, cs ) ; 588 if (t != null) 589 exc.initCause( t ) ; 590 591 if (logger.isLoggable( Level.WARNING )) { 592 Object [] parameters = null ; 593 doLog( Level.WARNING, "POA.preinvokeCloneError", 594 parameters, POASystemException.class, exc ) ; 595 } 596 597 return exc ; 598 } 599 600 public INTERNAL preinvokeCloneError( CompletionStatus cs ) { 601 return preinvokeCloneError( cs, null ) ; 602 } 603 604 public INTERNAL preinvokeCloneError( Throwable t ) { 605 return preinvokeCloneError( CompletionStatus.COMPLETED_NO, t ) ; 606 } 607 608 public INTERNAL preinvokeCloneError( ) { 609 return preinvokeCloneError( CompletionStatus.COMPLETED_NO, null ) ; 610 } 611 612 public static final int PREINVOKE_POA_DESTROYED = SUNVMCID.value + 1013 ; 613 614 public INTERNAL preinvokePoaDestroyed( CompletionStatus cs, Throwable t ) { 615 INTERNAL exc = new INTERNAL ( PREINVOKE_POA_DESTROYED, cs ) ; 616 if (t != null) 617 exc.initCause( t ) ; 618 619 if (logger.isLoggable( Level.WARNING )) { 620 Object [] parameters = null ; 621 doLog( Level.WARNING, "POA.preinvokePoaDestroyed", 622 parameters, POASystemException.class, exc ) ; 623 } 624 625 return exc ; 626 } 627 628 public INTERNAL preinvokePoaDestroyed( CompletionStatus cs ) { 629 return preinvokePoaDestroyed( cs, null ) ; 630 } 631 632 public INTERNAL preinvokePoaDestroyed( Throwable t ) { 633 return preinvokePoaDestroyed( CompletionStatus.COMPLETED_NO, t ) ; 634 } 635 636 public INTERNAL preinvokePoaDestroyed( ) { 637 return preinvokePoaDestroyed( CompletionStatus.COMPLETED_NO, null ) ; 638 } 639 640 public static final int PMF_CREATE_RETAIN = SUNVMCID.value + 1014 ; 641 642 public INTERNAL pmfCreateRetain( CompletionStatus cs, Throwable t ) { 643 INTERNAL exc = new INTERNAL ( PMF_CREATE_RETAIN, cs ) ; 644 if (t != null) 645 exc.initCause( t ) ; 646 647 if (logger.isLoggable( Level.WARNING )) { 648 Object [] parameters = null ; 649 doLog( Level.WARNING, "POA.pmfCreateRetain", 650 parameters, POASystemException.class, exc ) ; 651 } 652 653 return exc ; 654 } 655 656 public INTERNAL pmfCreateRetain( CompletionStatus cs ) { 657 return pmfCreateRetain( cs, null ) ; 658 } 659 660 public INTERNAL pmfCreateRetain( Throwable t ) { 661 return pmfCreateRetain( CompletionStatus.COMPLETED_NO, t ) ; 662 } 663 664 public INTERNAL pmfCreateRetain( ) { 665 return pmfCreateRetain( CompletionStatus.COMPLETED_NO, null ) ; 666 } 667 668 public static final int PMF_CREATE_NON_RETAIN = SUNVMCID.value + 1015 ; 669 670 public INTERNAL pmfCreateNonRetain( CompletionStatus cs, Throwable t ) { 671 INTERNAL exc = new INTERNAL ( PMF_CREATE_NON_RETAIN, cs ) ; 672 if (t != null) 673 exc.initCause( t ) ; 674 675 if (logger.isLoggable( Level.WARNING )) { 676 Object [] parameters = null ; 677 doLog( Level.WARNING, "POA.pmfCreateNonRetain", 678 parameters, POASystemException.class, exc ) ; 679 } 680 681 return exc ; 682 } 683 684 public INTERNAL pmfCreateNonRetain( CompletionStatus cs ) { 685 return pmfCreateNonRetain( cs, null ) ; 686 } 687 688 public INTERNAL pmfCreateNonRetain( Throwable t ) { 689 return pmfCreateNonRetain( CompletionStatus.COMPLETED_NO, t ) ; 690 } 691 692 public INTERNAL pmfCreateNonRetain( ) { 693 return pmfCreateNonRetain( CompletionStatus.COMPLETED_NO, null ) ; 694 } 695 696 public static final int POLICY_MEDIATOR_BAD_POLICY_IN_FACTORY = SUNVMCID.value + 1016 ; 697 698 public INTERNAL policyMediatorBadPolicyInFactory( CompletionStatus cs, Throwable t ) { 699 INTERNAL exc = new INTERNAL ( POLICY_MEDIATOR_BAD_POLICY_IN_FACTORY, cs ) ; 700 if (t != null) 701 exc.initCause( t ) ; 702 703 if (logger.isLoggable( Level.WARNING )) { 704 Object [] parameters = null ; 705 doLog( Level.WARNING, "POA.policyMediatorBadPolicyInFactory", 706 parameters, POASystemException.class, exc ) ; 707 } 708 709 return exc ; 710 } 711 712 public INTERNAL policyMediatorBadPolicyInFactory( CompletionStatus cs ) { 713 return policyMediatorBadPolicyInFactory( cs, null ) ; 714 } 715 716 public INTERNAL policyMediatorBadPolicyInFactory( Throwable t ) { 717 return policyMediatorBadPolicyInFactory( CompletionStatus.COMPLETED_NO, t ) ; 718 } 719 720 public INTERNAL policyMediatorBadPolicyInFactory( ) { 721 return policyMediatorBadPolicyInFactory( CompletionStatus.COMPLETED_NO, null ) ; 722 } 723 724 public static final int SERVANT_TO_ID_OAA = SUNVMCID.value + 1017 ; 725 726 public INTERNAL servantToIdOaa( CompletionStatus cs, Throwable t ) { 727 INTERNAL exc = new INTERNAL ( SERVANT_TO_ID_OAA, cs ) ; 728 if (t != null) 729 exc.initCause( t ) ; 730 731 if (logger.isLoggable( Level.WARNING )) { 732 Object [] parameters = null ; 733 doLog( Level.WARNING, "POA.servantToIdOaa", 734 parameters, POASystemException.class, exc ) ; 735 } 736 737 return exc ; 738 } 739 740 public INTERNAL servantToIdOaa( CompletionStatus cs ) { 741 return servantToIdOaa( cs, null ) ; 742 } 743 744 public INTERNAL servantToIdOaa( Throwable t ) { 745 return servantToIdOaa( CompletionStatus.COMPLETED_NO, t ) ; 746 } 747 748 public INTERNAL servantToIdOaa( ) { 749 return servantToIdOaa( CompletionStatus.COMPLETED_NO, null ) ; 750 } 751 752 public static final int SERVANT_TO_ID_SAA = SUNVMCID.value + 1018 ; 753 754 public INTERNAL servantToIdSaa( CompletionStatus cs, Throwable t ) { 755 INTERNAL exc = new INTERNAL ( SERVANT_TO_ID_SAA, cs ) ; 756 if (t != null) 757 exc.initCause( t ) ; 758 759 if (logger.isLoggable( Level.WARNING )) { 760 Object [] parameters = null ; 761 doLog( Level.WARNING, "POA.servantToIdSaa", 762 parameters, POASystemException.class, exc ) ; 763 } 764 765 return exc ; 766 } 767 768 public INTERNAL servantToIdSaa( CompletionStatus cs ) { 769 return servantToIdSaa( cs, null ) ; 770 } 771 772 public INTERNAL servantToIdSaa( Throwable t ) { 773 return servantToIdSaa( CompletionStatus.COMPLETED_NO, t ) ; 774 } 775 776 public INTERNAL servantToIdSaa( ) { 777 return servantToIdSaa( CompletionStatus.COMPLETED_NO, null ) ; 778 } 779 780 public static final int SERVANT_TO_ID_WP = SUNVMCID.value + 1019 ; 781 782 public INTERNAL servantToIdWp( CompletionStatus cs, Throwable t ) { 783 INTERNAL exc = new INTERNAL ( SERVANT_TO_ID_WP, cs ) ; 784 if (t != null) 785 exc.initCause( t ) ; 786 787 if (logger.isLoggable( Level.WARNING )) { 788 Object [] parameters = null ; 789 doLog( Level.WARNING, "POA.servantToIdWp", 790 parameters, POASystemException.class, exc ) ; 791 } 792 793 return exc ; 794 } 795 796 public INTERNAL servantToIdWp( CompletionStatus cs ) { 797 return servantToIdWp( cs, null ) ; 798 } 799 800 public INTERNAL servantToIdWp( Throwable t ) { 801 return servantToIdWp( CompletionStatus.COMPLETED_NO, t ) ; 802 } 803 804 public INTERNAL servantToIdWp( ) { 805 return servantToIdWp( CompletionStatus.COMPLETED_NO, null ) ; 806 } 807 808 public static final int CANT_RESOLVE_ROOT_POA = SUNVMCID.value + 1020 ; 809 810 public INTERNAL cantResolveRootPoa( CompletionStatus cs, Throwable t ) { 811 INTERNAL exc = new INTERNAL ( CANT_RESOLVE_ROOT_POA, cs ) ; 812 if (t != null) 813 exc.initCause( t ) ; 814 815 if (logger.isLoggable( Level.WARNING )) { 816 Object [] parameters = null ; 817 doLog( Level.WARNING, "POA.cantResolveRootPoa", 818 parameters, POASystemException.class, exc ) ; 819 } 820 821 return exc ; 822 } 823 824 public INTERNAL cantResolveRootPoa( CompletionStatus cs ) { 825 return cantResolveRootPoa( cs, null ) ; 826 } 827 828 public INTERNAL cantResolveRootPoa( Throwable t ) { 829 return cantResolveRootPoa( CompletionStatus.COMPLETED_NO, t ) ; 830 } 831 832 public INTERNAL cantResolveRootPoa( ) { 833 return cantResolveRootPoa( CompletionStatus.COMPLETED_NO, null ) ; 834 } 835 836 public static final int SERVANT_MUST_BE_LOCAL = SUNVMCID.value + 1021 ; 837 838 public INTERNAL servantMustBeLocal( CompletionStatus cs, Throwable t ) { 839 INTERNAL exc = new INTERNAL ( SERVANT_MUST_BE_LOCAL, cs ) ; 840 if (t != null) 841 exc.initCause( t ) ; 842 843 if (logger.isLoggable( Level.WARNING )) { 844 Object [] parameters = null ; 845 doLog( Level.WARNING, "POA.servantMustBeLocal", 846 parameters, POASystemException.class, exc ) ; 847 } 848 849 return exc ; 850 } 851 852 public INTERNAL servantMustBeLocal( CompletionStatus cs ) { 853 return servantMustBeLocal( cs, null ) ; 854 } 855 856 public INTERNAL servantMustBeLocal( Throwable t ) { 857 return servantMustBeLocal( CompletionStatus.COMPLETED_NO, t ) ; 858 } 859 860 public INTERNAL servantMustBeLocal( ) { 861 return servantMustBeLocal( CompletionStatus.COMPLETED_NO, null ) ; 862 } 863 864 public static final int NO_PROFILES_IN_IOR = SUNVMCID.value + 1022 ; 865 866 public INTERNAL noProfilesInIor( CompletionStatus cs, Throwable t ) { 867 INTERNAL exc = new INTERNAL ( NO_PROFILES_IN_IOR, cs ) ; 868 if (t != null) 869 exc.initCause( t ) ; 870 871 if (logger.isLoggable( Level.WARNING )) { 872 Object [] parameters = null ; 873 doLog( Level.WARNING, "POA.noProfilesInIor", 874 parameters, POASystemException.class, exc ) ; 875 } 876 877 return exc ; 878 } 879 880 public INTERNAL noProfilesInIor( CompletionStatus cs ) { 881 return noProfilesInIor( cs, null ) ; 882 } 883 884 public INTERNAL noProfilesInIor( Throwable t ) { 885 return noProfilesInIor( CompletionStatus.COMPLETED_NO, t ) ; 886 } 887 888 public INTERNAL noProfilesInIor( ) { 889 return noProfilesInIor( CompletionStatus.COMPLETED_NO, null ) ; 890 } 891 892 public static final int AOM_ENTRY_DEC_ZERO = SUNVMCID.value + 1023 ; 893 894 public INTERNAL aomEntryDecZero( CompletionStatus cs, Throwable t ) { 895 INTERNAL exc = new INTERNAL ( AOM_ENTRY_DEC_ZERO, cs ) ; 896 if (t != null) 897 exc.initCause( t ) ; 898 899 if (logger.isLoggable( Level.WARNING )) { 900 Object [] parameters = null ; 901 doLog( Level.WARNING, "POA.aomEntryDecZero", 902 parameters, POASystemException.class, exc ) ; 903 } 904 905 return exc ; 906 } 907 908 public INTERNAL aomEntryDecZero( CompletionStatus cs ) { 909 return aomEntryDecZero( cs, null ) ; 910 } 911 912 public INTERNAL aomEntryDecZero( Throwable t ) { 913 return aomEntryDecZero( CompletionStatus.COMPLETED_NO, t ) ; 914 } 915 916 public INTERNAL aomEntryDecZero( ) { 917 return aomEntryDecZero( CompletionStatus.COMPLETED_NO, null ) ; 918 } 919 920 public static final int ADD_POA_INACTIVE = SUNVMCID.value + 1024 ; 921 922 public INTERNAL addPoaInactive( CompletionStatus cs, Throwable t ) { 923 INTERNAL exc = new INTERNAL ( ADD_POA_INACTIVE, cs ) ; 924 if (t != null) 925 exc.initCause( t ) ; 926 927 if (logger.isLoggable( Level.WARNING )) { 928 Object [] parameters = null ; 929 doLog( Level.WARNING, "POA.addPoaInactive", 930 parameters, POASystemException.class, exc ) ; 931 } 932 933 return exc ; 934 } 935 936 public INTERNAL addPoaInactive( CompletionStatus cs ) { 937 return addPoaInactive( cs, null ) ; 938 } 939 940 public INTERNAL addPoaInactive( Throwable t ) { 941 return addPoaInactive( CompletionStatus.COMPLETED_NO, t ) ; 942 } 943 944 public INTERNAL addPoaInactive( ) { 945 return addPoaInactive( CompletionStatus.COMPLETED_NO, null ) ; 946 } 947 948 public static final int ILLEGAL_POA_STATE_TRANS = SUNVMCID.value + 1025 ; 949 950 public INTERNAL illegalPoaStateTrans( CompletionStatus cs, Throwable t ) { 951 INTERNAL exc = new INTERNAL ( ILLEGAL_POA_STATE_TRANS, cs ) ; 952 if (t != null) 953 exc.initCause( t ) ; 954 955 if (logger.isLoggable( Level.WARNING )) { 956 Object [] parameters = null ; 957 doLog( Level.WARNING, "POA.illegalPoaStateTrans", 958 parameters, POASystemException.class, exc ) ; 959 } 960 961 return exc ; 962 } 963 964 public INTERNAL illegalPoaStateTrans( CompletionStatus cs ) { 965 return illegalPoaStateTrans( cs, null ) ; 966 } 967 968 public INTERNAL illegalPoaStateTrans( Throwable t ) { 969 return illegalPoaStateTrans( CompletionStatus.COMPLETED_NO, t ) ; 970 } 971 972 public INTERNAL illegalPoaStateTrans( ) { 973 return illegalPoaStateTrans( CompletionStatus.COMPLETED_NO, null ) ; 974 } 975 976 public static final int UNEXPECTED_EXCEPTION = SUNVMCID.value + 1026 ; 977 978 public INTERNAL unexpectedException( CompletionStatus cs, Throwable t, Object arg0) { 979 INTERNAL exc = new INTERNAL ( UNEXPECTED_EXCEPTION, cs ) ; 980 if (t != null) 981 exc.initCause( t ) ; 982 983 if (logger.isLoggable( Level.WARNING )) { 984 Object [] parameters = new Object [1] ; 985 parameters[0] = arg0 ; 986 doLog( Level.WARNING, "POA.unexpectedException", 987 parameters, POASystemException.class, exc ) ; 988 } 989 990 return exc ; 991 } 992 993 public INTERNAL unexpectedException( CompletionStatus cs, Object arg0) { 994 return unexpectedException( cs, null, arg0 ) ; 995 } 996 997 public INTERNAL unexpectedException( Throwable t, Object arg0) { 998 return unexpectedException( CompletionStatus.COMPLETED_NO, t, arg0 ) ; 999 } 1000 1001 public INTERNAL unexpectedException( Object arg0) { 1002 return unexpectedException( CompletionStatus.COMPLETED_NO, null, arg0 ) ; 1003 } 1004 1005 1009 public static final int SINGLE_THREAD_NOT_SUPPORTED = SUNVMCID.value + 1001 ; 1010 1011 public NO_IMPLEMENT singleThreadNotSupported( CompletionStatus cs, Throwable t ) { 1012 NO_IMPLEMENT exc = new NO_IMPLEMENT ( SINGLE_THREAD_NOT_SUPPORTED, cs ) ; 1013 if (t != null) 1014 exc.initCause( t ) ; 1015 1016 if (logger.isLoggable( Level.WARNING )) { 1017 Object [] parameters = null ; 1018 doLog( Level.WARNING, "POA.singleThreadNotSupported", 1019 parameters, POASystemException.class, exc ) ; 1020 } 1021 1022 return exc ; 1023 } 1024 1025 public NO_IMPLEMENT singleThreadNotSupported( CompletionStatus cs ) { 1026 return singleThreadNotSupported( cs, null ) ; 1027 } 1028 1029 public NO_IMPLEMENT singleThreadNotSupported( Throwable t ) { 1030 return singleThreadNotSupported( CompletionStatus.COMPLETED_NO, t ) ; 1031 } 1032 1033 public NO_IMPLEMENT singleThreadNotSupported( ) { 1034 return singleThreadNotSupported( CompletionStatus.COMPLETED_NO, null ) ; 1035 } 1036 1037 public static final int METHOD_NOT_IMPLEMENTED = SUNVMCID.value + 1002 ; 1038 1039 public NO_IMPLEMENT methodNotImplemented( CompletionStatus cs, Throwable t ) { 1040 NO_IMPLEMENT exc = new NO_IMPLEMENT ( METHOD_NOT_IMPLEMENTED, cs ) ; 1041 if (t != null) 1042 exc.initCause( t ) ; 1043 1044 if (logger.isLoggable( Level.WARNING )) { 1045 Object [] parameters = null ; 1046 doLog( Level.WARNING, "POA.methodNotImplemented", 1047 parameters, POASystemException.class, exc ) ; 1048 } 1049 1050 return exc ; 1051 } 1052 1053 public NO_IMPLEMENT methodNotImplemented( CompletionStatus cs ) { 1054 return methodNotImplemented( cs, null ) ; 1055 } 1056 1057 public NO_IMPLEMENT methodNotImplemented( Throwable t ) { 1058 return methodNotImplemented( CompletionStatus.COMPLETED_NO, t ) ; 1059 } 1060 1061 public NO_IMPLEMENT methodNotImplemented( ) { 1062 return methodNotImplemented( CompletionStatus.COMPLETED_NO, null ) ; 1063 } 1064 1065 1069 public static final int POA_LOOKUP_ERROR = SUNVMCID.value + 1001 ; 1070 1071 public OBJ_ADAPTER poaLookupError( CompletionStatus cs, Throwable t ) { 1072 OBJ_ADAPTER exc = new OBJ_ADAPTER ( POA_LOOKUP_ERROR, cs ) ; 1073 if (t != null) 1074 exc.initCause( t ) ; 1075 1076 if (logger.isLoggable( Level.WARNING )) { 1077 Object [] parameters = null ; 1078 doLog( Level.WARNING, "POA.poaLookupError", 1079 parameters, POASystemException.class, exc ) ; 1080 } 1081 1082 return exc ; 1083 } 1084 1085 public OBJ_ADAPTER poaLookupError( CompletionStatus cs ) { 1086 return poaLookupError( cs, null ) ; 1087 } 1088 1089 public OBJ_ADAPTER poaLookupError( Throwable t ) { 1090 return poaLookupError( CompletionStatus.COMPLETED_NO, t ) ; 1091 } 1092 1093 public OBJ_ADAPTER poaLookupError( ) { 1094 return poaLookupError( CompletionStatus.COMPLETED_NO, null ) ; 1095 } 1096 1097 public static final int POA_INACTIVE = SUNVMCID.value + 1002 ; 1098 1099 public OBJ_ADAPTER poaInactive( CompletionStatus cs, Throwable t ) { 1100 OBJ_ADAPTER exc = new OBJ_ADAPTER ( POA_INACTIVE, cs ) ; 1101 if (t != null) 1102 exc.initCause( t ) ; 1103 1104 if (logger.isLoggable( Level.FINE )) { 1105 Object [] parameters = null ; 1106 doLog( Level.FINE, "POA.poaInactive", 1107 parameters, POASystemException.class, exc ) ; 1108 } 1109 1110 return exc ; 1111 } 1112 1113 public OBJ_ADAPTER poaInactive( CompletionStatus cs ) { 1114 return poaInactive( cs, null ) ; 1115 } 1116 1117 public OBJ_ADAPTER poaInactive( Throwable t ) { 1118 return poaInactive( CompletionStatus.COMPLETED_NO, t ) ; 1119 } 1120 1121 public OBJ_ADAPTER poaInactive( ) { 1122 return poaInactive( CompletionStatus.COMPLETED_NO, null ) ; 1123 } 1124 1125 public static final int POA_NO_SERVANT_MANAGER = SUNVMCID.value + 1003 ; 1126 1127 public OBJ_ADAPTER poaNoServantManager( CompletionStatus cs, Throwable t ) { 1128 OBJ_ADAPTER exc = new OBJ_ADAPTER ( POA_NO_SERVANT_MANAGER, cs ) ; 1129 if (t != null) 1130 exc.initCause( t ) ; 1131 1132 if (logger.isLoggable( Level.WARNING )) { 1133 Object [] parameters = null ; 1134 doLog( Level.WARNING, "POA.poaNoServantManager", 1135 parameters, POASystemException.class, exc ) ; 1136 } 1137 1138 return exc ; 1139 } 1140 1141 public OBJ_ADAPTER poaNoServantManager( CompletionStatus cs ) { 1142 return poaNoServantManager( cs, null ) ; 1143 } 1144 1145 public OBJ_ADAPTER poaNoServantManager( Throwable t ) { 1146 return poaNoServantManager( CompletionStatus.COMPLETED_NO, t ) ; 1147 } 1148 1149 public OBJ_ADAPTER poaNoServantManager( ) { 1150 return poaNoServantManager( CompletionStatus.COMPLETED_NO, null ) ; 1151 } 1152 1153 public static final int POA_NO_DEFAULT_SERVANT = SUNVMCID.value + 1004 ; 1154 1155 public OBJ_ADAPTER poaNoDefaultServant( CompletionStatus cs, Throwable t ) { 1156 OBJ_ADAPTER exc = new OBJ_ADAPTER ( POA_NO_DEFAULT_SERVANT, cs ) ; 1157 if (t != null) 1158 exc.initCause( t ) ; 1159 1160 if (logger.isLoggable( Level.WARNING )) { 1161 Object [] parameters = null ; 1162 doLog( Level.WARNING, "POA.poaNoDefaultServant", 1163 parameters, POASystemException.class, exc ) ; 1164 } 1165 1166 return exc ; 1167 } 1168 1169 public OBJ_ADAPTER poaNoDefaultServant( CompletionStatus cs ) { 1170 return poaNoDefaultServant( cs, null ) ; 1171 } 1172 1173 public OBJ_ADAPTER poaNoDefaultServant( Throwable t ) { 1174 return poaNoDefaultServant( CompletionStatus.COMPLETED_NO, t ) ; 1175 } 1176 1177 public OBJ_ADAPTER poaNoDefaultServant( ) { 1178 return poaNoDefaultServant( CompletionStatus.COMPLETED_NO, null ) ; 1179 } 1180 1181 public static final int POA_SERVANT_NOT_UNIQUE = SUNVMCID.value + 1005 ; 1182 1183 public OBJ_ADAPTER poaServantNotUnique( CompletionStatus cs, Throwable t ) { 1184 OBJ_ADAPTER exc = new OBJ_ADAPTER ( POA_SERVANT_NOT_UNIQUE, cs ) ; 1185 if (t != null) 1186 exc.initCause( t ) ; 1187 1188 if (logger.isLoggable( Level.WARNING )) { 1189 Object [] parameters = null ; 1190 doLog( Level.WARNING, "POA.poaServantNotUnique", 1191 parameters, POASystemException.class, exc ) ; 1192 } 1193 1194 return exc ; 1195 } 1196 1197 public OBJ_ADAPTER poaServantNotUnique( CompletionStatus cs ) { 1198 return poaServantNotUnique( cs, null ) ; 1199 } 1200 1201 public OBJ_ADAPTER poaServantNotUnique( Throwable t ) { 1202 return poaServantNotUnique( CompletionStatus.COMPLETED_NO, t ) ; 1203 } 1204 1205 public OBJ_ADAPTER poaServantNotUnique( ) { 1206 return poaServantNotUnique( CompletionStatus.COMPLETED_NO, null ) ; 1207 } 1208 1209 public static final int POA_WRONG_POLICY = SUNVMCID.value + 1006 ; 1210 1211 public OBJ_ADAPTER poaWrongPolicy( CompletionStatus cs, Throwable t ) { 1212 OBJ_ADAPTER exc = new OBJ_ADAPTER ( POA_WRONG_POLICY, cs ) ; 1213 if (t != null) 1214 exc.initCause( t ) ; 1215 1216 if (logger.isLoggable( Level.WARNING )) { 1217 Object [] parameters = null ; 1218 doLog( Level.WARNING, "POA.poaWrongPolicy", 1219 parameters, POASystemException.class, exc ) ; 1220 } 1221 1222 return exc ; 1223 } 1224 1225 public OBJ_ADAPTER poaWrongPolicy( CompletionStatus cs ) { 1226 return poaWrongPolicy( cs, null ) ; 1227 } 1228 1229 public OBJ_ADAPTER poaWrongPolicy( Throwable t ) { 1230 return poaWrongPolicy( CompletionStatus.COMPLETED_NO, t ) ; 1231 } 1232 1233 public OBJ_ADAPTER poaWrongPolicy( ) { 1234 return poaWrongPolicy( CompletionStatus.COMPLETED_NO, null ) ; 1235 } 1236 1237 public static final int FINDPOA_ERROR = SUNVMCID.value + 1007 ; 1238 1239 public OBJ_ADAPTER findpoaError( CompletionStatus cs, Throwable t ) { 1240 OBJ_ADAPTER exc = new OBJ_ADAPTER ( FINDPOA_ERROR, cs ) ; 1241 if (t != null) 1242 exc.initCause( t ) ; 1243 1244 if (logger.isLoggable( Level.WARNING )) { 1245 Object [] parameters = null ; 1246 doLog( Level.WARNING, "POA.findpoaError", 1247 parameters, POASystemException.class, exc ) ; 1248 } 1249 1250 return exc ; 1251 } 1252 1253 public OBJ_ADAPTER findpoaError( CompletionStatus cs ) { 1254 return findpoaError( cs, null ) ; 1255 } 1256 1257 public OBJ_ADAPTER findpoaError( Throwable t ) { 1258 return findpoaError( CompletionStatus.COMPLETED_NO, t ) ; 1259 } 1260 1261 public OBJ_ADAPTER findpoaError( ) { 1262 return findpoaError( CompletionStatus.COMPLETED_NO, null ) ; 1263 } 1264 1265 public static final int POA_SERVANT_ACTIVATOR_LOOKUP_FAILED = SUNVMCID.value + 1009 ; 1266 1267 public OBJ_ADAPTER poaServantActivatorLookupFailed( CompletionStatus cs, Throwable t ) { 1268 OBJ_ADAPTER exc = new OBJ_ADAPTER ( POA_SERVANT_ACTIVATOR_LOOKUP_FAILED, cs ) ; 1269 if (t != null) 1270 exc.initCause( t ) ; 1271 1272 if (logger.isLoggable( Level.WARNING )) { 1273 Object [] parameters = null ; 1274 doLog( Level.WARNING, "POA.poaServantActivatorLookupFailed", 1275 parameters, POASystemException.class, exc ) ; 1276 } 1277 1278 return exc ; 1279 } 1280 1281 public OBJ_ADAPTER poaServantActivatorLookupFailed( CompletionStatus cs ) { 1282 return poaServantActivatorLookupFailed( cs, null ) ; 1283 } 1284 1285 public OBJ_ADAPTER poaServantActivatorLookupFailed( Throwable t ) { 1286 return poaServantActivatorLookupFailed( CompletionStatus.COMPLETED_NO, t ) ; 1287 } 1288 1289 public OBJ_ADAPTER poaServantActivatorLookupFailed( ) { 1290 return poaServantActivatorLookupFailed( CompletionStatus.COMPLETED_NO, null ) ; 1291 } 1292 1293 public static final int POA_BAD_SERVANT_MANAGER = SUNVMCID.value + 1010 ; 1294 1295 public OBJ_ADAPTER poaBadServantManager( CompletionStatus cs, Throwable t ) { 1296 OBJ_ADAPTER exc = new OBJ_ADAPTER ( POA_BAD_SERVANT_MANAGER, cs ) ; 1297 if (t != null) 1298 exc.initCause( t ) ; 1299 1300 if (logger.isLoggable( Level.WARNING )) { 1301 Object [] parameters = null ; 1302 doLog( Level.WARNING, "POA.poaBadServantManager", 1303 parameters, POASystemException.class, exc ) ; 1304 } 1305 1306 return exc ; 1307 } 1308 1309 public OBJ_ADAPTER poaBadServantManager( CompletionStatus cs ) { 1310 return poaBadServantManager( cs, null ) ; 1311 } 1312 1313 public OBJ_ADAPTER poaBadServantManager( Throwable t ) { 1314 return poaBadServantManager( CompletionStatus.COMPLETED_NO, t ) ; 1315 } 1316 1317 public OBJ_ADAPTER poaBadServantManager( ) { 1318 return poaBadServantManager( CompletionStatus.COMPLETED_NO, null ) ; 1319 } 1320 1321 public static final int POA_SERVANT_LOCATOR_LOOKUP_FAILED = SUNVMCID.value + 1011 ; 1322 1323 public OBJ_ADAPTER poaServantLocatorLookupFailed( CompletionStatus cs, Throwable t ) { 1324 OBJ_ADAPTER exc = new OBJ_ADAPTER ( POA_SERVANT_LOCATOR_LOOKUP_FAILED, cs ) ; 1325 if (t != null) 1326 exc.initCause( t ) ; 1327 1328 if (logger.isLoggable( Level.WARNING )) { 1329 Object [] parameters = null ; 1330 doLog( Level.WARNING, "POA.poaServantLocatorLookupFailed", 1331 parameters, POASystemException.class, exc ) ; 1332 } 1333 1334 return exc ; 1335 } 1336 1337 public OBJ_ADAPTER poaServantLocatorLookupFailed( CompletionStatus cs ) { 1338 return poaServantLocatorLookupFailed( cs, null ) ; 1339 } 1340 1341 public OBJ_ADAPTER poaServantLocatorLookupFailed( Throwable t ) { 1342 return poaServantLocatorLookupFailed( CompletionStatus.COMPLETED_NO, t ) ; 1343 } 1344 1345 public OBJ_ADAPTER poaServantLocatorLookupFailed( ) { 1346 return poaServantLocatorLookupFailed( CompletionStatus.COMPLETED_NO, null ) ; 1347 } 1348 1349 public static final int POA_UNKNOWN_POLICY = SUNVMCID.value + 1012 ; 1350 1351 public OBJ_ADAPTER poaUnknownPolicy( CompletionStatus cs, Throwable t ) { 1352 OBJ_ADAPTER exc = new OBJ_ADAPTER ( POA_UNKNOWN_POLICY, cs ) ; 1353 if (t != null) 1354 exc.initCause( t ) ; 1355 1356 if (logger.isLoggable( Level.WARNING )) { 1357 Object [] parameters = null ; 1358 doLog( Level.WARNING, "POA.poaUnknownPolicy", 1359 parameters, POASystemException.class, exc ) ; 1360 } 1361 1362 return exc ; 1363 } 1364 1365 public OBJ_ADAPTER poaUnknownPolicy( CompletionStatus cs ) { 1366 return poaUnknownPolicy( cs, null ) ; 1367 } 1368 1369 public OBJ_ADAPTER poaUnknownPolicy( Throwable t ) { 1370 return poaUnknownPolicy( CompletionStatus.COMPLETED_NO, t ) ; 1371 } 1372 1373 public OBJ_ADAPTER poaUnknownPolicy( ) { 1374 return poaUnknownPolicy( CompletionStatus.COMPLETED_NO, null ) ; 1375 } 1376 1377 public static final int POA_NOT_FOUND = SUNVMCID.value + 1013 ; 1378 1379 public OBJ_ADAPTER poaNotFound( CompletionStatus cs, Throwable t ) { 1380 OBJ_ADAPTER exc = new OBJ_ADAPTER ( POA_NOT_FOUND, cs ) ; 1381 if (t != null) 1382 exc.initCause( t ) ; 1383 1384 if (logger.isLoggable( Level.WARNING )) { 1385 Object [] parameters = null ; 1386 doLog( Level.WARNING, "POA.poaNotFound", 1387 parameters, POASystemException.class, exc ) ; 1388 } 1389 1390 return exc ; 1391 } 1392 1393 public OBJ_ADAPTER poaNotFound( CompletionStatus cs ) { 1394 return poaNotFound( cs, null ) ; 1395 } 1396 1397 public OBJ_ADAPTER poaNotFound( Throwable t ) { 1398 return poaNotFound( CompletionStatus.COMPLETED_NO, t ) ; 1399 } 1400 1401 public OBJ_ADAPTER poaNotFound( ) { 1402 return poaNotFound( CompletionStatus.COMPLETED_NO, null ) ; 1403 } 1404 1405 public static final int SERVANT_LOOKUP = SUNVMCID.value + 1014 ; 1406 1407 public OBJ_ADAPTER servantLookup( CompletionStatus cs, Throwable t ) { 1408 OBJ_ADAPTER exc = new OBJ_ADAPTER ( SERVANT_LOOKUP, cs ) ; 1409 if (t != null) 1410 exc.initCause( t ) ; 1411 1412 if (logger.isLoggable( Level.WARNING )) { 1413 Object [] parameters = null ; 1414 doLog( Level.WARNING, "POA.servantLookup", 1415 parameters, POASystemException.class, exc ) ; 1416 } 1417 1418 return exc ; 1419 } 1420 1421 public OBJ_ADAPTER servantLookup( CompletionStatus cs ) { 1422 return servantLookup( cs, null ) ; 1423 } 1424 1425 public OBJ_ADAPTER servantLookup( Throwable t ) { 1426 return servantLookup( CompletionStatus.COMPLETED_NO, t ) ; 1427 } 1428 1429 public OBJ_ADAPTER servantLookup( ) { 1430 return servantLookup( CompletionStatus.COMPLETED_NO, null ) ; 1431 } 1432 1433 public static final int LOCAL_SERVANT_LOOKUP = SUNVMCID.value + 1015 ; 1434 1435 public OBJ_ADAPTER localServantLookup( CompletionStatus cs, Throwable t ) { 1436 OBJ_ADAPTER exc = new OBJ_ADAPTER ( LOCAL_SERVANT_LOOKUP, cs ) ; 1437 if (t != null) 1438 exc.initCause( t ) ; 1439 1440 if (logger.isLoggable( Level.WARNING )) { 1441 Object [] parameters = null ; 1442 doLog( Level.WARNING, "POA.localServantLookup", 1443 parameters, POASystemException.class, exc ) ; 1444 } 1445 1446 return exc ; 1447 } 1448 1449 public OBJ_ADAPTER localServantLookup( CompletionStatus cs ) { 1450 return localServantLookup( cs, null ) ; 1451 } 1452 1453 public OBJ_ADAPTER localServantLookup( Throwable t ) { 1454 return localServantLookup( CompletionStatus.COMPLETED_NO, t ) ; 1455 } 1456 1457 public OBJ_ADAPTER localServantLookup( ) { 1458 return localServantLookup( CompletionStatus.COMPLETED_NO, null ) ; 1459 } 1460 1461 public static final int SERVANT_MANAGER_BAD_TYPE = SUNVMCID.value + 1016 ; 1462 1463 public OBJ_ADAPTER servantManagerBadType( CompletionStatus cs, Throwable t ) { 1464 OBJ_ADAPTER exc = new OBJ_ADAPTER ( SERVANT_MANAGER_BAD_TYPE, cs ) ; 1465 if (t != null) 1466 exc.initCause( t ) ; 1467 1468 if (logger.isLoggable( Level.WARNING )) { 1469 Object [] parameters = null ; 1470 doLog( Level.WARNING, "POA.servantManagerBadType", 1471 parameters, POASystemException.class, exc ) ; 1472 } 1473 1474 return exc ; 1475 } 1476 1477 public OBJ_ADAPTER servantManagerBadType( CompletionStatus cs ) { 1478 return servantManagerBadType( cs, null ) ; 1479 } 1480 1481 public OBJ_ADAPTER servantManagerBadType( Throwable t ) { 1482 return servantManagerBadType( CompletionStatus.COMPLETED_NO, t ) ; 1483 } 1484 1485 public OBJ_ADAPTER servantManagerBadType( ) { 1486 return servantManagerBadType( CompletionStatus.COMPLETED_NO, null ) ; 1487 } 1488 1489 public static final int DEFAULT_POA_NOT_POAIMPL = SUNVMCID.value + 1017 ; 1490 1491 public OBJ_ADAPTER defaultPoaNotPoaimpl( CompletionStatus cs, Throwable t ) { 1492 OBJ_ADAPTER exc = new OBJ_ADAPTER ( DEFAULT_POA_NOT_POAIMPL, cs ) ; 1493 if (t != null) 1494 exc.initCause( t ) ; 1495 1496 if (logger.isLoggable( Level.WARNING )) { 1497 Object [] parameters = null ; 1498 doLog( Level.WARNING, "POA.defaultPoaNotPoaimpl", 1499 parameters, POASystemException.class, exc ) ; 1500 } 1501 1502 return exc ; 1503 } 1504 1505 public OBJ_ADAPTER defaultPoaNotPoaimpl( CompletionStatus cs ) { 1506 return defaultPoaNotPoaimpl( cs, null ) ; 1507 } 1508 1509 public OBJ_ADAPTER defaultPoaNotPoaimpl( Throwable t ) { 1510 return defaultPoaNotPoaimpl( CompletionStatus.COMPLETED_NO, t ) ; 1511 } 1512 1513 public OBJ_ADAPTER defaultPoaNotPoaimpl( ) { 1514 return defaultPoaNotPoaimpl( CompletionStatus.COMPLETED_NO, null ) ; 1515 } 1516 1517 public static final int WRONG_POLICIES_FOR_THIS_OBJECT = SUNVMCID.value + 1018 ; 1518 1519 public OBJ_ADAPTER wrongPoliciesForThisObject( CompletionStatus cs, Throwable t ) { 1520 OBJ_ADAPTER exc = new OBJ_ADAPTER ( WRONG_POLICIES_FOR_THIS_OBJECT, cs ) ; 1521 if (t != null) 1522 exc.initCause( t ) ; 1523 1524 if (logger.isLoggable( Level.WARNING )) { 1525 Object [] parameters = null ; 1526 doLog( Level.WARNING, "POA.wrongPoliciesForThisObject", 1527 parameters, POASystemException.class, exc ) ; 1528 } 1529 1530 return exc ; 1531 } 1532 1533 public OBJ_ADAPTER wrongPoliciesForThisObject( CompletionStatus cs ) { 1534 return wrongPoliciesForThisObject( cs, null ) ; 1535 } 1536 1537 public OBJ_ADAPTER wrongPoliciesForThisObject( Throwable t ) { 1538 return wrongPoliciesForThisObject( CompletionStatus.COMPLETED_NO, t ) ; 1539 } 1540 1541 public OBJ_ADAPTER wrongPoliciesForThisObject( ) { 1542 return wrongPoliciesForThisObject( CompletionStatus.COMPLETED_NO, null ) ; 1543 } 1544 1545 public static final int THIS_OBJECT_SERVANT_NOT_ACTIVE = SUNVMCID.value + 1019 ; 1546 1547 public OBJ_ADAPTER thisObjectServantNotActive( CompletionStatus cs, Throwable t ) { 1548 OBJ_ADAPTER exc = new OBJ_ADAPTER ( THIS_OBJECT_SERVANT_NOT_ACTIVE, cs ) ; 1549 if (t != null) 1550 exc.initCause( t ) ; 1551 1552 if (logger.isLoggable( Level.WARNING )) { 1553 Object [] parameters = null ; 1554 doLog( Level.WARNING, "POA.thisObjectServantNotActive", 1555 parameters, POASystemException.class, exc ) ; 1556 } 1557 1558 return exc ; 1559 } 1560 1561 public OBJ_ADAPTER thisObjectServantNotActive( CompletionStatus cs ) { 1562 return thisObjectServantNotActive( cs, null ) ; 1563 } 1564 1565 public OBJ_ADAPTER thisObjectServantNotActive( Throwable t ) { 1566 return thisObjectServantNotActive( CompletionStatus.COMPLETED_NO, t ) ; 1567 } 1568 1569 public OBJ_ADAPTER thisObjectServantNotActive( ) { 1570 return thisObjectServantNotActive( CompletionStatus.COMPLETED_NO, null ) ; 1571 } 1572 1573 public static final int THIS_OBJECT_WRONG_POLICY = SUNVMCID.value + 1020 ; 1574 1575 public OBJ_ADAPTER thisObjectWrongPolicy( CompletionStatus cs, Throwable t ) { 1576 OBJ_ADAPTER exc = new OBJ_ADAPTER ( THIS_OBJECT_WRONG_POLICY, cs ) ; 1577 if (t != null) 1578 exc.initCause( t ) ; 1579 1580 if (logger.isLoggable( Level.WARNING )) { 1581 Object [] parameters = null ; 1582 doLog( Level.WARNING, "POA.thisObjectWrongPolicy", 1583 parameters, POASystemException.class, exc ) ; 1584 } 1585 1586 return exc ; 1587 } 1588 1589 public OBJ_ADAPTER thisObjectWrongPolicy( CompletionStatus cs ) { 1590 return thisObjectWrongPolicy( cs, null ) ; 1591 } 1592 1593 public OBJ_ADAPTER thisObjectWrongPolicy( Throwable t ) { 1594 return thisObjectWrongPolicy( CompletionStatus.COMPLETED_NO, t ) ; 1595 } 1596 1597 public OBJ_ADAPTER thisObjectWrongPolicy( ) { 1598 return thisObjectWrongPolicy( CompletionStatus.COMPLETED_NO, null ) ; 1599 } 1600 1601 public static final int NO_CONTEXT = SUNVMCID.value + 1021 ; 1602 1603 public OBJ_ADAPTER noContext( CompletionStatus cs, Throwable t ) { 1604 OBJ_ADAPTER exc = new OBJ_ADAPTER ( NO_CONTEXT, cs ) ; 1605 if (t != null) 1606 exc.initCause( t ) ; 1607 1608 if (logger.isLoggable( Level.FINE )) { 1609 Object [] parameters = null ; 1610 doLog( Level.FINE, "POA.noContext", 1611 parameters, POASystemException.class, exc ) ; 1612 } 1613 1614 return exc ; 1615 } 1616 1617 public OBJ_ADAPTER noContext( CompletionStatus cs ) { 1618 return noContext( cs, null ) ; 1619 } 1620 1621 public OBJ_ADAPTER noContext( Throwable t ) { 1622 return noContext( CompletionStatus.COMPLETED_NO, t ) ; 1623 } 1624 1625 public OBJ_ADAPTER noContext( ) { 1626 return noContext( CompletionStatus.COMPLETED_NO, null ) ; 1627 } 1628 1629 public static final int INCARNATE_RETURNED_NULL = SUNVMCID.value + 1022 ; 1630 1631 public OBJ_ADAPTER incarnateReturnedNull( CompletionStatus cs, Throwable t ) { 1632 OBJ_ADAPTER exc = new OBJ_ADAPTER ( INCARNATE_RETURNED_NULL, cs ) ; 1633 if (t != null) 1634 exc.initCause( t ) ; 1635 1636 if (logger.isLoggable( Level.WARNING )) { 1637 Object [] parameters = null ; 1638 doLog( Level.WARNING, "POA.incarnateReturnedNull", 1639 parameters, POASystemException.class, exc ) ; 1640 } 1641 1642 return exc ; 1643 } 1644 1645 public OBJ_ADAPTER incarnateReturnedNull( CompletionStatus cs ) { 1646 return incarnateReturnedNull( cs, null ) ; 1647 } 1648 1649 public OBJ_ADAPTER incarnateReturnedNull( Throwable t ) { 1650 return incarnateReturnedNull( CompletionStatus.COMPLETED_NO, t ) ; 1651 } 1652 1653 public OBJ_ADAPTER incarnateReturnedNull( ) { 1654 return incarnateReturnedNull( CompletionStatus.COMPLETED_NO, null ) ; 1655 } 1656 1657 1661 public static final int JTS_INIT_ERROR = SUNVMCID.value + 1001 ; 1662 1663 public INITIALIZE jtsInitError( CompletionStatus cs, Throwable t ) { 1664 INITIALIZE exc = new INITIALIZE ( JTS_INIT_ERROR, cs ) ; 1665 if (t != null) 1666 exc.initCause( t ) ; 1667 1668 if (logger.isLoggable( Level.WARNING )) { 1669 Object [] parameters = null ; 1670 doLog( Level.WARNING, "POA.jtsInitError", 1671 parameters, POASystemException.class, exc ) ; 1672 } 1673 1674 return exc ; 1675 } 1676 1677 public INITIALIZE jtsInitError( CompletionStatus cs ) { 1678 return jtsInitError( cs, null ) ; 1679 } 1680 1681 public INITIALIZE jtsInitError( Throwable t ) { 1682 return jtsInitError( CompletionStatus.COMPLETED_NO, t ) ; 1683 } 1684 1685 public INITIALIZE jtsInitError( ) { 1686 return jtsInitError( CompletionStatus.COMPLETED_NO, null ) ; 1687 } 1688 1689 public static final int PERSISTENT_SERVERID_NOT_SET = SUNVMCID.value + 1002 ; 1690 1691 public INITIALIZE persistentServeridNotSet( CompletionStatus cs, Throwable t ) { 1692 INITIALIZE exc = new INITIALIZE ( PERSISTENT_SERVERID_NOT_SET, cs ) ; 1693 if (t != null) 1694 exc.initCause( t ) ; 1695 1696 if (logger.isLoggable( Level.WARNING )) { 1697 Object [] parameters = null ; 1698 doLog( Level.WARNING, "POA.persistentServeridNotSet", 1699 parameters, POASystemException.class, exc ) ; 1700 } 1701 1702 return exc ; 1703 } 1704 1705 public INITIALIZE persistentServeridNotSet( CompletionStatus cs ) { 1706 return persistentServeridNotSet( cs, null ) ; 1707 } 1708 1709 public INITIALIZE persistentServeridNotSet( Throwable t ) { 1710 return persistentServeridNotSet( CompletionStatus.COMPLETED_NO, t ) ; 1711 } 1712 1713 public INITIALIZE persistentServeridNotSet( ) { 1714 return persistentServeridNotSet( CompletionStatus.COMPLETED_NO, null ) ; 1715 } 1716 1717 public static final int PERSISTENT_SERVERPORT_NOT_SET = SUNVMCID.value + 1003 ; 1718 1719 public INITIALIZE persistentServerportNotSet( CompletionStatus cs, Throwable t ) { 1720 INITIALIZE exc = new INITIALIZE ( PERSISTENT_SERVERPORT_NOT_SET, cs ) ; 1721 if (t != null) 1722 exc.initCause( t ) ; 1723 1724 if (logger.isLoggable( Level.WARNING )) { 1725 Object [] parameters = null ; 1726 doLog( Level.WARNING, "POA.persistentServerportNotSet", 1727 parameters, POASystemException.class, exc ) ; 1728 } 1729 1730 return exc ; 1731 } 1732 1733 public INITIALIZE persistentServerportNotSet( CompletionStatus cs ) { 1734 return persistentServerportNotSet( cs, null ) ; 1735 } 1736 1737 public INITIALIZE persistentServerportNotSet( Throwable t ) { 1738 return persistentServerportNotSet( CompletionStatus.COMPLETED_NO, t ) ; 1739 } 1740 1741 public INITIALIZE persistentServerportNotSet( ) { 1742 return persistentServerportNotSet( CompletionStatus.COMPLETED_NO, null ) ; 1743 } 1744 1745 public static final int ORBD_ERROR = SUNVMCID.value + 1004 ; 1746 1747 public INITIALIZE orbdError( CompletionStatus cs, Throwable t ) { 1748 INITIALIZE exc = new INITIALIZE ( ORBD_ERROR, cs ) ; 1749 if (t != null) 1750 exc.initCause( t ) ; 1751 1752 if (logger.isLoggable( Level.WARNING )) { 1753 Object [] parameters = null ; 1754 doLog( Level.WARNING, "POA.orbdError", 1755 parameters, POASystemException.class, exc ) ; 1756 } 1757 1758 return exc ; 1759 } 1760 1761 public INITIALIZE orbdError( CompletionStatus cs ) { 1762 return orbdError( cs, null ) ; 1763 } 1764 1765 public INITIALIZE orbdError( Throwable t ) { 1766 return orbdError( CompletionStatus.COMPLETED_NO, t ) ; 1767 } 1768 1769 public INITIALIZE orbdError( ) { 1770 return orbdError( CompletionStatus.COMPLETED_NO, null ) ; 1771 } 1772 1773 public static final int BOOTSTRAP_ERROR = SUNVMCID.value + 1005 ; 1774 1775 public INITIALIZE bootstrapError( CompletionStatus cs, Throwable t ) { 1776 INITIALIZE exc = new INITIALIZE ( BOOTSTRAP_ERROR, cs ) ; 1777 if (t != null) 1778 exc.initCause( t ) ; 1779 1780 if (logger.isLoggable( Level.WARNING )) { 1781 Object [] parameters = null ; 1782 doLog( Level.WARNING, "POA.bootstrapError", 1783 parameters, POASystemException.class, exc ) ; 1784 } 1785 1786 return exc ; 1787 } 1788 1789 public INITIALIZE bootstrapError( CompletionStatus cs ) { 1790 return bootstrapError( cs, null ) ; 1791 } 1792 1793 public INITIALIZE bootstrapError( Throwable t ) { 1794 return bootstrapError( CompletionStatus.COMPLETED_NO, t ) ; 1795 } 1796 1797 public INITIALIZE bootstrapError( ) { 1798 return bootstrapError( CompletionStatus.COMPLETED_NO, null ) ; 1799 } 1800 1801 1805 public static final int POA_DISCARDING = SUNVMCID.value + 1001 ; 1806 1807 public TRANSIENT poaDiscarding( CompletionStatus cs, Throwable t ) { 1808 TRANSIENT exc = new TRANSIENT ( POA_DISCARDING, cs ) ; 1809 if (t != null) 1810 exc.initCause( t ) ; 1811 1812 if (logger.isLoggable( Level.FINE )) { 1813 Object [] parameters = null ; 1814 doLog( Level.FINE, "POA.poaDiscarding", 1815 parameters, POASystemException.class, exc ) ; 1816 } 1817 1818 return exc ; 1819 } 1820 1821 public TRANSIENT poaDiscarding( CompletionStatus cs ) { 1822 return poaDiscarding( cs, null ) ; 1823 } 1824 1825 public TRANSIENT poaDiscarding( Throwable t ) { 1826 return poaDiscarding( CompletionStatus.COMPLETED_NO, t ) ; 1827 } 1828 1829 public TRANSIENT poaDiscarding( ) { 1830 return poaDiscarding( CompletionStatus.COMPLETED_NO, null ) ; 1831 } 1832 1833 1837 public static final int OTSHOOKEXCEPTION = SUNVMCID.value + 1001 ; 1838 1839 public UNKNOWN otshookexception( CompletionStatus cs, Throwable t ) { 1840 UNKNOWN exc = new UNKNOWN ( OTSHOOKEXCEPTION, cs ) ; 1841 if (t != null) 1842 exc.initCause( t ) ; 1843 1844 if (logger.isLoggable( Level.WARNING )) { 1845 Object [] parameters = null ; 1846 doLog( Level.WARNING, "POA.otshookexception", 1847 parameters, POASystemException.class, exc ) ; 1848 } 1849 1850 return exc ; 1851 } 1852 1853 public UNKNOWN otshookexception( CompletionStatus cs ) { 1854 return otshookexception( cs, null ) ; 1855 } 1856 1857 public UNKNOWN otshookexception( Throwable t ) { 1858 return otshookexception( CompletionStatus.COMPLETED_NO, t ) ; 1859 } 1860 1861 public UNKNOWN otshookexception( ) { 1862 return otshookexception( CompletionStatus.COMPLETED_NO, null ) ; 1863 } 1864 1865 public static final int UNKNOWN_SERVER_EXCEPTION = SUNVMCID.value + 1002 ; 1866 1867 public UNKNOWN unknownServerException( CompletionStatus cs, Throwable t ) { 1868 UNKNOWN exc = new UNKNOWN ( UNKNOWN_SERVER_EXCEPTION, cs ) ; 1869 if (t != null) 1870 exc.initCause( t ) ; 1871 1872 if (logger.isLoggable( Level.WARNING )) { 1873 Object [] parameters = null ; 1874 doLog( Level.WARNING, "POA.unknownServerException", 1875 parameters, POASystemException.class, exc ) ; 1876 } 1877 1878 return exc ; 1879 } 1880 1881 public UNKNOWN unknownServerException( CompletionStatus cs ) { 1882 return unknownServerException( cs, null ) ; 1883 } 1884 1885 public UNKNOWN unknownServerException( Throwable t ) { 1886 return unknownServerException( CompletionStatus.COMPLETED_NO, t ) ; 1887 } 1888 1889 public UNKNOWN unknownServerException( ) { 1890 return unknownServerException( CompletionStatus.COMPLETED_NO, null ) ; 1891 } 1892 1893 public static final int UNKNOWN_SERVERAPP_EXCEPTION = SUNVMCID.value + 1003 ; 1894 1895 public UNKNOWN unknownServerappException( CompletionStatus cs, Throwable t ) { 1896 UNKNOWN exc = new UNKNOWN ( UNKNOWN_SERVERAPP_EXCEPTION, cs ) ; 1897 if (t != null) 1898 exc.initCause( t ) ; 1899 1900 if (logger.isLoggable( Level.WARNING )) { 1901 Object [] parameters = null ; 1902 doLog( Level.WARNING, "POA.unknownServerappException", 1903 parameters, POASystemException.class, exc ) ; 1904 } 1905 1906 return exc ; 1907 } 1908 1909 public UNKNOWN unknownServerappException( CompletionStatus cs ) { 1910 return unknownServerappException( cs, null ) ; 1911 } 1912 1913 public UNKNOWN unknownServerappException( Throwable t ) { 1914 return unknownServerappException( CompletionStatus.COMPLETED_NO, t ) ; 1915 } 1916 1917 public UNKNOWN unknownServerappException( ) { 1918 return unknownServerappException( CompletionStatus.COMPLETED_NO, null ) ; 1919 } 1920 1921 public static final int UNKNOWN_LOCALINVOCATION_ERROR = SUNVMCID.value + 1004 ; 1922 1923 public UNKNOWN unknownLocalinvocationError( CompletionStatus cs, Throwable t ) { 1924 UNKNOWN exc = new UNKNOWN ( UNKNOWN_LOCALINVOCATION_ERROR, cs ) ; 1925 if (t != null) 1926 exc.initCause( t ) ; 1927 1928 if (logger.isLoggable( Level.WARNING )) { 1929 Object [] parameters = null ; 1930 doLog( Level.WARNING, "POA.unknownLocalinvocationError", 1931 parameters, POASystemException.class, exc ) ; 1932 } 1933 1934 return exc ; 1935 } 1936 1937 public UNKNOWN unknownLocalinvocationError( CompletionStatus cs ) { 1938 return unknownLocalinvocationError( cs, null ) ; 1939 } 1940 1941 public UNKNOWN unknownLocalinvocationError( Throwable t ) { 1942 return unknownLocalinvocationError( CompletionStatus.COMPLETED_NO, t ) ; 1943 } 1944 1945 public UNKNOWN unknownLocalinvocationError( ) { 1946 return unknownLocalinvocationError( CompletionStatus.COMPLETED_NO, null ) ; 1947 } 1948 1949 1953 public static final int ADAPTER_ACTIVATOR_NONEXISTENT = SUNVMCID.value + 1001 ; 1954 1955 public OBJECT_NOT_EXIST adapterActivatorNonexistent( CompletionStatus cs, Throwable t ) { 1956 OBJECT_NOT_EXIST exc = new OBJECT_NOT_EXIST ( ADAPTER_ACTIVATOR_NONEXISTENT, cs ) ; 1957 if (t != null) 1958 exc.initCause( t ) ; 1959 1960 if (logger.isLoggable( Level.WARNING )) { 1961 Object [] parameters = null ; 1962 doLog( Level.WARNING, "POA.adapterActivatorNonexistent", 1963 parameters, POASystemException.class, exc ) ; 1964 } 1965 1966 return exc ; 1967 } 1968 1969 public OBJECT_NOT_EXIST adapterActivatorNonexistent( CompletionStatus cs ) { 1970 return adapterActivatorNonexistent( cs, null ) ; 1971 } 1972 1973 public OBJECT_NOT_EXIST adapterActivatorNonexistent( Throwable t ) { 1974 return adapterActivatorNonexistent( CompletionStatus.COMPLETED_NO, t ) ; 1975 } 1976 1977 public OBJECT_NOT_EXIST adapterActivatorNonexistent( ) { 1978 return adapterActivatorNonexistent( CompletionStatus.COMPLETED_NO, null ) ; 1979 } 1980 1981 public static final int ADAPTER_ACTIVATOR_FAILED = SUNVMCID.value + 1002 ; 1982 1983 public OBJECT_NOT_EXIST adapterActivatorFailed( CompletionStatus cs, Throwable t ) { 1984 OBJECT_NOT_EXIST exc = new OBJECT_NOT_EXIST ( ADAPTER_ACTIVATOR_FAILED, cs ) ; 1985 if (t != null) 1986 exc.initCause( t ) ; 1987 1988 if (logger.isLoggable( Level.WARNING )) { 1989 Object [] parameters = null ; 1990 doLog( Level.WARNING, "POA.adapterActivatorFailed", 1991 parameters, POASystemException.class, exc ) ; 1992 } 1993 1994 return exc ; 1995 } 1996 1997 public OBJECT_NOT_EXIST adapterActivatorFailed( CompletionStatus cs ) { 1998 return adapterActivatorFailed( cs, null ) ; 1999 } 2000 2001 public OBJECT_NOT_EXIST adapterActivatorFailed( Throwable t ) { 2002 return adapterActivatorFailed( CompletionStatus.COMPLETED_NO, t ) ; 2003 } 2004 2005 public OBJECT_NOT_EXIST adapterActivatorFailed( ) { 2006 return adapterActivatorFailed( CompletionStatus.COMPLETED_NO, null ) ; 2007 } 2008 2009 public static final int BAD_SKELETON = SUNVMCID.value + 1003 ; 2010 2011 public OBJECT_NOT_EXIST badSkeleton( CompletionStatus cs, Throwable t ) { 2012 OBJECT_NOT_EXIST exc = new OBJECT_NOT_EXIST ( BAD_SKELETON, cs ) ; 2013 if (t != null) 2014 exc.initCause( t ) ; 2015 2016 if (logger.isLoggable( Level.WARNING )) { 2017 Object [] parameters = null ; 2018 doLog( Level.WARNING, "POA.badSkeleton", 2019 parameters, POASystemException.class, exc ) ; 2020 } 2021 2022 return exc ; 2023 } 2024 2025 public OBJECT_NOT_EXIST badSkeleton( CompletionStatus cs ) { 2026 return badSkeleton( cs, null ) ; 2027 } 2028 2029 public OBJECT_NOT_EXIST badSkeleton( Throwable t ) { 2030 return badSkeleton( CompletionStatus.COMPLETED_NO, t ) ; 2031 } 2032 2033 public OBJECT_NOT_EXIST badSkeleton( ) { 2034 return badSkeleton( CompletionStatus.COMPLETED_NO, null ) ; 2035 } 2036 2037 public static final int NULL_SERVANT = SUNVMCID.value + 1004 ; 2038 2039 public OBJECT_NOT_EXIST nullServant( CompletionStatus cs, Throwable t ) { 2040 OBJECT_NOT_EXIST exc = new OBJECT_NOT_EXIST ( NULL_SERVANT, cs ) ; 2041 if (t != null) 2042 exc.initCause( t ) ; 2043 2044 if (logger.isLoggable( Level.FINE )) { 2045 Object [] parameters = null ; 2046 doLog( Level.FINE, "POA.nullServant", 2047 parameters, POASystemException.class, exc ) ; 2048 } 2049 2050 return exc ; 2051 } 2052 2053 public OBJECT_NOT_EXIST nullServant( CompletionStatus cs ) { 2054 return nullServant( cs, null ) ; 2055 } 2056 2057 public OBJECT_NOT_EXIST nullServant( Throwable t ) { 2058 return nullServant( CompletionStatus.COMPLETED_NO, t ) ; 2059 } 2060 2061 public OBJECT_NOT_EXIST nullServant( ) { 2062 return nullServant( CompletionStatus.COMPLETED_NO, null ) ; 2063 } 2064 2065 public static final int ADAPTER_DESTROYED = SUNVMCID.value + 1005 ; 2066 2067 public OBJECT_NOT_EXIST adapterDestroyed( CompletionStatus cs, Throwable t ) { 2068 OBJECT_NOT_EXIST exc = new OBJECT_NOT_EXIST ( ADAPTER_DESTROYED, cs ) ; 2069 if (t != null) 2070 exc.initCause( t ) ; 2071 2072 if (logger.isLoggable( Level.WARNING )) { 2073 Object [] parameters = null ; 2074 doLog( Level.WARNING, "POA.adapterDestroyed", 2075 parameters, POASystemException.class, exc ) ; 2076 } 2077 2078 return exc ; 2079 } 2080 2081 public OBJECT_NOT_EXIST adapterDestroyed( CompletionStatus cs ) { 2082 return adapterDestroyed( cs, null ) ; 2083 } 2084 2085 public OBJECT_NOT_EXIST adapterDestroyed( Throwable t ) { 2086 return adapterDestroyed( CompletionStatus.COMPLETED_NO, t ) ; 2087 } 2088 2089 public OBJECT_NOT_EXIST adapterDestroyed( ) { 2090 return adapterDestroyed( CompletionStatus.COMPLETED_NO, null ) ; 2091 } 2092 2093 2094} 2095 | Popular Tags |