File: NamingSystemException.java

package info (click to toggle)
openjdk-7 7u3-2.1.7-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 86,496 kB
  • sloc: java: 170,904; cpp: 6,334; sh: 4,232; makefile: 3,798; ansic: 1,334; python: 310; asm: 83; perl: 65
file content (718 lines) | stat: -rw-r--r-- 25,081 bytes parent folder | download | duplicates (9)
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
// Log wrapper class for Sun private system exceptions in group NAMING
//
// 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/Naming.mc on Fri Dec 05 17:29:35 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_PARAM ;
import org.omg.CORBA.UNKNOWN ;
import org.omg.CORBA.INITIALIZE ;
import org.omg.CORBA.INTERNAL ;

public class NamingSystemException extends LogWrapperBase {
    
    public NamingSystemException( Logger logger )
    {
        super( logger ) ;
    }
    
    private static LogWrapperFactory factory = new LogWrapperFactory() {
        public LogWrapperBase create( Logger logger )
        {
            return new NamingSystemException( logger ) ;
        }
    } ;
    
    public static NamingSystemException get( ORB orb, String logDomain )
    {
        NamingSystemException wrapper = 
            (NamingSystemException) orb.getLogWrapper( logDomain, 
                "NAMING", factory ) ;
        return wrapper ;
    } 
    
    public static NamingSystemException get( String logDomain )
    {
        NamingSystemException wrapper = 
            (NamingSystemException) ORB.staticGetLogWrapper( logDomain, 
                "NAMING", factory ) ;
        return wrapper ;
    } 
    
    ///////////////////////////////////////////////////////////
    // BAD_PARAM
    ///////////////////////////////////////////////////////////
    
    public static final int TRANSIENT_NAME_SERVER_BAD_PORT = SUNVMCID.value + 600 ;
    
    public BAD_PARAM transientNameServerBadPort( CompletionStatus cs, Throwable t ) {
        BAD_PARAM exc = new BAD_PARAM( TRANSIENT_NAME_SERVER_BAD_PORT, cs ) ;
        if (t != null)
            exc.initCause( t ) ;
        
        if (logger.isLoggable( Level.WARNING )) {
            Object[] parameters = null ;
            doLog( Level.WARNING, "NAMING.transientNameServerBadPort",
                parameters, NamingSystemException.class, exc ) ;
        }
        
        return exc ;
    }
    
    public BAD_PARAM transientNameServerBadPort( CompletionStatus cs ) {
        return transientNameServerBadPort( cs, null  ) ;
    }
    
    public BAD_PARAM transientNameServerBadPort( Throwable t ) {
        return transientNameServerBadPort( CompletionStatus.COMPLETED_NO, t  ) ;
    }
    
    public BAD_PARAM transientNameServerBadPort(  ) {
        return transientNameServerBadPort( CompletionStatus.COMPLETED_NO, null  ) ;
    }
    
    public static final int TRANSIENT_NAME_SERVER_BAD_HOST = SUNVMCID.value + 601 ;
    
    public BAD_PARAM transientNameServerBadHost( CompletionStatus cs, Throwable t ) {
        BAD_PARAM exc = new BAD_PARAM( TRANSIENT_NAME_SERVER_BAD_HOST, cs ) ;
        if (t != null)
            exc.initCause( t ) ;
        
        if (logger.isLoggable( Level.WARNING )) {
            Object[] parameters = null ;
            doLog( Level.WARNING, "NAMING.transientNameServerBadHost",
                parameters, NamingSystemException.class, exc ) ;
        }
        
        return exc ;
    }
    
    public BAD_PARAM transientNameServerBadHost( CompletionStatus cs ) {
        return transientNameServerBadHost( cs, null  ) ;
    }
    
    public BAD_PARAM transientNameServerBadHost( Throwable t ) {
        return transientNameServerBadHost( CompletionStatus.COMPLETED_NO, t  ) ;
    }
    
    public BAD_PARAM transientNameServerBadHost(  ) {
        return transientNameServerBadHost( CompletionStatus.COMPLETED_NO, null  ) ;
    }
    
    public static final int OBJECT_IS_NULL = SUNVMCID.value + 602 ;
    
