1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935
|
// Log wrapper class for Sun private system exceptions in group UTIL
//
// Generated by MC.java version 1.0, DO NOT EDIT BY HAND!
// Generated from input file ../../../../src/share/classes/com/sun/corba/se/spi/logging/data/Util.mc on Fri Dec 05 17:29:36 GMT 2008
package com.sun.corba.se.impl.logging ;
import java.util.logging.Logger ;
import java.util.logging.Level ;
import org.omg.CORBA.OMGVMCID ;
import com.sun.corba.se.impl.util.SUNVMCID ;
import org.omg.CORBA.CompletionStatus ;
import org.omg.CORBA.SystemException ;
import com.sun.corba.se.spi.orb.ORB ;
import com.sun.corba.se.spi.logging.LogWrapperFactory;
import com.sun.corba.se.spi.logging.LogWrapperBase;
import org.omg.CORBA.BAD_OPERATION ;
import org.omg.CORBA.BAD_PARAM ;
import org.omg.CORBA.DATA_CONVERSION ;
import org.omg.CORBA.MARSHAL ;
import org.omg.CORBA.INV_OBJREF ;
import org.omg.CORBA.INTERNAL ;
import org.omg.CORBA.UNKNOWN ;
public class UtilSystemException extends LogWrapperBase {
public UtilSystemException( Logger logger )
{
super( logger ) ;
}
private static LogWrapperFactory factory = new LogWrapperFactory() {
public LogWrapperBase create( Logger logger )
{
return new UtilSystemException( logger ) ;
}
} ;
public static UtilSystemException get( ORB orb, String logDomain )
{
UtilSystemException wrapper =
(UtilSystemException) orb.getLogWrapper( logDomain,
"UTIL", factory ) ;
return wrapper ;
}
public static UtilSystemException get( String logDomain )
{
UtilSystemException wrapper =
(UtilSystemException) ORB.staticGetLogWrapper( logDomain,
"UTIL", factory ) ;
return wrapper ;
}
///////////////////////////////////////////////////////////
// BAD_OPERATION
///////////////////////////////////////////////////////////
public static final int STUB_FACTORY_COULD_NOT_MAKE_STUB = SUNVMCID.value + 1401 ;
public BAD_OPERATION stubFactoryCouldNotMakeStub( CompletionStatus cs, Throwable t ) {
BAD_OPERATION exc = new BAD_OPERATION( STUB_FACTORY_COULD_NOT_MAKE_STUB, cs ) ;
if (t != null)
exc.initCause( t ) ;
if (logger.isLoggable( Level.FINE )) {
Object[] parameters = null ;
doLog( Level.FINE, "UTIL.stubFactoryCouldNotMakeStub",
parameters, UtilSystemException.class, exc ) ;
}
return exc ;
}
public BAD_OPERATION stubFactoryCouldNotMakeStub( CompletionStatus cs ) {
return stubFactoryCouldNotMakeStub( cs, null ) ;
}
public BAD_OPERATION stubFactoryCouldNotMakeStub( Throwable t ) {
return stubFactoryCouldNotMakeStub( CompletionStatus.COMPLETED_NO, t ) ;
}
public BAD_OPERATION stubFactoryCouldNotMakeStub( ) {
return stubFactoryCouldNotMakeStub( CompletionStatus.COMPLETED_NO, null ) ;
}
public static final int ERROR_IN_MAKE_STUB_FROM_REPOSITORY_ID = SUNVMCID.value + 1402 ;
public BAD_OPERATION errorInMakeStubFromRepositoryId( CompletionStatus cs, Throwable t ) {
BAD_OPERATION exc = new BAD_OPERATION( ERROR_IN_MAKE_STUB_FROM_REPOSITORY_ID, cs ) ;
if (t != null)
exc.initCause( t ) ;
if (logger.isLoggable( Level.FINE )) {
Object[] parameters = null ;
doLog( Level.FINE, "UTIL.errorInMakeStubFromRepositoryId",
parameters, UtilSystemException.class, exc ) ;
}
return exc ;
}
public BAD_OPERATION errorInMakeStubFromRepositoryId( CompletionStatus cs ) {
return errorInMakeStubFromRepositoryId( cs, null ) ;
}
public BAD_OPERATION errorInMakeStubFromRepositoryId( Throwable t ) {
return errorInMakeStubFromRepositoryId( CompletionStatus.COMPLETED_NO, t ) ;
}
public BAD_OPERATION errorInMakeStubFromRepositoryId( ) {
return errorInMakeStubFromRepositoryId( CompletionStatus.COMPLETED_NO, null ) ;
}
public static final int CLASS_CAST_EXCEPTION_IN_LOAD_STUB = SUNVMCID.value + 1403 ;
public BAD_OPERATION classCastExceptionInLoadStub( CompletionStatus cs, Throwable t ) {
BAD_OPERATION exc = new BAD_OPERATION( CLASS_CAST_EXCEPTION_IN_LOAD_STUB, cs ) ;
if (t != null)
exc.initCause( t ) ;
if (logger.isLoggable( Level.FINE )) {
Object[] parameters = null ;
doLog( Level.FINE, "UTIL.classCastExceptionInLoadStub",
parameters, UtilSystemException.class, exc ) ;
}
return exc ;
}
public BAD_OPERATION classCastExceptionInLoadStub( CompletionStatus cs ) {
return classCastExceptionInLoadStub( cs, null ) ;
}
public BAD_OPERATION classCastExceptionInLoadStub( Throwable t ) {
return classCastExceptionInLoadStub( CompletionStatus.COMPLETED_NO, t ) ;
}
public BAD_OPERATION classCastExceptionInLoadStub( ) {
return classCastExceptionInLoadStub( CompletionStatus.COMPLETED_NO, null ) ;
}
public static final int EXCEPTION_IN_LOAD_STUB = SUNVMCID.value + 1404 ;
public BAD_OPERATION exceptionInLoadStub( CompletionStatus cs, Throwable t ) {
BAD_OPERATION exc = new BAD_OPERATION( EXCEPTION_IN_LOAD_STUB, cs ) ;
if (t != null)
exc.initCause( t ) ;
if (logger.isLoggable( Level.FINE )) {
Object[] parameters = null ;
doLog( Level.FINE, "UTIL.exceptionInLoadStub",
parameters, UtilSystemException.class, exc ) ;
}
return exc ;
}
public BAD_OPERATION exceptionInLoadStub( CompletionStatus cs ) {
return exceptionInLoadStub( cs, null ) ;
}
public BAD_OPERATION exceptionInLoadStub( Throwable t ) {
return exceptionInLoadStub( CompletionStatus.COMPLETED_NO, t ) ;
}
public BAD_OPERATION exceptionInLoadStub( ) {
return exceptionInLoadStub( CompletionStatus.COMPLETED_NO, null ) ;
}
///////////////////////////////////////////////////////////
// BAD_PARAM
///////////////////////////////////////////////////////////
public static final int NO_POA = SUNVMCID.value + 1402 ;
public BAD_PARAM noPoa( CompletionStatus cs, Throwable t ) {
BAD_PARAM exc = new BAD_PARAM( NO_POA, cs ) ;
if (t != null)
exc.initCause( t ) ;
if (logger.isLoggable( Level.WARNING )) {
Object[] parameters = null ;
doLog( Level.WARNING, "UTIL.noPoa",
parameters, UtilSystemException.class, exc ) ;
}
return exc ;
}
public BAD_PARAM noPoa( CompletionStatus cs ) {
return noPoa( cs, null ) ;
}
public BAD_PARAM noPoa( Throwable t ) {
return noPoa( CompletionStatus.COMPLETED_NO, t ) ;
}
public BAD_PARAM noPoa( ) {
return noPoa( CompletionStatus.COMPLETED_NO, null ) ;
}
public static final int CONNECT_WRONG_ORB = SUNVMCID.value + 1403 ;
public BAD_PARAM connectWrongOrb( CompletionStatus cs, Throwable t ) {
BAD_PARAM exc = new BAD_PARAM( CONNECT_WRONG_ORB, cs ) ;
if (t != null)
exc.initCause( t ) ;
if (logger.isLoggable( Level.FINE )) {
Object[] parameters = null ;
doLog( Level.FINE, "UTIL.connectWrongOrb",
parameters, UtilSystemException.class, exc ) ;
}
return exc ;
}
public BAD_PARAM connectWrongOrb( CompletionStatus cs ) {
return connectWrongOrb( cs, null ) ;
}
public BAD_PARAM connectWrongOrb( Throwable t ) {
return connectWrongOrb( CompletionStatus.COMPLETED_NO, t ) ;
}
public BAD_PARAM connectWrongOrb( ) {
return connectWrongOrb( CompletionStatus.COMPLETED_NO, null ) ;
}
public static final int CONNECT_NO_TIE = SUNVMCID.value + 1404 ;
public BAD_PARAM connectNoTie( CompletionStatus cs, Throwable t ) {
BAD_PARAM exc = new BAD_PARAM( CONNECT_NO_TIE, cs ) ;
if (t != null)
exc.initCause( t ) ;
if (logger.isLoggable( Level.WARNING )) {
Object[] parameters = null ;
doLog( Level.WARNING, "UTIL.connectNoTie",
parameters, UtilSystemException.class, exc ) ;
}
return exc ;
}
public BAD_PARAM connectNoTie( CompletionStatus cs ) {
return connectNoTie( cs, null ) ;
}
public BAD_PARAM connectNoTie( Throwable t ) {
return connectNoTie( CompletionStatus.COMPLETED_NO, t ) ;
}
public BAD_PARAM connectNoTie( ) {
return connectNoTie( CompletionStatus.COMPLETED_NO, null ) ;
}
public static final int CONNECT_TIE_WRONG_ORB = SUNVMCID.value + 1405 ;
public BAD_PARAM connectTieWrongOrb( CompletionStatus cs, Throwable t ) {
BAD_PARAM exc = new BAD_PARAM( CONNECT_TIE_WRONG_ORB, cs ) ;
if (t != null)
exc.initCause( t ) ;
if (logger.isLoggable( Level.WARNING )) {
Object[] parameters = null ;
doLog( Level.WARNING, "UTIL.connectTieWrongOrb",
parameters, UtilSystemException.class, exc ) ;
}
return exc ;
}
public BAD_PARAM connectTieWrongOrb( CompletionStatus cs ) {
return connectTieWrongOrb( cs, null ) ;
}
public BAD_PARAM connectTieWrongOrb( Throwable t ) {
return connectTieWrongOrb( CompletionStatus.COMPLETED_NO, t ) ;
}
public BAD_PARAM connectTieWrongOrb( ) {
return connectTieWrongOrb( CompletionStatus.COMPLETED_NO, null ) ;
}
public static final int CONNECT_TIE_NO_SERVANT = SUNVMCID.value + 1406 ;
public BAD_PARAM connectTieNoServant( CompletionStatus cs, Throwable t ) {
BAD_PARAM exc = new BAD_PARAM( CONNECT_TIE_NO_SERVANT, cs ) ;
if (t != null)
exc.initCause( t ) ;
if (logger.isLoggable( Level.WARNING )) {
Object[] parameters = null ;
doLog( Level.WARNING, "UTIL.connectTieNoServant",
parameters, UtilSystemException.class, exc ) ;
}
return exc ;
}
public BAD_PARAM connectTieNoServant( CompletionStatus cs ) {
return connectTieNoServant( cs, null ) ;
}
public BAD_PARAM connectTieNoServant( Throwable t ) {
return connectTieNoServant( CompletionStatus.COMPLETED_NO, t ) ;
}
public BAD_PARAM connectTieNoServant( ) {
return connectTieNoServant( CompletionStatus.COMPLETED_NO, null ) ;
}
public static final int LOAD_TIE_FAILED = SUNVMCID.value + 1407 ;
public BAD_PARAM loadTieFailed( CompletionStatus cs, Throwable t, Object arg0) {
BAD_PARAM exc = new BAD_PARAM( LOAD_TIE_FAILED, cs ) ;
if (t != null)
exc.initCause( t ) ;
if (logger.isLoggable( Level.FINE )) {
Object[] parameters = new Object[1] ;
parameters[0] = arg0 ;
doLog( Level.FINE, "UTIL.loadTieFailed",
parameters, UtilSystemException.class, exc ) ;
}
return exc ;
}
public BAD_PARAM loadTieFailed( CompletionStatus cs, Object arg0) {
return loadTieFailed( cs, null, arg0 ) ;
}
public BAD_PARAM loadTieFailed( Throwable t, Object arg0) {
return loadTieFailed( CompletionStatus.COMPLETED_NO, t, arg0 ) ;
}
public BAD_PARAM loadTieFailed( Object arg0) {
return loadTieFailed( CompletionStatus.COMPLETED_NO, null, arg0 ) ;
}
///////////////////////////////////////////////////////////
// DATA_CONVERSION
///////////////////////////////////////////////////////////
public static final int BAD_HEX_DIGIT = SUNVMCID.value + 1401 ;
public DATA_CONVERSION badHexDigit( CompletionStatus cs, Throwable t ) {
DATA_CONVERSION exc = new DATA_CONVERSION( BAD_HEX_DIGIT, cs ) ;
if (t != null)
exc.initCause( t ) ;
if (logger.isLoggable( Level.WARNING )) {
Object[] parameters = null ;
doLog( Level.WARNING, "UTIL.badHexDigit",
parameters, UtilSystemException.class, exc ) ;
}
return exc ;
}
public DATA_CONVERSION badHexDigit( CompletionStatus cs ) {
return badHexDigit( cs, null ) ;
}
public DATA_CONVERSION badHexDigit( Throwable t ) {
return badHexDigit( CompletionStatus.COMPLETED_NO, t ) ;
}
public DATA_CONVERSION badHexDigit( ) {
return badHexDigit( CompletionStatus.COMPLETED_NO, null ) ;
}
///////////////////////////////////////////////////////////
// MARSHAL
///////////////////////////////////////////////////////////
public static final int UNABLE_LOCATE_VALUE_HELPER = SUNVMCID.value + 1402 ;
public MARSHAL unableLocateValueHelper( CompletionStatus cs, Throwable t ) {
MARSHAL exc = new MARSHAL( UNABLE_LOCATE_VALUE_HELPER, cs ) ;
if (t != null)
exc.initCause( t ) ;
if (logger.isLoggable( Level.WARNING )) {
Object[] parameters = null ;
doLog( Level.WARNING, "UTIL.unableLocateValueHelper",
parameters, UtilSystemException.class, exc ) ;
}
return exc ;
}
public MARSHAL unableLocateValueHelper( CompletionStatus cs ) {
return unableLocateValueHelper( cs, null ) ;
}
public MARSHAL unableLocateValueHelper( Throwable t ) {
return unableLocateValueHelper( CompletionStatus.COMPLETED_NO, t ) ;
}
public MARSHAL unableLocateValueHelper( ) {
return unableLocateValueHelper( CompletionStatus.COMPLETED_NO, null ) ;
}
public static final int INVALID_INDIRECTION = SUNVMCID.value + 1403 ;
public MARSHAL invalidIndirection( CompletionStatus cs, Throwable t, Object arg0) {
MARSHAL exc = new MARSHAL( INVALID_INDIRECTION, cs ) ;
if (t != null)
exc.initCause( t ) ;
if (logger.isLoggable( Level.WARNING )) {
Object[] parameters = new Object[1] ;
parameters[0] = arg0 ;
doLog( Level.WARNING, "UTIL.invalidIndirection",
parameters, UtilSystemException.class, exc ) ;
}
return exc ;
}
public MARSHAL invalidIndirection( CompletionStatus cs, Object arg0) {
return invalidIndirection( cs, null, arg0 ) ;
}
public MARSHAL invalidIndirection( Throwable t, Object arg0) {
return invalidIndirection( CompletionStatus.COMPLETED_NO, t, arg0 ) ;
}
public MARSHAL invalidIndirection( Object arg0) {
return invalidIndirection( CompletionStatus.COMPLETED_NO, null, arg0 ) ;
}
///////////////////////////////////////////////////////////
// INV_OBJREF
///////////////////////////////////////////////////////////
public static final int OBJECT_NOT_CONNECTED = SUNVMCID.value + 1401 ;
public INV_OBJREF objectNotConnected( CompletionStatus cs, Throwable t, Object arg0) {
INV_OBJREF exc = new INV_OBJREF( OBJECT_NOT_CONNECTED, cs ) ;
if (t != null)
exc.initCause( t ) ;
if (logger.isLoggable( Level.WARNING )) {
Object[] parameters = new Object[1] ;
parameters[0] = arg0 ;
doLog( Level.WARNING, "UTIL.objectNotConnected",
parameters, UtilSystemException.class, exc ) ;
}
return exc ;
}
public INV_OBJREF objectNotConnected( CompletionStatus cs, Object arg0) {
return objectNotConnected( cs, null, arg0 ) ;
}
public INV_OBJREF objectNotConnected( Throwable t, Object arg0) {
return objectNotConnected( CompletionStatus.COMPLETED_NO, t, arg0 ) ;
}
public INV_OBJREF objectNotConnected( Object arg0) {
return objectNotConnected( CompletionStatus.COMPLETED_NO, null, arg0 ) ;
}
public static final int COULD_NOT_LOAD_STUB = SUNVMCID.value + 1402 ;
public INV_OBJREF couldNotLoadStub( CompletionStatus cs, Throwable t, Object arg0) {
INV_OBJREF exc = new INV_OBJREF( COULD_NOT_LOAD_STUB, cs ) ;
if (t != null)
exc.initCause( t ) ;
if (logger.isLoggable( Level.WARNING )) {
Object[] parameters = new Object[1] ;
parameters[0] = arg0 ;
doLog( Level.WARNING, "UTIL.couldNotLoadStub",
parameters, UtilSystemException.class, exc ) ;
}
return exc ;
}
public INV_OBJREF couldNotLoadStub( CompletionStatus cs, Object arg0) {
return couldNotLoadStub( cs, null, arg0 ) ;
}
public INV_OBJREF couldNotLoadStub( Throwable t, Object arg0) {
return couldNotLoadStub( CompletionStatus.COMPLETED_NO, t, arg0 ) ;
}
public INV_OBJREF couldNotLoadStub( Object arg0) {
return couldNotLoadStub( CompletionStatus.COMPLETED_NO, null, arg0 ) ;
}
public static final int OBJECT_NOT_EXPORTED = SUNVMCID.value + 1403 ;
public INV_OBJREF objectNotExported( CompletionStatus cs, Throwable t, Object arg0) {
INV_OBJREF exc = new INV_OBJREF( OBJECT_NOT_EXPORTED, cs ) ;
if (t != null)
exc.initCause( t ) ;
if (logger.isLoggable( Level.WARNING )) {
Object[] parameters = new Object[1] ;
parameters[0] = arg0 ;
doLog( Level.WARNING, "UTIL.objectNotExported",
parameters, UtilSystemException.class, exc ) ;
}
return exc ;
}
public INV_OBJREF objectNotExported( CompletionStatus cs, Object arg0) {
return objectNotExported( cs, null, arg0 ) ;
}
public INV_OBJREF objectNotExported( Throwable t, Object arg0) {
return objectNotExported( CompletionStatus.COMPLETED_NO, t, arg0 ) ;
}
public INV_OBJREF objectNotExported( Object arg0) {
return objectNotExported( CompletionStatus.COMPLETED_NO, null, arg0 ) ;
}
///////////////////////////////////////////////////////////
// INTERNAL
///////////////////////////////////////////////////////////
public static final int ERROR_SET_OBJECT_FIELD = SUNVMCID.value + 1401 ;
public INTERNAL errorSetObjectField( CompletionStatus cs, Throwable t, Object arg0, Object arg1, Object arg2) {
INTERNAL exc = new INTERNAL( ERROR_SET_OBJECT_FIELD, cs ) ;
if (t != null)
exc.initCause( t ) ;
if (logger.isLoggable( Level.WARNING )) {
Object[] parameters = new Object[3] ;
parameters[0] = arg0 ;
parameters[1] = arg1 ;
parameters[2] = arg2 ;
doLog( Level.WARNING, "UTIL.errorSetObjectField",
parameters, UtilSystemException.class, exc ) ;
}
return exc ;
}
public INTERNAL errorSetObjectField( CompletionStatus cs, Object arg0, Object arg1, Object arg2) {
return errorSetObjectField( cs, null, arg0, arg1, arg2 ) ;
}
public INTERNAL errorSetObjectField( Throwable t, Object arg0, Object arg1, Object arg2) {
return errorSetObjectField( CompletionStatus.COMPLETED_NO, t, arg0, arg1, arg2 ) ;
}
public INTERNAL errorSetObjectField( Object arg0, Object arg1, Object arg2) {
return errorSetObjectField( CompletionStatus.COMPLETED_NO, null, arg0, arg1, arg2 ) ;
}
public static final int ERROR_SET_BOOLEAN_FIELD = SUNVMCID.value + 1402 ;
public INTERNAL errorSetBooleanField( CompletionStatus cs, Throwable t, Object arg0, Object arg1, Object arg2) {
INTERNAL exc = new INTERNAL( ERROR_SET_BOOLEAN_FIELD, cs ) ;
if (t != null)
exc.initCause( t ) ;
if (logger.isLoggable( Level.WARNING )) {
Object[] parameters = new Object[3] ;
parameters[0] = arg0 ;
parameters[1] = arg1 ;
parameters[2] = arg2 ;
doLog( Level.WARNING, "UTIL.errorSetBooleanField",
parameters, UtilSystemException.class, exc ) ;
}
return exc ;
}
public INTERNAL errorSetBooleanField( CompletionStatus cs, Object arg0, Object arg1, Object arg2) {
return errorSetBooleanField( cs, null, arg0, arg1, arg2 ) ;
}
public INTERNAL errorSetBooleanField( Throwable t, Object arg0, Object arg1, Object arg2) {
return errorSetBooleanField( CompletionStatus.COMPLETED_NO, t, arg0, arg1, arg2 ) ;
}
public INTERNAL errorSetBooleanField( Object arg0, Object arg1, Object arg2) {
return errorSetBooleanField( CompletionStatus.COMPLETED_NO, null, arg0, arg1, arg2 ) ;
}
public static final int ERROR_SET_BYTE_FIELD = SUNVMCID.value + 1403 ;
public INTERNAL errorSetByteField( CompletionStatus cs, Throwable t, Object arg0, Object arg1, Object arg2) {
INTERNAL exc = new INTERNAL( ERROR_SET_BYTE_FIELD, cs ) ;
if (t != null)
exc.initCause( t ) ;
if (logger.isLoggable( Level.WARNING )) {
Object[] parameters = new Object[3] ;
parameters[0] = arg0 ;
parameters[1] = arg1 ;
parameters[2] = arg2 ;
doLog( Level.WARNING, "UTIL.errorSetByteField",
parameters, UtilSystemException.class, exc ) ;
}
return exc ;
}
public INTERNAL errorSetByteField( CompletionStatus cs, Object arg0, Object arg1, Object arg2) {
return errorSetByteField( cs, null, arg0, arg1, arg2 ) ;
}
public INTERNAL errorSetByteField( Throwable t, Object arg0, Object arg1, Object arg2) {
return errorSetByteField( CompletionStatus.COMPLETED_NO, t, arg0, arg1, arg2 ) ;
}
public INTERNAL errorSetByteField( Object arg0, Object arg1, Object arg2) {
return errorSetByteField( CompletionStatus.COMPLETED_NO, null, arg0, arg1, arg2 ) ;
}
public static final int ERROR_SET_CHAR_FIELD = SUNVMCID.value + 1404 ;
public INTERNAL errorSetCharField( CompletionStatus cs, Throwable t, Object arg0, Object arg1, Object arg2) {
INTERNAL exc = new INTERNAL( ERROR_SET_CHAR_FIELD, cs ) ;
if (t != null)
exc.initCause( t ) ;
if (logger.isLoggable( Level.WARNING )) {
Object[] parameters = new Object[3] ;
parameters[0] = arg0 ;
parameters[1] = arg1 ;
parameters[2] = arg2 ;
doLog( Level.WARNING, "UTIL.errorSetCharField",
parameters, UtilSystemException.class, exc ) ;
}
return exc ;
}
public INTERNAL errorSetCharField( CompletionStatus cs, Object arg0, Object arg1, Object arg2) {
return errorSetCharField( cs, null, arg0, arg1, arg2 ) ;
}
public INTERNAL errorSetCharField( Throwable t, Object arg0, Object arg1, Object arg2) {
return errorSetCharField( CompletionStatus.COMPLETED_NO, t, arg0, arg1, arg2 ) ;
}
public INTERNAL errorSetCharField( Object arg0, Object arg1, Object arg2) {
return errorSetCharField( CompletionStatus.COMPLETED_NO, null, arg0, arg1, arg2 ) ;
}
public static final int ERROR_SET_SHORT_FIELD = SUNVMCID.value + 1405 ;
public INTERNAL errorSetShortField( CompletionStatus cs, Throwable t, Object arg0, Object arg1, Object arg2) {
INTERNAL exc = new INTERNAL( ERROR_SET_SHORT_FIELD, cs ) ;
if (t != null)
exc.initCause( t ) ;
if (logger.isLoggable( Level.WARNING )) {
Object[] parameters = new Object[3] ;
parameters[0] = arg0 ;
parameters[1] = arg1 ;
parameters[2] = arg2 ;
doLog( Level.WARNING, "UTIL.errorSetShortField",
parameters, UtilSystemException.class, exc ) ;
}
return exc ;
}
public INTERNAL errorSetShortField( CompletionStatus cs, Object arg0, Object arg1, Object arg2) {
return errorSetShortField( cs, null, arg0, arg1, arg2 ) ;
}
public INTERNAL errorSetShortField( Throwable t, Object arg0, Object arg1, Object arg2) {
return errorSetShortField( CompletionStatus.COMPLETED_NO, t, arg0, arg1, arg2 ) ;
}
public INTERNAL errorSetShortField( Object arg0, Object arg1, Object arg2) {
return errorSetShortField( CompletionStatus.COMPLETED_NO, null, arg0, arg1, arg2 ) ;
}
public static final int ERROR_SET_INT_FIELD = SUNVMCID.value + 1406 ;
public INTERNAL errorSetIntField( CompletionStatus cs, Throwable t, Object arg0, Object arg1, Object arg2) {
INTERNAL exc = new INTERNAL( ERROR_SET_INT_FIELD, cs ) ;
if (t != null)
exc.initCause( t ) ;
if (logger.isLoggable( Level.WARNING )) {
Object[] parameters = new Object[3] ;
parameters[0] = arg0 ;
parameters[1] = arg1 ;
parameters[2] = arg2 ;
doLog( Level.WARNING, "UTIL.errorSetIntField",
parameters, UtilSystemException.class, exc ) ;
}
return exc ;
}
public INTERNAL errorSetIntField( CompletionStatus cs, Object arg0, Object arg1, Object arg2) {
return errorSetIntField( cs, null, arg0, arg1, arg2 ) ;
}
public INTERNAL errorSetIntField( Throwable t, Object arg0, Object arg1, Object arg2) {
return errorSetIntField( CompletionStatus.COMPLETED_NO, t, arg0, arg1, arg2 ) ;
}
public INTERNAL errorSetIntField( Object arg0, Object arg1, Object arg2) {
return errorSetIntField( CompletionStatus.COMPLETED_NO, null, arg0, arg1, arg2 ) ;
}
public static final int ERROR_SET_LONG_FIELD = SUNVMCID.value + 1407 ;
public INTERNAL errorSetLongField( CompletionStatus cs, Throwable t, Object arg0, Object arg1, Object arg2) {
INTERNAL exc = new INTERNAL( ERROR_SET_LONG_FIELD, cs ) ;
if (t != null)
exc.initCause( t ) ;
if (logger.isLoggable( Level.WARNING )) {
Object[] parameters = new Object[3] ;
parameters[0] = arg0 ;
parameters[1] = arg1 ;
parameters[2] = arg2 ;
doLog( Level.WARNING, "UTIL.errorSetLongField",
parameters, UtilSystemException.class, exc ) ;
}
return exc ;
}
public INTERNAL errorSetLongField( CompletionStatus cs, Object arg0, Object arg1, Object arg2) {
return errorSetLongField( cs, null, arg0, arg1, arg2 ) ;
}
public INTERNAL errorSetLongField( Throwable t, Object arg0, Object arg1, Object arg2) {
return errorSetLongField( CompletionStatus.COMPLETED_NO, t, arg0, arg1, arg2 ) ;
}
public INTERNAL errorSetLongField( Object arg0, Object arg1, Object arg2) {
return errorSetLongField( CompletionStatus.COMPLETED_NO, null, arg0, arg1, arg2 ) ;
}
public static final int ERROR_SET_FLOAT_FIELD = SUNVMCID.value + 1408 ;
public INTERNAL errorSetFloatField( CompletionStatus cs, Throwable t, Object arg0, Object arg1, Object arg2) {
INTERNAL exc = new INTERNAL( ERROR_SET_FLOAT_FIELD, cs ) ;
if (t != null)
exc.initCause( t ) ;
if (logger.isLoggable( Level.WARNING )) {
Object[] parameters = new Object[3] ;
parameters[0] = arg0 ;
parameters[1] = arg1 ;
parameters[2] = arg2 ;
doLog( Level.WARNING, "UTIL.errorSetFloatField",
parameters, UtilSystemException.class, exc ) ;
}
return exc ;
}
public INTERNAL errorSetFloatField( CompletionStatus cs, Object arg0, Object arg1, Object arg2) {
return errorSetFloatField( cs, null, arg0, arg1, arg2 ) ;
}
public INTERNAL errorSetFloatField( Throwable t, Object arg0, Object arg1, Object arg2) {
return errorSetFloatField( CompletionStatus.COMPLETED_NO, t, arg0, arg1, arg2 ) ;
}
public INTERNAL errorSetFloatField( Object arg0, Object arg1, Object arg2) {
return errorSetFloatField( CompletionStatus.COMPLETED_NO, null, arg0, arg1, arg2 ) ;
}
public static final int ERROR_SET_DOUBLE_FIELD = SUNVMCID.value + 1409 ;
public INTERNAL errorSetDoubleField( CompletionStatus cs, Throwable t, Object arg0, Object arg1, Object arg2) {
INTERNAL exc = new INTERNAL( ERROR_SET_DOUBLE_FIELD, cs ) ;
if (t != null)
exc.initCause( t ) ;
if (logger.isLoggable( Level.WARNING )) {
Object[] parameters = new Object[3] ;
parameters[0] = arg0 ;
parameters[1] = arg1 ;
parameters[2] = arg2 ;
doLog( Level.WARNING, "UTIL.errorSetDoubleField",
parameters, UtilSystemException.class, exc ) ;
}
return exc ;
}
public INTERNAL errorSetDoubleField( CompletionStatus cs, Object arg0, Object arg1, Object arg2) {
return errorSetDoubleField( cs, null, arg0, arg1, arg2 ) ;
}
public INTERNAL errorSetDoubleField( Throwable t, Object arg0, Object arg1, Object arg2) {
return errorSetDoubleField( CompletionStatus.COMPLETED_NO, t, arg0, arg1, arg2 ) ;
}
public INTERNAL errorSetDoubleField( Object arg0, Object arg1, Object arg2) {
return errorSetDoubleField( CompletionStatus.COMPLETED_NO, null, arg0, arg1, arg2 ) ;
}
public static final int ILLEGAL_FIELD_ACCESS = SUNVMCID.value + 1410 ;
public INTERNAL illegalFieldAccess( CompletionStatus cs, Throwable t, Object arg0) {
INTERNAL exc = new INTERNAL( ILLEGAL_FIELD_ACCESS, cs ) ;
if (t != null)
exc.initCause( t ) ;
if (logger.isLoggable( Level.WARNING )) {
Object[] parameters = new Object[1] ;
parameters[0] = arg0 ;
doLog( Level.WARNING, "UTIL.illegalFieldAccess",
parameters, UtilSystemException.class, exc ) ;
}
return exc ;
}
public INTERNAL illegalFieldAccess( CompletionStatus cs, Object arg0) {
return illegalFieldAccess( cs, null, arg0 ) ;
}
public INTERNAL illegalFieldAccess( Throwable t, Object arg0) {
return illegalFieldAccess( CompletionStatus.COMPLETED_NO, t, arg0 ) ;
}
public INTERNAL illegalFieldAccess( Object arg0) {
return illegalFieldAccess( CompletionStatus.COMPLETED_NO, null, arg0 ) ;
}
public static final int BAD_BEGIN_UNMARSHAL_CUSTOM_VALUE = SUNVMCID.value + 1411 ;
public INTERNAL badBeginUnmarshalCustomValue( CompletionStatus cs, Throwable t ) {
INTERNAL exc = new INTERNAL( BAD_BEGIN_UNMARSHAL_CUSTOM_VALUE, cs ) ;
if (t != null)
exc.initCause( t ) ;
if (logger.isLoggable( Level.WARNING )) {
Object[] parameters = null ;
doLog( Level.WARNING, "UTIL.badBeginUnmarshalCustomValue",
parameters, UtilSystemException.class, exc ) ;
}
return exc ;
}
public INTERNAL badBeginUnmarshalCustomValue( CompletionStatus cs ) {
return badBeginUnmarshalCustomValue( cs, null ) ;
}
public INTERNAL badBeginUnmarshalCustomValue( Throwable t ) {
return badBeginUnmarshalCustomValue( CompletionStatus.COMPLETED_NO, t ) ;
}
public INTERNAL badBeginUnmarshalCustomValue( ) {
return badBeginUnmarshalCustomValue( CompletionStatus.COMPLETED_NO, null ) ;
}
public static final int CLASS_NOT_FOUND = SUNVMCID.value + 1412 ;
public INTERNAL classNotFound( CompletionStatus cs, Throwable t, Object arg0) {
INTERNAL exc = new INTERNAL( CLASS_NOT_FOUND, cs ) ;
if (t != null)
exc.initCause( t ) ;
if (logger.isLoggable( Level.WARNING )) {
Object[] parameters = new Object[1] ;
parameters[0] = arg0 ;
doLog( Level.WARNING, "UTIL.classNotFound",
parameters, UtilSystemException.class, exc ) ;
}
return exc ;
}
public INTERNAL classNotFound( CompletionStatus cs, Object arg0) {
return classNotFound( cs, null, arg0 ) ;
}
public INTERNAL classNotFound( Throwable t, Object arg0) {
return classNotFound( CompletionStatus.COMPLETED_NO, t, arg0 ) ;
}
public INTERNAL classNotFound( Object arg0) {
return classNotFound( CompletionStatus.COMPLETED_NO, null, arg0 ) ;
}
///////////////////////////////////////////////////////////
// UNKNOWN
///////////////////////////////////////////////////////////
public static final int UNKNOWN_SYSEX = SUNVMCID.value + 1401 ;
public UNKNOWN unknownSysex( CompletionStatus cs, Throwable t ) {
UNKNOWN exc = new UNKNOWN( UNKNOWN_SYSEX, cs ) ;
if (t != null)
exc.initCause( t ) ;
if (logger.isLoggable( Level.WARNING )) {
Object[] parameters = null ;
doLog( Level.WARNING, "UTIL.unknownSysex",
parameters, UtilSystemException.class, exc ) ;
}
return exc ;
}
public UNKNOWN unknownSysex( CompletionStatus cs ) {
return unknownSysex( cs, null ) ;
}
public UNKNOWN unknownSysex( Throwable t ) {
return unknownSysex( CompletionStatus.COMPLETED_NO, t ) ;
}
public UNKNOWN unknownSysex( ) {
return unknownSysex( CompletionStatus.COMPLETED_NO, null ) ;
}
}
|