    public BAD_PARAM objectIsNull( CompletionStatus cs, Throwable t ) {
        BAD_PARAM exc = new BAD_PARAM( OBJECT_IS_NULL, cs ) ;
        if (t != null)
            exc.initCause( t ) ;
        
        if (logger.isLoggable( Level.WARNING )) {
            Object[] parameters = null ;
            doLog( Level.WARNING, "NAMING.objectIsNull",
                parameters, NamingSystemException.class, exc ) ;
        }
        
        return exc ;
    }
    
    public BAD_PARAM objectIsNull( CompletionStatus cs ) {
        return objectIsNull( cs, null  ) ;
    }
    
    public BAD_PARAM objectIsNull( Throwable t ) {
        return objectIsNull( CompletionStatus.COMPLETED_NO, t  ) ;
    }
    
    public BAD_PARAM objectIsNull(  ) {
        return objectIsNull( CompletionStatus.COMPLETED_NO, null  ) ;
    }
    
    public static final int INS_BAD_ADDRESS = SUNVMCID.value + 603 ;
    
    public BAD_PARAM insBadAddress( CompletionStatus cs, Throwable t ) {
        BAD_PARAM exc = new BAD_PARAM( INS_BAD_ADDRESS, cs ) ;
        if (t != null)
            exc.initCause( t ) ;
        
        if (logger.isLoggable( Level.WARNING )) {
            Object[] parameters = null ;
            doLog( Level.WARNING, "NAMING.insBadAddress",
                parameters, NamingSystemException.class, exc ) ;
        }
        
        return exc ;
    }
    
    public BAD_PARAM insBadAddress( CompletionStatus cs ) {
        return insBadAddress( cs, null  ) ;
    }
    
    public BAD_PARAM insBadAddress( Throwable t ) {
        return insBadAddress( CompletionStatus.COMPLETED_NO, t  ) ;
    }
    
    public BAD_PARAM insBadAddress(  ) {
        return insBadAddress( CompletionStatus.COMPLETED_NO, null  ) ;
    }
    
    ///////////////////////////////////////////////////////////
    // UNKNOWN
    ///////////////////////////////////////////////////////////
    
    public static final int BIND_UPDATE_CONTEXT_FAILED = SUNVMCID.value + 600 ;
    
    public UNKNOWN bindUpdateContextFailed( CompletionStatus cs, Throwable t ) {
        UNKNOWN exc = new UNKNOWN( BIND_UPDATE_CONTEXT_FAILED, cs ) ;
        if (t != null)
            exc.initCause( t ) ;
        
        if (logger.isLoggable( Level.WARNING )) {
            Object[] parameters = null ;
            doLog( Level.WARNING, "NAMING.bindUpdateContextFailed",
                parameters, NamingSystemException.class, exc ) ;
        }
        
        return exc ;
    }
    
    public UNKNOWN bindUpdateContextFailed( CompletionStatus cs ) {
        return bindUpdateContextFailed( cs, null  ) ;
    }
    
    public UNKNOWN bindUpdateContextFailed( Throwable t ) {
        return bindUpdateContextFailed( CompletionStatus.COMPLETED_NO, t  ) ;
    }
    
    public UNKNOWN bindUpdateContextFailed(  ) {
        return bindUpdateContextFailed( CompletionStatus.COMPLETED_NO, null  ) ;
    }
    
    public static final int BIND_FAILURE = SUNVMCID.value + 601 ;
    
    public UNKNOWN bindFailure( CompletionStatus cs, Throwable t ) {
        UNKNOWN exc = new UNKNOWN( BIND_FAILURE, cs ) ;
        if (t != null)
            exc.initCause( t ) ;
        
        if (logger.isLoggable( Level.WARNING )) {
            Object[] parameters = null ;
            doLog( Level.WARNING, "NAMING.bindFailure",
                parameters, NamingSystemException.class, exc ) ;
        }
        
        return exc ;
    }
    
    public UNKNOWN bindFailure( CompletionStatus cs ) {
        return bindFailure( cs, null  ) ;
    }
    
    public UNKNOWN bindFailure( Throwable t ) {
        return bindFailure( CompletionStatus.COMPLETED_NO, t  ) ;
    }
    
    public UNKNOWN bindFailure(  ) {
        return bindFailure( CompletionStatus.COMPLETED_NO, null  ) ;
    }
    
    public static final int RESOLVE_CONVERSION_FAILURE = SUNVMCID.value + 602 ;
    
    public UNKNOWN resolveConversionFailure( CompletionStatus cs, Throwable t ) {
        UNKNOWN exc = new UNKNOWN( RESOLVE_CONVERSION_FAILURE, cs ) ;
        if (t != null)
            exc.initCause( t ) ;
        
        if (logger.isLoggable( Level.WARNING )) {
            Object[] parameters = null ;
            doLog( Level.WARNING, "NAMING.resolveConversionFailure",
                parameters, NamingSystemException.class, exc ) ;
        }
        
        return exc ;
    }
    
    public UNKNOWN resolveConversionFailure( CompletionStatus cs ) {
        return resolveConversionFailure( cs, null  ) ;
    }
    
    public UNKNOWN resolveConversionFailure( Throwable t ) {
        return resolveConversionFailure( CompletionStatus.COMPLETED_NO, t  ) ;
    }
    
    public UNKNOWN resolveConversionFailure(  ) {
        return resolveConversionFailure( CompletionStatus.COMPLETED_NO, null  ) ;
    }
    
    public static final int RESOLVE_FAILURE = SUNVMCID.value + 603 ;
    
    public UNKNOWN resolveFailure( CompletionStatus cs, Throwable t ) {
        UNKNOWN exc = new UNKNOWN( RESOLVE_FAILURE, cs ) ;
        if (t != null)
            exc.initCause( t ) ;
        
        if (logger.isLoggable( Level.WARNING )) {
            Object[] parameters = null ;
            doLog( Level.WARNING, "NAMING.resolveFailure",
                parameters, NamingSystemException.class, exc ) ;
        }
        
        return exc ;
    }
    
    public UNKNOWN resolveFailure( CompletionStatus cs ) {
        return resolveFailure( cs, null  ) ;
    }
    
    public UNKNOWN resolveFailure( Throwable t ) {
        return resolveFailure( CompletionStatus.COMPLETED_NO, t  ) ;
    }
    
    public UNKNOWN resolveFailure(  ) {
        return resolveFailure( CompletionStatus.COMPLETED_NO, null  ) ;
    }
    
    public static final int UNBIND_FAILURE = SUNVMCID.value + 604 ;
    
    public UNKNOWN unbindFailure( CompletionStatus cs, Throwable t ) {
        UNKNOWN exc = new UNKNOWN( UNBIND_FAILURE, cs ) ;
        if (t != null)
            exc.initCause( t ) ;
        
        if (logger.isLoggable( Level.WARNING )) {
            Object[] parameters = null ;
            doLog( Level.WARNING, "NAMING.unbindFailure",
                parameters, NamingSystemException.class, exc ) ;
        }
        
        return exc ;
    }
    
    public UNKNOWN unbindFailure( CompletionStatus cs ) {
        return unbindFailure( cs, null  ) ;
    }
    
    public UNKNOWN unbindFailure( Throwable t ) {
        return unbindFailure( CompletionStatus.COMPLETED_NO, t  ) ;
    }
    
    public UNKNOWN unbindFailure(  ) {
        return unbindFailure( CompletionStatus.COMPLETED_NO, null  ) ;
    }
    
    ///////////////////////////////////////////////////////////
    // INITIALIZE
    ///////////////////////////////////////////////////////////
    
    public static final int TRANS_NS_CANNOT_CREATE_INITIAL_NC_SYS = SUNVMCID.value + 650 ;
    
    public INITIALIZE transNsCannotCreateInitialNcSys( CompletionStatus cs, Throwable t ) {
        INITIALIZE exc = new INITIALIZE( TRANS_NS_CANNOT_CREATE_INITIAL_NC_SYS, cs ) ;
        if (t != null)
            exc.initCause( t ) ;
        
        if (logger.isLoggable( Level.WARNING )) {
            Object[] parameters = null ;
            doLog( Level.WARNING, "NAMING.transNsCannotCreateInitialNcSys",
                parameters, NamingSystemException.class, exc ) ;
        }
        
        return exc ;
    }
    
    public INITIALIZE transNsCannotCreateInitialNcSys( CompletionStatus cs ) {
        return transNsCannotCreateInitialNcSys( cs, null  ) ;
    }
    
    public INITIALIZE transNsCannotCreateInitialNcSys( Throwable t ) {
        return transNsCannotCreateInitialNcSys( CompletionStatus.COMPLETED_NO, t  ) ;
    }
    
    public INITIALIZE transNsCannotCreateInitialNcSys(  ) {
        return transNsCannotCreateInitialNcSys( CompletionStatus.COMPLETED_NO, null  ) ;
    }
    
    public static final int TRANS_NS_CANNOT_CREATE_INITIAL_NC = SUNVMCID.value + 651 ;
    
    public INITIALIZE transNsCannotCreateInitialNc( CompletionStatus cs, Throwable t ) {
        INITIALIZE exc = new INITIALIZE( TRANS_NS_CANNOT_CREATE_INITIAL_NC, cs ) ;
        if (t != null)
            exc.initCause( t ) ;
        
        if (logger.isLoggable( Level.WARNING )) {
            Object[] parameters = null ;
            doLog( Level.WARNING, "NAMING.transNsCannotCreateInitialNc",
                parameters, NamingSystemException.class, exc ) ;
        }
        
        return exc ;
    }
    
    public INITIALIZE transNsCannotCreateInitialNc( CompletionStatus cs ) {
        return transNsCannotCreateInitialNc( cs, null  ) ;
    }
    
    public INITIALIZE transNsCannotCreateInitialNc( Throwable t ) {
        return transNsCannotCreateInitialNc( CompletionStatus.COMPLETED_NO, t  ) ;
    }
    
    public INITIALIZE transNsCannotCreateInitialNc(  ) {
        return transNsCannotCreateInitialNc( CompletionStatus.COMPLETED_NO, null  ) ;
    }
    
    ///////////////////////////////////////////////////////////
    // INTERNAL
    ///////////////////////////////////////////////////////////
    
    public static final int NAMING_CTX_REBIND_ALREADY_BOUND = SUNVMCID.value + 600 ;
    
    public INTERNAL namingCtxRebindAlreadyBound( CompletionStatus cs, Throwable t ) {
        INTERNAL exc = new INTERNAL( NAMING_CTX_REBIND_ALREADY_BOUND, cs ) ;
        if (t != null)
            exc.initCause( t ) ;
        
        if (logger.isLoggable( Level.WARNING )) {
            Object[] parameters = null ;
            doLog( Level.WARNING, "NAMING.namingCtxRebindAlreadyBound",
                parameters, NamingSystemException.class, exc ) ;
        }
        
        return exc ;
    }
    
    public INTERNAL namingCtxRebindAlreadyBound( CompletionStatus cs ) {
        return namingCtxRebindAlreadyBound( cs, null  ) ;
    }
    
    public INTERNAL namingCtxRebindAlreadyBound( Throwable t ) {
        return namingCtxRebindAlreadyBound( CompletionStatus.COMPLETED_NO, t  ) ;
    }
    
    public INTERNAL namingCtxRebindAlreadyBound(  ) {
        return namingCtxRebindAlreadyBound( CompletionStatus.COMPLETED_NO, null  ) ;
    }
    
    public static final int NAMING_CTX_REBINDCTX_ALREADY_BOUND = SUNVMCID.value + 601 ;
    
    public INTERNAL namingCtxRebindctxAlreadyBound( CompletionStatus cs, Throwable t ) {
        INTERNAL exc = new INTERNAL( NAMING_CTX_REBINDCTX_ALREADY_BOUND, cs ) ;
        if (t != null)
            exc.initCause( t ) ;
        
        if (logger.isLoggable( Level.WARNING )) {
            Object[] parameters = null ;
            doLog( Level.WARNING, "NAMING.namingCtxRebindctxAlreadyBound",
                parameters, NamingSystemException.class, exc ) ;
        }
        
        return exc ;
    }
    
    public INTERNAL namingCtxRebindctxAlreadyBound( CompletionStatus cs ) {
        return namingCtxRebindctxAlreadyBound( cs, null  ) ;
    }
    
    public INTERNAL namingCtxRebindctxAlreadyBound( Throwable t ) {
        return namingCtxRebindctxAlreadyBound( CompletionStatus.COMPLETED_NO, t  ) ;
    }
    
    public INTERNAL namingCtxRebindctxAlreadyBound(  ) {
        return namingCtxRebindctxAlreadyBound( CompletionStatus.COMPLETED_NO, null  ) ;
    }
    
    public static final int NAMING_CTX_BAD_BINDINGTYPE = SUNVMCID.value + 602 ;
    
    public INTERNAL namingCtxBadBindingtype( CompletionStatus cs, Throwable t ) {
        INTERNAL exc = new INTERNAL( NAMING_CTX_BAD_BINDINGTYPE, cs ) ;
        if (t != null)
            exc.initCause( t ) ;
        
        if (logger.isLoggable( Level.WARNING )) {
            Object[] parameters = null ;
            doLog( Level.WARNING, "NAMING.namingCtxBadBindingtype",
                parameters, NamingSystemException.class, exc ) ;
        }
        
        return exc ;
    }
    
    public INTERNAL namingCtxBadBindingtype( CompletionStatus cs ) {
        return namingCtxBadBindingtype( cs, null  ) ;
    }
    
    public INTERNAL namingCtxBadBindingtype( Throwable t ) {
        return namingCtxBadBindingtype( CompletionStatus.COMPLETED_NO, t  ) ;
    }
    
    public INTERNAL namingCtxBadBindingtype(  ) {
        return namingCtxBadBindingtype( CompletionStatus.COMPLETED_NO, null  ) ;
    }
    
    public static final int NAMING_CTX_RESOLVE_CANNOT_NARROW_TO_CTX = SUNVMCID.value + 603 ;
    
    public INTERNAL namingCtxResolveCannotNarrowToCtx( CompletionStatus cs, Throwable t ) {
        INTERNAL exc = new INTERNAL( NAMING_CTX_RESOLVE_CANNOT_NARROW_TO_CTX, cs ) ;
        if (t != null)
            exc.initCause( t ) ;
        
        if (logger.isLoggable( Level.WARNING )) {
            Object[] parameters = null ;
            doLog( Level.WARNING, "NAMING.namingCtxResolveCannotNarrowToCtx",
                parameters, NamingSystemException.class, exc ) ;
        }
        
        return exc ;
    }
    
    public INTERNAL namingCtxResolveCannotNarrowToCtx( CompletionStatus cs ) {
        return namingCtxResolveCannotNarrowToCtx( cs, null  ) ;
    }
    
    public INTERNAL namingCtxResolveCannotNarrowToCtx( Throwable t ) {
        return namingCtxResolveCannotNarrowToCtx( CompletionStatus.COMPLETED_NO, t  ) ;
    }
    
    public INTERNAL namingCtxResolveCannotNarrowToCtx(  ) {
        return namingCtxResolveCannotNarrowToCtx( CompletionStatus.COMPLETED_NO, null  ) ;
    }
    
    public static final int NAMING_CTX_BINDING_ITERATOR_CREATE = SUNVMCID.value + 604 ;
    
    public INTERNAL namingCtxBindingIteratorCreate( CompletionStatus cs, Throwable t ) {
        INTERNAL exc = new INTERNAL( NAMING_CTX_BINDING_ITERATOR_CREATE, cs ) ;
        if (t != null)
            exc.initCause( t ) ;
        
        if (logger.isLoggable( Level.WARNING )) {
            Object[] parameters = null ;
            doLog( Level.WARNING, "NAMING.namingCtxBindingIteratorCreate",
                parameters, NamingSystemException.class, exc ) ;
        }
        
        return exc ;
    }
    
    public INTERNAL namingCtxBindingIteratorCreate( CompletionStatus cs ) {
        return namingCtxBindingIteratorCreate( cs, null  ) ;
    }
    
    public INTERNAL namingCtxBindingIteratorCreate( Throwable t ) {
        return namingCtxBindingIteratorCreate( CompletionStatus.COMPLETED_NO, t  ) ;
    }
    
    public INTERNAL namingCtxBindingIteratorCreate(  ) {
        return namingCtxBindingIteratorCreate( CompletionStatus.COMPLETED_NO, null  ) ;
    }
    
    public static final int TRANS_NC_BIND_ALREADY_BOUND = SUNVMCID.value + 700 ;
    
    public INTERNAL transNcBindAlreadyBound( CompletionStatus cs, Throwable t ) {
        INTERNAL exc = new INTERNAL( TRANS_NC_BIND_ALREADY_BOUND, cs ) ;
        if (t != null)
            exc.initCause( t ) ;
        
        if (logger.isLoggable( Level.WARNING )) {
            Object[] parameters = null ;
            doLog( Level.WARNING, "NAMING.transNcBindAlreadyBound",
                parameters, NamingSystemException.class, exc ) ;
        }
        
        return exc ;
    }
    
    public INTERNAL transNcBindAlreadyBound( CompletionStatus cs ) {
        return transNcBindAlreadyBound( cs, null  ) ;
    }
    
    public INTERNAL transNcBindAlreadyBound( Throwable t ) {
        return transNcBindAlreadyBound( CompletionStatus.COMPLETED_NO, t  ) ;
    }
    
    public INTERNAL transNcBindAlreadyBound(  ) {
        return transNcBindAlreadyBound( CompletionStatus.COMPLETED_NO, null  ) ;
    }
    
    public static final int TRANS_NC_LIST_GOT_EXC = SUNVMCID.value + 701 ;
    
    public INTERNAL transNcListGotExc( CompletionStatus cs, Throwable t ) {
        INTERNAL exc = new INTERNAL( TRANS_NC_LIST_GOT_EXC, cs ) ;
        if (t != null)
            exc.initCause( t ) ;
        
        if (logger.isLoggable( Level.WARNING )) {
            Object[] parameters = null ;
            doLog( Level.WARNING, "NAMING.transNcListGotExc",
                parameters, NamingSystemException.class, exc ) ;
        }
        
        return exc ;
    }
    
    public INTERNAL transNcListGotExc( CompletionStatus cs ) {
        return transNcListGotExc( cs, null  ) ;
    }
    
    public INTERNAL transNcListGotExc( Throwable t ) {
        return transNcListGotExc( CompletionStatus.COMPLETED_NO, t  ) ;
    }
    
    public INTERNAL transNcListGotExc(  ) {
        return transNcListGotExc( CompletionStatus.COMPLETED_NO, null  ) ;
    }
    
    public static final int TRANS_NC_NEWCTX_GOT_EXC = SUNVMCID.value + 702 ;
    
    public INTERNAL transNcNewctxGotExc( CompletionStatus cs, Throwable t ) {
        INTERNAL exc = new INTERNAL( TRANS_NC_NEWCTX_GOT_EXC, cs ) ;
        if (t != null)
            exc.initCause( t ) ;
        
        if (logger.isLoggable( Level.WARNING )) {
            Object[] parameters = null ;
            doLog( Level.WARNING, "NAMING.transNcNewctxGotExc",
                parameters, NamingSystemException.class, exc ) ;
        }
        
        return exc ;
    }
    
    public INTERNAL transNcNewctxGotExc( CompletionStatus cs ) {
        return transNcNewctxGotExc( cs, null  ) ;
    }
    
    public INTERNAL transNcNewctxGotExc( Throwable t ) {
        return transNcNewctxGotExc( CompletionStatus.COMPLETED_NO, t  ) ;
    }
    
    public INTERNAL transNcNewctxGotExc(  ) {
        return transNcNewctxGotExc( CompletionStatus.COMPLETED_NO, null  ) ;
    }
    
    public static final int TRANS_NC_DESTROY_GOT_EXC = SUNVMCID.value + 703 ;
    
    public INTERNAL transNcDestroyGotExc( CompletionStatus cs, Throwable t ) {
        INTERNAL exc = new INTERNAL( TRANS_NC_DESTROY_GOT_EXC, cs ) ;
        if (t != null)
            exc.initCause( t ) ;
        
        if (logger.isLoggable( Level.WARNING )) {
            Object[] parameters = null ;
            doLog( Level.WARNING, "NAMING.transNcDestroyGotExc",
                parameters, NamingSystemException.class, exc ) ;
        }
        
        return exc ;
    }
    
    public INTERNAL transNcDestroyGotExc( CompletionStatus cs ) {
        return transNcDestroyGotExc( cs, null  ) ;
    }
    
    public INTERNAL transNcDestroyGotExc( Throwable t ) {
        return transNcDestroyGotExc( CompletionStatus.COMPLETED_NO, t  ) ;
    }
    
    public INTERNAL transNcDestroyGotExc(  ) {
        return transNcDestroyGotExc( CompletionStatus.COMPLETED_NO, null  ) ;
    }
    
    public static final int INS_BAD_SCHEME_NAME = SUNVMCID.value + 705 ;
    
    public INTERNAL insBadSchemeName( CompletionStatus cs, Throwable t ) {
        INTERNAL exc = new INTERNAL( INS_BAD_SCHEME_NAME, cs ) ;
        if (t != null)
            exc.initCause( t ) ;
        
        if (logger.isLoggable( Level.WARNING )) {
            Object[] parameters = null ;
            doLog( Level.WARNING, "NAMING.insBadSchemeName",
                parameters, NamingSystemException.class, exc ) ;
        }
        
        return exc ;
    }
    
    public INTERNAL insBadSchemeName( CompletionStatus cs ) {
        return insBadSchemeName( cs, null  ) ;
    }
    
    public INTERNAL insBadSchemeName( Throwable t ) {
        return insBadSchemeName( CompletionStatus.COMPLETED_NO, t  ) ;
    }
    
    public INTERNAL insBadSchemeName(  ) {
        return insBadSchemeName( CompletionStatus.COMPLETED_NO, null  ) ;
    }
    
    public static final int INS_BAD_SCHEME_SPECIFIC_PART = SUNVMCID.value + 707 ;
    
    public INTERNAL insBadSchemeSpecificPart( CompletionStatus cs, Throwable t ) {
        INTERNAL exc = new INTERNAL( INS_BAD_SCHEME_SPECIFIC_PART, cs ) ;
        if (t != null)
            exc.initCause( t ) ;
        
        if (logger.isLoggable( Level.WARNING )) {
            Object[] parameters = null ;
            doLog( Level.WARNING, "NAMING.insBadSchemeSpecificPart",
                parameters, NamingSystemException.class, exc ) ;
        }
        
        return exc ;
    }
    
    public INTERNAL insBadSchemeSpecificPart( CompletionStatus cs ) {
        return insBadSchemeSpecificPart( cs, null  ) ;
    }
    
    public INTERNAL insBadSchemeSpecificPart( Throwable t ) {
        return insBadSchemeSpecificPart( CompletionStatus.COMPLETED_NO, t  ) ;
    }
    
    public INTERNAL insBadSchemeSpecificPart(  ) {
        return insBadSchemeSpecificPart( CompletionStatus.COMPLETED_NO, null  ) ;
    }
    
    public static final int INS_OTHER = SUNVMCID.value + 708 ;
    
    public INTERNAL insOther( CompletionStatus cs, Throwable t ) {
        INTERNAL exc = new INTERNAL( INS_OTHER, cs ) ;
        if (t != null)
            exc.initCause( t ) ;
        
        if (logger.isLoggable( Level.WARNING )) {
            Object[] parameters = null ;
            doLog( Level.WARNING, "NAMING.insOther",
                parameters, NamingSystemException.class, exc ) ;
        }
        
        return exc ;
    }
    
    public INTERNAL insOther( CompletionStatus cs ) {
        return insOther( cs, null  ) ;
    }
    
    public INTERNAL insOther( Throwable t ) {
        return insOther( CompletionStatus.COMPLETED_NO, t  ) ;
    }
    
    public INTERNAL insOther(  ) {
        return insOther( CompletionStatus.COMPLETED_NO, null  ) ;
    }
    
    
}