KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > corba > se > impl > logging > InterceptorsSystemException


1 // Log wrapper class for Sun private system exceptions in group INTERCEPTORS
2
//
3
// Generated by mc.scm version 1.3, DO NOT EDIT BY HAND!
4
// Generated from input file ../../../../src/share/classes/com/sun/corba/se/spi/logging/data/Interceptors.mc on Sat Feb 09 02:04:16 PST 2008
5

6 package com.sun.corba.se.impl.logging ;
7
8 import java.util.logging.Logger JavaDoc ;
9 import java.util.logging.Level JavaDoc ;
10
11 import org.omg.CORBA.OMGVMCID JavaDoc ;
12 import com.sun.corba.se.impl.util.SUNVMCID ;
13 import org.omg.CORBA.CompletionStatus JavaDoc ;
14 import org.omg.CORBA.SystemException JavaDoc ;
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_PARAM JavaDoc ;
23 import org.omg.CORBA.BAD_INV_ORDER JavaDoc ;
24 import org.omg.CORBA.COMM_FAILURE JavaDoc ;
25 import org.omg.CORBA.INTERNAL JavaDoc ;
26 import org.omg.CORBA.NO_IMPLEMENT JavaDoc ;
27 import org.omg.CORBA.OBJECT_NOT_EXIST JavaDoc ;
28 import org.omg.CORBA.UNKNOWN JavaDoc ;
29
30 public class InterceptorsSystemException extends LogWrapperBase {
31     
32     public InterceptorsSystemException( Logger JavaDoc logger )
33     {
34         super( logger ) ;
35     }
36     
37     private static LogWrapperFactory factory = new LogWrapperFactory() {
38         public LogWrapperBase create( Logger JavaDoc logger )
39         {
40             return new InterceptorsSystemException( logger ) ;
41         }
42     } ;
43     
44     public static InterceptorsSystemException get( ORB orb, String JavaDoc logDomain )
45     {
46         InterceptorsSystemException wrapper =
47             (InterceptorsSystemException) orb.getLogWrapper( logDomain,
48                 "INTERCEPTORS", factory ) ;
49         return wrapper ;
50     }
51     
52     public static InterceptorsSystemException get( String JavaDoc logDomain )
53     {
54         InterceptorsSystemException wrapper =
55             (InterceptorsSystemException) ORB.staticGetLogWrapper( logDomain,
56                 "INTERCEPTORS", factory ) ;
57         return wrapper ;
58     }
59     
60     ///////////////////////////////////////////////////////////
61
// BAD_PARAM
62
///////////////////////////////////////////////////////////
63

64     public static final int TYPE_OUT_OF_RANGE = SUNVMCID.value + 801 ;
65     
66     public BAD_PARAM JavaDoc typeOutOfRange( CompletionStatus JavaDoc cs, Throwable JavaDoc t, Object JavaDoc arg0) {
67         BAD_PARAM JavaDoc exc = new BAD_PARAM JavaDoc( TYPE_OUT_OF_RANGE, cs ) ;
68         if (t != null)
69             exc.initCause( t ) ;
70         
71         if (logger.isLoggable( Level.WARNING )) {
72             Object JavaDoc[] parameters = new Object JavaDoc[1] ;
73             parameters[0] = arg0 ;
74             doLog( Level.WARNING, "INTERCEPTORS.typeOutOfRange",
75                 parameters, InterceptorsSystemException.class, exc ) ;
76         }
77         
78         return exc ;
79     }
80     
81     public BAD_PARAM JavaDoc typeOutOfRange( CompletionStatus JavaDoc cs, Object JavaDoc arg0) {
82         return typeOutOfRange( cs, null, arg0 ) ;
83     }
84     
85     public BAD_PARAM JavaDoc typeOutOfRange( Throwable JavaDoc t, Object JavaDoc arg0) {
86         return typeOutOfRange( CompletionStatus.COMPLETED_NO, t, arg0 ) ;
87     }
88     
89     public BAD_PARAM JavaDoc typeOutOfRange( Object JavaDoc arg0) {
90         return typeOutOfRange( CompletionStatus.COMPLETED_NO, null, arg0 ) ;
91     }
92     
93     public static final int NAME_NULL = SUNVMCID.value + 802 ;
94     
95     public BAD_PARAM JavaDoc nameNull( CompletionStatus JavaDoc cs, Throwable JavaDoc t ) {
96         BAD_PARAM JavaDoc exc = new BAD_PARAM JavaDoc( NAME_NULL, cs ) ;
97         if (t != null)
98             exc.initCause( t ) ;
99         
100         if (logger.isLoggable( Level.WARNING )) {
101             Object JavaDoc[] parameters = null ;
102             doLog( Level.WARNING, "INTERCEPTORS.nameNull",
103                 parameters, InterceptorsSystemException.class, exc ) ;
104         }
105         
106         return exc ;
107     }
108     
109     public BAD_PARAM JavaDoc nameNull( CompletionStatus JavaDoc cs ) {
110         return nameNull( cs, null ) ;
111     }
112     
113     public BAD_PARAM JavaDoc nameNull( Throwable JavaDoc t ) {
114         return nameNull( CompletionStatus.COMPLETED_NO, t ) ;
115     }
116     
117     public BAD_PARAM JavaDoc nameNull( ) {
118         return nameNull( CompletionStatus.COMPLETED_NO, null ) ;
119     }
120     
121     ///////////////////////////////////////////////////////////
122
// BAD_INV_ORDER
123
///////////////////////////////////////////////////////////
124

125     public static final int RIR_INVALID_PRE_INIT = SUNVMCID.value + 801 ;
126     
127     public BAD_INV_ORDER JavaDoc rirInvalidPreInit( CompletionStatus JavaDoc cs, Throwable JavaDoc t ) {
128         BAD_INV_ORDER JavaDoc exc = new BAD_INV_ORDER JavaDoc( RIR_INVALID_PRE_INIT, cs ) ;
129         if (t != null)
130             exc.initCause( t ) ;
131         
132         if (logger.isLoggable( Level.WARNING )) {
133             Object JavaDoc[] parameters = null ;
134             doLog( Level.WARNING, "INTERCEPTORS.rirInvalidPreInit",
135                 parameters, InterceptorsSystemException.class, exc ) ;
136         }
137         
138         return exc ;
139     }
140     
141     public BAD_INV_ORDER JavaDoc rirInvalidPreInit( CompletionStatus JavaDoc cs ) {
142         return rirInvalidPreInit( cs, null ) ;
143     }
144     
145     public BAD_INV_ORDER JavaDoc rirInvalidPreInit( Throwable JavaDoc t ) {
146         return rirInvalidPreInit( CompletionStatus.COMPLETED_NO, t ) ;
147     }
148     
149     public BAD_INV_ORDER JavaDoc rirInvalidPreInit( ) {
150         return rirInvalidPreInit( CompletionStatus.COMPLETED_NO, null ) ;
151     }
152     
153     public static final int BAD_STATE1 = SUNVMCID.value + 802 ;
154     
155     public BAD_INV_ORDER JavaDoc badState1( CompletionStatus JavaDoc cs, Throwable JavaDoc t, Object JavaDoc arg0, Object JavaDoc arg1) {
156         BAD_INV_ORDER JavaDoc exc = new BAD_INV_ORDER JavaDoc( BAD_STATE1, cs ) ;
157         if (t != null)
158             exc.initCause( t ) ;
159         
160         if (logger.isLoggable( Level.WARNING )) {
161             Object JavaDoc[] parameters = new Object JavaDoc[2] ;
162             parameters[0] = arg0 ;
163             parameters[1] = arg1 ;
164             doLog( Level.WARNING, "INTERCEPTORS.badState1",
165                 parameters, InterceptorsSystemException.class, exc ) ;
166         }
167         
168         return exc ;
169     }
170     
171     public BAD_INV_ORDER JavaDoc badState1( CompletionStatus JavaDoc cs, Object JavaDoc arg0, Object JavaDoc arg1) {
172         return badState1( cs, null, arg0, arg1 ) ;
173     }
174     
175     public BAD_INV_ORDER JavaDoc badState1( Throwable JavaDoc t, Object JavaDoc arg0, Object JavaDoc arg1) {
176         return badState1( CompletionStatus.COMPLETED_NO, t, arg0, arg1 ) ;
177     }
178     
179     public BAD_INV_ORDER JavaDoc badState1( Object JavaDoc arg0, Object JavaDoc arg1) {
180         return badState1( CompletionStatus.COMPLETED_NO, null, arg0, arg1 ) ;
181     }
182     
183     public static final int BAD_STATE2 = SUNVMCID.value + 803 ;
184     
185     public BAD_INV_ORDER JavaDoc badState2( CompletionStatus JavaDoc cs, Throwable JavaDoc t, Object JavaDoc arg0, Object JavaDoc arg1, Object JavaDoc arg2) {
186         BAD_INV_ORDER JavaDoc exc = new BAD_INV_ORDER JavaDoc( BAD_STATE2, cs ) ;
187         if (t != null)
188             exc.initCause( t ) ;
189         
190         if (logger.isLoggable( Level.WARNING )) {
191             Object JavaDoc[] parameters = new Object JavaDoc[3] ;
192             parameters[0] = arg0 ;
193             parameters[1] = arg1 ;
194             parameters[2] = arg2 ;
195             doLog( Level.WARNING, "INTERCEPTORS.badState2",
196                 parameters, InterceptorsSystemException.class, exc ) ;
197         }
198         
199         return exc ;
200     }
201     
202     public BAD_INV_ORDER JavaDoc badState2( CompletionStatus JavaDoc cs, Object JavaDoc arg0, Object JavaDoc arg1, Object JavaDoc arg2) {
203         return badState2( cs, null, arg0, arg1, arg2 ) ;
204     }
205     
206     public BAD_INV_ORDER JavaDoc badState2( Throwable JavaDoc t, Object JavaDoc arg0, Object JavaDoc arg1, Object JavaDoc arg2) {
207         return badState2( CompletionStatus.COMPLETED_NO, t, arg0, arg1, arg2 ) ;
208     }
209     
210     public BAD_INV_ORDER JavaDoc badState2( Object JavaDoc arg0, Object JavaDoc arg1, Object JavaDoc arg2) {
211         return badState2( CompletionStatus.COMPLETED_NO, null, arg0, arg1, arg2 ) ;
212     }
213     
214     ///////////////////////////////////////////////////////////
215
// COMM_FAILURE
216
///////////////////////////////////////////////////////////
217

218     public static final int IOEXCEPTION_DURING_CANCEL_REQUEST = SUNVMCID.value + 801 ;
219     
220     public COMM_FAILURE JavaDoc ioexceptionDuringCancelRequest( CompletionStatus JavaDoc cs, Throwable JavaDoc t ) {
221         COMM_FAILURE JavaDoc exc = new COMM_FAILURE JavaDoc( IOEXCEPTION_DURING_CANCEL_REQUEST, cs ) ;
222         if (t != null)
223             exc.initCause( t ) ;
224         
225         if (logger.isLoggable( Level.WARNING )) {
226             Object JavaDoc[] parameters = null ;
227             doLog( Level.WARNING, "INTERCEPTORS.ioexceptionDuringCancelRequest",
228                 parameters, InterceptorsSystemException.class, exc ) ;
229         }
230         
231         return exc ;
232     }
233     
234     public COMM_FAILURE JavaDoc ioexceptionDuringCancelRequest( CompletionStatus JavaDoc cs ) {
235         return ioexceptionDuringCancelRequest( cs, null ) ;
236     }
237     
238     public COMM_FAILURE JavaDoc ioexceptionDuringCancelRequest( Throwable JavaDoc t ) {
239         return ioexceptionDuringCancelRequest( CompletionStatus.COMPLETED_NO, t ) ;
240     }
241     
242     public COMM_FAILURE JavaDoc ioexceptionDuringCancelRequest( ) {
243         return ioexceptionDuringCancelRequest( CompletionStatus.COMPLETED_NO, null ) ;
244     }
245     
246     ///////////////////////////////////////////////////////////
247
// INTERNAL
248
///////////////////////////////////////////////////////////
249

250     public static final int EXCEPTION_WAS_NULL = SUNVMCID.value + 801 ;
251     
252     public INTERNAL JavaDoc exceptionWasNull( CompletionStatus JavaDoc cs, Throwable JavaDoc t ) {
253         INTERNAL JavaDoc exc = new INTERNAL JavaDoc( EXCEPTION_WAS_NULL, cs ) ;
254         if (t != null)
255             exc.initCause( t ) ;
256         
257         if (logger.isLoggable( Level.WARNING )) {
258             Object JavaDoc[] parameters = null ;
259             doLog( Level.WARNING, "INTERCEPTORS.exceptionWasNull",
260                 parameters, InterceptorsSystemException.class, exc ) ;
261         }
262         
263         return exc ;
264     }
265     
266     public INTERNAL JavaDoc exceptionWasNull( CompletionStatus JavaDoc cs ) {
267         return exceptionWasNull( cs, null ) ;
268     }
269     
270     public INTERNAL JavaDoc exceptionWasNull( Throwable JavaDoc t ) {
271         return exceptionWasNull( CompletionStatus.COMPLETED_NO, t ) ;
272     }
273     
274     public INTERNAL JavaDoc exceptionWasNull( ) {
275         return exceptionWasNull( CompletionStatus.COMPLETED_NO, null ) ;
276     }
277     
278     public static final int OBJECT_HAS_NO_DELEGATE = SUNVMCID.value + 802 ;
279     
280     public INTERNAL JavaDoc objectHasNoDelegate( CompletionStatus JavaDoc cs, Throwable JavaDoc t ) {
281         INTERNAL JavaDoc exc = new INTERNAL JavaDoc( OBJECT_HAS_NO_DELEGATE, cs ) ;
282         if (t != null)
283             exc.initCause( t ) ;
284         
285         if (logger.isLoggable( Level.WARNING )) {
286             Object JavaDoc[] parameters = null ;
287             doLog( Level.WARNING, "INTERCEPTORS.objectHasNoDelegate",
288                 parameters, InterceptorsSystemException.class, exc ) ;
289         }
290         
291         return exc ;
292     }
293     
294     public INTERNAL JavaDoc objectHasNoDelegate( CompletionStatus JavaDoc cs ) {
295         return objectHasNoDelegate( cs, null ) ;
296     }
297     
298     public INTERNAL JavaDoc objectHasNoDelegate( Throwable JavaDoc t ) {
299         return objectHasNoDelegate( CompletionStatus.COMPLETED_NO, t ) ;
300     }
301     
302     public INTERNAL JavaDoc objectHasNoDelegate( ) {
303         return objectHasNoDelegate( CompletionStatus.COMPLETED_NO, null ) ;
304     }
305     
306     public static final int DELEGATE_NOT_CLIENTSUB = SUNVMCID.value + 803 ;
307     
308     public INTERNAL JavaDoc delegateNotClientsub( CompletionStatus JavaDoc cs, Throwable JavaDoc t ) {
309         INTERNAL JavaDoc exc = new INTERNAL JavaDoc( DELEGATE_NOT_CLIENTSUB, cs ) ;
310         if (t != null)
311             exc.initCause( t ) ;
312         
313         if (logger.isLoggable( Level.WARNING )) {
314             Object JavaDoc[] parameters = null ;
315             doLog( Level.WARNING, "INTERCEPTORS.delegateNotClientsub",
316                 parameters, InterceptorsSystemException.class, exc ) ;
317         }
318         
319         return exc ;
320     }
321     
322     public INTERNAL JavaDoc delegateNotClientsub( CompletionStatus JavaDoc cs ) {
323         return delegateNotClientsub( cs, null ) ;
324     }
325     
326     public INTERNAL JavaDoc delegateNotClientsub( Throwable JavaDoc t ) {
327         return delegateNotClientsub( CompletionStatus.COMPLETED_NO, t ) ;
328     }
329     
330     public INTERNAL JavaDoc delegateNotClientsub( ) {
331         return delegateNotClientsub( CompletionStatus.COMPLETED_NO, null ) ;
332     }
333     
334     public static final int OBJECT_NOT_OBJECTIMPL = SUNVMCID.value + 804 ;
335     
336     public INTERNAL JavaDoc objectNotObjectimpl( CompletionStatus JavaDoc cs, Throwable JavaDoc t ) {
337         INTERNAL JavaDoc exc = new INTERNAL JavaDoc( OBJECT_NOT_OBJECTIMPL, cs ) ;
338         if (t != null)
339             exc.initCause( t ) ;
340         
341         if (logger.isLoggable( Level.WARNING )) {
342             Object JavaDoc[] parameters = null ;
343             doLog( Level.WARNING, "INTERCEPTORS.objectNotObjectimpl",
344                 parameters, InterceptorsSystemException.class, exc ) ;
345         }
346         
347         return exc ;
348     }
349     
350     public INTERNAL JavaDoc objectNotObjectimpl( CompletionStatus JavaDoc cs ) {
351         return objectNotObjectimpl( cs, null ) ;
352     }
353     
354     public INTERNAL JavaDoc objectNotObjectimpl( Throwable JavaDoc t ) {
355         return objectNotObjectimpl( CompletionStatus.COMPLETED_NO, t ) ;
356     }
357     
358     public INTERNAL JavaDoc objectNotObjectimpl( ) {
359         return objectNotObjectimpl( CompletionStatus.COMPLETED_NO, null ) ;
360     }
361     
362     public static final int EXCEPTION_INVALID = SUNVMCID.value + 805 ;
363     
364     public INTERNAL JavaDoc exceptionInvalid( CompletionStatus JavaDoc cs, Throwable JavaDoc t ) {
365         INTERNAL JavaDoc exc = new INTERNAL JavaDoc( EXCEPTION_INVALID, cs ) ;
366         if (t != null)
367             exc.initCause( t ) ;
368         
369         if (logger.isLoggable( Level.WARNING )) {
370             Object JavaDoc[] parameters = null ;
371             doLog( Level.WARNING, "INTERCEPTORS.exceptionInvalid",
372                 parameters, InterceptorsSystemException.class, exc ) ;
373         }
374         
375         return exc ;
376     }
377     
378     public INTERNAL JavaDoc exceptionInvalid( CompletionStatus JavaDoc cs ) {
379         return exceptionInvalid( cs, null ) ;
380     }
381     
382     public INTERNAL JavaDoc exceptionInvalid( Throwable JavaDoc t ) {
383         return exceptionInvalid( CompletionStatus.COMPLETED_NO, t ) ;
384     }
385     
386     public INTERNAL JavaDoc exceptionInvalid( ) {
387         return exceptionInvalid( CompletionStatus.COMPLETED_NO, null ) ;
388     }
389     
390     public static final int REPLY_STATUS_NOT_INIT = SUNVMCID.value + 806 ;
391     
392     public INTERNAL JavaDoc replyStatusNotInit( CompletionStatus JavaDoc cs, Throwable JavaDoc t ) {
393         INTERNAL JavaDoc exc = new INTERNAL JavaDoc( REPLY_STATUS_NOT_INIT, cs ) ;
394         if (t != null)
395             exc.initCause( t ) ;
396         
397         if (logger.isLoggable( Level.WARNING )) {
398             Object JavaDoc[] parameters = null ;
399             doLog( Level.WARNING, "INTERCEPTORS.replyStatusNotInit",
400                 parameters, InterceptorsSystemException.class, exc ) ;
401         }
402         
403         return exc ;
404     }
405     
406     public INTERNAL JavaDoc replyStatusNotInit( CompletionStatus JavaDoc cs ) {
407         return replyStatusNotInit( cs, null ) ;
408     }
409     
410     public INTERNAL JavaDoc replyStatusNotInit( Throwable JavaDoc t ) {
411         return replyStatusNotInit( CompletionStatus.COMPLETED_NO, t ) ;
412     }
413     
414     public INTERNAL JavaDoc replyStatusNotInit( ) {
415         return replyStatusNotInit( CompletionStatus.COMPLETED_NO, null ) ;
416     }
417     
418     public static final int EXCEPTION_IN_ARGUMENTS = SUNVMCID.value + 807 ;
419     
420     public INTERNAL JavaDoc exceptionInArguments( CompletionStatus JavaDoc cs, Throwable JavaDoc t ) {
421         INTERNAL JavaDoc exc = new INTERNAL JavaDoc( EXCEPTION_IN_ARGUMENTS, cs ) ;
422         if (t != null)
423             exc.initCause( t ) ;
424         
425         if (logger.isLoggable( Level.WARNING )) {
426             Object JavaDoc[] parameters = null ;
427             doLog( Level.WARNING, "INTERCEPTORS.exceptionInArguments",
428                 parameters, InterceptorsSystemException.class, exc ) ;
429         }
430         
431         return exc ;
432     }
433     
434     public INTERNAL JavaDoc exceptionInArguments( CompletionStatus JavaDoc cs ) {
435         return exceptionInArguments( cs, null ) ;
436     }
437     
438     public INTERNAL JavaDoc exceptionInArguments( Throwable JavaDoc t ) {
439         return exceptionInArguments( CompletionStatus.COMPLETED_NO, t ) ;
440     }
441     
442     public INTERNAL JavaDoc exceptionInArguments( ) {
443         return exceptionInArguments( CompletionStatus.COMPLETED_NO, null ) ;
444     }
445     
446     public static final int EXCEPTION_IN_EXCEPTIONS = SUNVMCID.value + 808 ;
447     
448     public INTERNAL JavaDoc exceptionInExceptions( CompletionStatus JavaDoc cs, Throwable JavaDoc t ) {
449         INTERNAL JavaDoc exc = new INTERNAL JavaDoc( EXCEPTION_IN_EXCEPTIONS, cs ) ;
450         if (t != null)
451             exc.initCause( t ) ;
452         
453         if (logger.isLoggable( Level.WARNING )) {
454             Object JavaDoc[] parameters = null ;
455             doLog( Level.WARNING, "INTERCEPTORS.exceptionInExceptions",
456                 parameters, InterceptorsSystemException.class, exc ) ;
457         }
458         
459         return exc ;
460     }
461     
462     public INTERNAL JavaDoc exceptionInExceptions( CompletionStatus JavaDoc cs ) {
463         return exceptionInExceptions( cs, null ) ;
464     }
465     
466     public INTERNAL JavaDoc exceptionInExceptions( Throwable JavaDoc t ) {
467         return exceptionInExceptions( CompletionStatus.COMPLETED_NO, t ) ;
468     }
469     
470     public INTERNAL JavaDoc exceptionInExceptions( ) {
471         return exceptionInExceptions( CompletionStatus.COMPLETED_NO, null ) ;
472     }
473     
474     public static final int EXCEPTION_IN_CONTEXTS = SUNVMCID.value + 809 ;
475     
476     public INTERNAL JavaDoc exceptionInContexts( CompletionStatus JavaDoc cs, Throwable JavaDoc t ) {
477         INTERNAL JavaDoc exc = new INTERNAL JavaDoc( EXCEPTION_IN_CONTEXTS, cs ) ;
478         if (t != null)
479             exc.initCause( t ) ;
480         
481         if (logger.isLoggable( Level.WARNING )) {
482             Object JavaDoc[] parameters = null ;
483             doLog( Level.WARNING, "INTERCEPTORS.exceptionInContexts",
484                 parameters, InterceptorsSystemException.class, exc ) ;
485         }
486         
487         return exc ;
488     }
489     
490     public INTERNAL JavaDoc exceptionInContexts( CompletionStatus JavaDoc cs ) {
491         return exceptionInContexts( cs, null ) ;
492     }
493     
494     public INTERNAL JavaDoc exceptionInContexts( Throwable JavaDoc t ) {
495         return exceptionInContexts( CompletionStatus.COMPLETED_NO, t ) ;
496     }
497     
498     public INTERNAL JavaDoc exceptionInContexts( ) {
499         return exceptionInContexts( CompletionStatus.COMPLETED_NO, null ) ;
500     }
501     
502     public static final int EXCEPTION_WAS_NULL_2 = SUNVMCID.value + 810 ;
503     
504     public INTERNAL JavaDoc exceptionWasNull2( CompletionStatus JavaDoc cs, Throwable JavaDoc t ) {
505         INTERNAL JavaDoc exc = new INTERNAL JavaDoc( EXCEPTION_WAS_NULL_2, cs ) ;
506         if (t != null)
507             exc.initCause( t ) ;
508         
509         if (logger.isLoggable( Level.WARNING )) {
510             Object JavaDoc[] parameters = null ;
511             doLog( Level.WARNING, "INTERCEPTORS.exceptionWasNull2",
512                 parameters, InterceptorsSystemException.class, exc ) ;
513         }
514         
515         return exc ;
516     }
517     
518     public INTERNAL JavaDoc exceptionWasNull2( CompletionStatus JavaDoc cs ) {
519         return exceptionWasNull2( cs, null ) ;
520     }
521     
522     public INTERNAL JavaDoc exceptionWasNull2( Throwable JavaDoc t ) {
523         return exceptionWasNull2( CompletionStatus.COMPLETED_NO, t ) ;
524     }
525     
526     public INTERNAL JavaDoc exceptionWasNull2( ) {
527         return exceptionWasNull2( CompletionStatus.COMPLETED_NO, null ) ;
528     }
529     
530     public static final int SERVANT_INVALID = SUNVMCID.value + 811 ;
531     
532     public INTERNAL JavaDoc servantInvalid( CompletionStatus JavaDoc cs, Throwable JavaDoc t ) {
533         INTERNAL JavaDoc exc = new INTERNAL JavaDoc( SERVANT_INVALID, cs ) ;
534         if (t != null)
535             exc.initCause( t ) ;
536         
537         if (logger.isLoggable( Level.WARNING )) {
538             Object JavaDoc[] parameters = null ;
539             doLog( Level.WARNING, "INTERCEPTORS.servantInvalid",
540                 parameters, InterceptorsSystemException.class, exc ) ;
541         }
542         
543         return exc ;
544     }
545     
546     public INTERNAL JavaDoc servantInvalid( CompletionStatus JavaDoc cs ) {
547         return servantInvalid( cs, null ) ;
548     }
549     
550     public INTERNAL JavaDoc servantInvalid( Throwable JavaDoc t ) {
551         return servantInvalid( CompletionStatus.COMPLETED_NO, t ) ;
552     }
553     
554     public INTERNAL JavaDoc servantInvalid( ) {
555         return servantInvalid( CompletionStatus.COMPLETED_NO, null ) ;
556     }
557     
558     public static final int CANT_POP_ONLY_PICURRENT = SUNVMCID.value + 812 ;
559     
560     public INTERNAL JavaDoc cantPopOnlyPicurrent( CompletionStatus JavaDoc cs, Throwable JavaDoc t ) {
561         INTERNAL JavaDoc exc = new INTERNAL JavaDoc( CANT_POP_ONLY_PICURRENT, cs ) ;
562         if (t != null)
563             exc.initCause( t ) ;
564         
565         if (logger.isLoggable( Level.WARNING )) {
566             Object JavaDoc[] parameters = null ;
567             doLog( Level.WARNING, "INTERCEPTORS.cantPopOnlyPicurrent",
568                 parameters, InterceptorsSystemException.class, exc ) ;
569         }
570         
571         return exc ;
572     }
573     
574     public INTERNAL JavaDoc cantPopOnlyPicurrent( CompletionStatus JavaDoc cs ) {
575         return cantPopOnlyPicurrent( cs, null ) ;
576     }
577     
578     public INTERNAL JavaDoc cantPopOnlyPicurrent( Throwable JavaDoc t ) {
579         return cantPopOnlyPicurrent( CompletionStatus.COMPLETED_NO, t ) ;
580     }
581     
582     public INTERNAL JavaDoc cantPopOnlyPicurrent( ) {
583         return cantPopOnlyPicurrent( CompletionStatus.COMPLETED_NO, null ) ;
584     }
585     
586     public static final int CANT_POP_ONLY_CURRENT_2 = SUNVMCID.value + 813 ;
587     
588     public INTERNAL JavaDoc cantPopOnlyCurrent2( CompletionStatus JavaDoc cs, Throwable JavaDoc t ) {
589         INTERNAL JavaDoc exc = new INTERNAL JavaDoc( CANT_POP_ONLY_CURRENT_2, cs ) ;
590         if (t != null)
591             exc.initCause( t ) ;
592         
593         if (logger.isLoggable( Level.WARNING )) {
594             Object JavaDoc[] parameters = null ;
595             doLog( Level.WARNING, "INTERCEPTORS.cantPopOnlyCurrent2",
596                 parameters, InterceptorsSystemException.class, exc ) ;
597         }
598         
599         return exc ;
600     }
601     
602     public INTERNAL JavaDoc cantPopOnlyCurrent2( CompletionStatus JavaDoc cs ) {
603         return cantPopOnlyCurrent2( cs, null ) ;
604     }
605     
606     public INTERNAL JavaDoc cantPopOnlyCurrent2( Throwable JavaDoc t ) {
607         return cantPopOnlyCurrent2( CompletionStatus.COMPLETED_NO, t ) ;
608     }
609     
610     public INTERNAL JavaDoc cantPopOnlyCurrent2( ) {
611         return cantPopOnlyCurrent2( CompletionStatus.COMPLETED_NO, null ) ;
612     }
613     
614     public static final int PI_DSI_RESULT_IS_NULL = SUNVMCID.value + 814 ;
615     
616     public INTERNAL JavaDoc piDsiResultIsNull( CompletionStatus JavaDoc cs, Throwable JavaDoc t ) {
617         INTERNAL JavaDoc exc = new INTERNAL JavaDoc( PI_DSI_RESULT_IS_NULL, cs ) ;
618         if (t != null)
619             exc.initCause( t ) ;
620         
621         if (logger.isLoggable( Level.WARNING )) {
622             Object JavaDoc[] parameters = null ;
623             doLog( Level.WARNING, "INTERCEPTORS.piDsiResultIsNull",
624                 parameters, InterceptorsSystemException.class, exc ) ;
625         }
626         
627         return exc ;
628     }
629     
630     public INTERNAL JavaDoc piDsiResultIsNull( CompletionStatus JavaDoc cs ) {
631         return piDsiResultIsNull( cs, null ) ;
632     }
633     
634     public INTERNAL JavaDoc piDsiResultIsNull( Throwable JavaDoc t ) {
635         return piDsiResultIsNull( CompletionStatus.COMPLETED_NO, t ) ;
636     }
637     
638     public INTERNAL JavaDoc piDsiResultIsNull( ) {
639         return piDsiResultIsNull( CompletionStatus.COMPLETED_NO, null ) ;
640     }
641     
642     public static final int PI_DII_RESULT_IS_NULL = SUNVMCID.value + 815 ;
643     
644     public INTERNAL JavaDoc piDiiResultIsNull( CompletionStatus JavaDoc cs, Throwable JavaDoc t ) {
645         INTERNAL JavaDoc exc = new INTERNAL JavaDoc( PI_DII_RESULT_IS_NULL, cs ) ;
646         if (t != null)
647             exc.initCause( t ) ;
648         
649         if (logger.isLoggable( Level.WARNING )) {
650             Object JavaDoc[] parameters = null ;
651             doLog( Level.WARNING, "INTERCEPTORS.piDiiResultIsNull",
652                 parameters, InterceptorsSystemException.class, exc ) ;
653         }
654         
655         return exc ;
656     }
657     
658     public INTERNAL JavaDoc piDiiResultIsNull( CompletionStatus JavaDoc cs ) {
659         return piDiiResultIsNull( cs, null ) ;
660     }
661     
662     public INTERNAL JavaDoc piDiiResultIsNull( Throwable JavaDoc t ) {
663         return piDiiResultIsNull( CompletionStatus.COMPLETED_NO, t ) ;
664     }
665     
666     public INTERNAL JavaDoc piDiiResultIsNull( ) {
667         return piDiiResultIsNull( CompletionStatus.COMPLETED_NO, null ) ;
668     }
669     
670     public static final int EXCEPTION_UNAVAILABLE = SUNVMCID.value + 816 ;
671     
672     public INTERNAL JavaDoc exceptionUnavailable( CompletionStatus JavaDoc cs, Throwable JavaDoc t ) {
673         INTERNAL JavaDoc exc = new INTERNAL JavaDoc( EXCEPTION_UNAVAILABLE, cs ) ;
674         if (t != null)
675             exc.initCause( t ) ;
676         
677         if (logger.isLoggable( Level.WARNING )) {
678             Object JavaDoc[] parameters = null ;
679             doLog( Level.WARNING, "INTERCEPTORS.exceptionUnavailable",
680                 parameters, InterceptorsSystemException.class, exc ) ;
681         }
682         
683         return exc ;
684     }
685     
686     public INTERNAL JavaDoc exceptionUnavailable( CompletionStatus JavaDoc cs ) {
687         return exceptionUnavailable( cs, null ) ;
688     }
689     
690     public INTERNAL JavaDoc exceptionUnavailable( Throwable JavaDoc t ) {
691         return exceptionUnavailable( CompletionStatus.COMPLETED_NO, t ) ;
692     }
693     
694     public INTERNAL JavaDoc exceptionUnavailable( ) {
695         return exceptionUnavailable( CompletionStatus.COMPLETED_NO, null ) ;
696     }
697     
698     public static final int CLIENT_INFO_STACK_NULL = SUNVMCID.value + 817 ;
699     
700     public INTERNAL JavaDoc clientInfoStackNull( CompletionStatus JavaDoc cs, Throwable JavaDoc t ) {
701         INTERNAL JavaDoc exc = new INTERNAL JavaDoc( CLIENT_INFO_STACK_NULL, cs ) ;
702         if (t != null)
703             exc.initCause( t ) ;
704         
705         if (logger.isLoggable( Level.WARNING )) {
706             Object JavaDoc[] parameters = null ;
707             doLog( Level.WARNING, "INTERCEPTORS.clientInfoStackNull",
708                 parameters, InterceptorsSystemException.class, exc ) ;
709         }
710         
711         return exc ;
712     }
713     
714     public INTERNAL JavaDoc clientInfoStackNull( CompletionStatus JavaDoc cs ) {
715         return clientInfoStackNull( cs, null ) ;
716     }
717     
718     public INTERNAL JavaDoc clientInfoStackNull( Throwable JavaDoc t ) {
719         return clientInfoStackNull( CompletionStatus.COMPLETED_NO, t ) ;
720     }
721     
722     public INTERNAL JavaDoc clientInfoStackNull( ) {
723         return clientInfoStackNull( CompletionStatus.COMPLETED_NO, null ) ;
724     }
725     
726     public static final int SERVER_INFO_STACK_NULL = SUNVMCID.value + 818 ;
727     
728     public INTERNAL JavaDoc serverInfoStackNull( CompletionStatus JavaDoc cs, Throwable JavaDoc t ) {
729         INTERNAL JavaDoc exc = new INTERNAL JavaDoc( SERVER_INFO_STACK_NULL, cs ) ;
730         if (t != null)
731             exc.initCause( t ) ;
732         
733         if (logger.isLoggable( Level.WARNING )) {
734             Object JavaDoc[] parameters = null ;
735             doLog( Level.WARNING, "INTERCEPTORS.serverInfoStackNull",
736                 parameters, InterceptorsSystemException.class, exc ) ;
737         }
738         
739         return exc ;
740     }
741     
742     public INTERNAL JavaDoc serverInfoStackNull( CompletionStatus JavaDoc cs ) {
743         return serverInfoStackNull( cs, null ) ;
744     }
745     
746     public INTERNAL JavaDoc serverInfoStackNull( Throwable JavaDoc t ) {
747         return serverInfoStackNull( CompletionStatus.COMPLETED_NO, t ) ;
748     }
749     
750     public INTERNAL JavaDoc serverInfoStackNull( ) {
751         return serverInfoStackNull( CompletionStatus.COMPLETED_NO, null ) ;
752     }
753     
754     public static final int MARK_AND_RESET_FAILED = SUNVMCID.value + 819 ;
755     
756     public INTERNAL JavaDoc markAndResetFailed( CompletionStatus JavaDoc cs, Throwable JavaDoc t ) {
757         INTERNAL JavaDoc exc = new INTERNAL JavaDoc( MARK_AND_RESET_FAILED, cs ) ;
758         if (t != null)
759             exc.initCause( t ) ;
760         
761         if (logger.isLoggable( Level.WARNING )) {
762             Object JavaDoc[] parameters = null ;
763             doLog( Level.WARNING, "INTERCEPTORS.markAndResetFailed",
764                 parameters, InterceptorsSystemException.class, exc ) ;
765         }
766         
767         return exc ;
768     }
769     
770     public INTERNAL JavaDoc markAndResetFailed( CompletionStatus JavaDoc cs ) {
771         return markAndResetFailed( cs, null ) ;
772     }
773     
774     public INTERNAL JavaDoc markAndResetFailed( Throwable JavaDoc t ) {
775         return markAndResetFailed( CompletionStatus.COMPLETED_NO, t ) ;
776     }
777     
778     public INTERNAL JavaDoc markAndResetFailed( ) {
779         return markAndResetFailed( CompletionStatus.COMPLETED_NO, null ) ;
780     }
781     
782     public static final int SLOT_TABLE_INVARIANT = SUNVMCID.value + 820 ;
783     
784     public INTERNAL JavaDoc slotTableInvariant( CompletionStatus JavaDoc cs, Throwable JavaDoc t, Object JavaDoc arg0, Object JavaDoc arg1) {
785         INTERNAL JavaDoc exc = new INTERNAL JavaDoc( SLOT_TABLE_INVARIANT, cs ) ;
786         if (t != null)
787             exc.initCause( t ) ;
788         
789         if (logger.isLoggable( Level.WARNING )) {
790             Object JavaDoc[] parameters = new Object JavaDoc[2] ;
791             parameters[0] = arg0 ;
792             parameters[1] = arg1 ;
793             doLog( Level.WARNING, "INTERCEPTORS.slotTableInvariant",
794                 parameters, InterceptorsSystemException.class, exc ) ;
795         }
796         
797         return exc ;
798     }
799     
800     public INTERNAL JavaDoc slotTableInvariant( CompletionStatus JavaDoc cs, Object JavaDoc arg0, Object JavaDoc arg1) {
801         return slotTableInvariant( cs, null, arg0, arg1 ) ;
802     }
803     
804     public INTERNAL JavaDoc slotTableInvariant( Throwable JavaDoc t, Object JavaDoc arg0, Object JavaDoc arg1) {
805         return slotTableInvariant( CompletionStatus.COMPLETED_NO, t, arg0, arg1 ) ;
806     }
807     
808     public INTERNAL JavaDoc slotTableInvariant( Object JavaDoc arg0, Object JavaDoc arg1) {
809         return slotTableInvariant( CompletionStatus.COMPLETED_NO, null, arg0, arg1 ) ;
810     }
811     
812     public static final int INTERCEPTOR_LIST_LOCKED = SUNVMCID.value + 821 ;
813     
814     public INTERNAL JavaDoc interceptorListLocked( CompletionStatus JavaDoc cs, Throwable JavaDoc t ) {
815         INTERNAL JavaDoc exc = new INTERNAL JavaDoc( INTERCEPTOR_LIST_LOCKED, cs ) ;
816         if (t != null)
817             exc.initCause( t ) ;
818         
819         if (logger.isLoggable( Level.WARNING )) {
820             Object JavaDoc[] parameters = null ;
821             doLog( Level.WARNING, "INTERCEPTORS.interceptorListLocked",
822                 parameters, InterceptorsSystemException.class, exc ) ;
823         }
824         
825         return exc ;
826     }
827     
828     public INTERNAL JavaDoc interceptorListLocked( CompletionStatus JavaDoc cs ) {
829         return interceptorListLocked( cs, null ) ;
830     }
831     
832     public INTERNAL JavaDoc interceptorListLocked( Throwable JavaDoc t ) {
833         return interceptorListLocked( CompletionStatus.COMPLETED_NO, t ) ;
834     }
835     
836     public INTERNAL JavaDoc interceptorListLocked( ) {
837         return interceptorListLocked( CompletionStatus.COMPLETED_NO, null ) ;
838     }
839     
840     public static final int SORT_SIZE_MISMATCH = SUNVMCID.value + 822 ;
841     
842     public INTERNAL JavaDoc sortSizeMismatch( CompletionStatus JavaDoc cs, Throwable JavaDoc t ) {
843         INTERNAL JavaDoc exc = new INTERNAL JavaDoc( SORT_SIZE_MISMATCH, cs ) ;
844         if (t != null)
845             exc.initCause( t ) ;
846         
847         if (logger.isLoggable( Level.WARNING )) {
848             Object JavaDoc[] parameters = null ;
849             doLog( Level.WARNING, "INTERCEPTORS.sortSizeMismatch",
850                 parameters, InterceptorsSystemException.class, exc ) ;
851         }
852         
853         return exc ;
854     }
855     
856     public INTERNAL JavaDoc sortSizeMismatch( CompletionStatus JavaDoc cs ) {
857         return sortSizeMismatch( cs, null ) ;
858     }
859     
860     public INTERNAL JavaDoc sortSizeMismatch( Throwable JavaDoc t ) {
861         return sortSizeMismatch( CompletionStatus.COMPLETED_NO, t ) ;
862     }
863     
864     public INTERNAL JavaDoc sortSizeMismatch( ) {
865         return sortSizeMismatch( CompletionStatus.COMPLETED_NO, null ) ;
866     }
867     
868     ///////////////////////////////////////////////////////////
869
// NO_IMPLEMENT
870
///////////////////////////////////////////////////////////
871

872     public static final int PI_ORB_NOT_POLICY_BASED = SUNVMCID.value + 801 ;
873     
874     public NO_IMPLEMENT JavaDoc piOrbNotPolicyBased( CompletionStatus JavaDoc cs, Throwable JavaDoc t ) {
875         NO_IMPLEMENT JavaDoc exc = new NO_IMPLEMENT JavaDoc( PI_ORB_NOT_POLICY_BASED, cs ) ;
876         if (t != null)
877             exc.initCause( t ) ;
878         
879         if (logger.isLoggable( Level.WARNING )) {
880             Object JavaDoc[] parameters = null ;
881             doLog( Level.WARNING, "INTERCEPTORS.piOrbNotPolicyBased",
882                 parameters, InterceptorsSystemException.class, exc ) ;
883         }
884         
885         return exc ;
886     }
887     
888     public NO_IMPLEMENT JavaDoc piOrbNotPolicyBased( CompletionStatus JavaDoc cs ) {
889         return piOrbNotPolicyBased( cs, null ) ;
890     }
891     
892     public NO_IMPLEMENT JavaDoc piOrbNotPolicyBased( Throwable JavaDoc t ) {
893         return piOrbNotPolicyBased( CompletionStatus.COMPLETED_NO, t ) ;
894     }
895     
896     public NO_IMPLEMENT JavaDoc piOrbNotPolicyBased( ) {
897         return piOrbNotPolicyBased( CompletionStatus.COMPLETED_NO, null ) ;
898     }
899     
900     ///////////////////////////////////////////////////////////
901
// OBJECT_NOT_EXIST
902
///////////////////////////////////////////////////////////
903

904     public static final int ORBINITINFO_INVALID = SUNVMCID.value + 801 ;
905     
906     public OBJECT_NOT_EXIST JavaDoc orbinitinfoInvalid( CompletionStatus JavaDoc cs, Throwable JavaDoc t ) {
907         OBJECT_NOT_EXIST JavaDoc exc = new OBJECT_NOT_EXIST JavaDoc( ORBINITINFO_INVALID, cs ) ;
908         if (t != null)
909             exc.initCause( t ) ;
910         
911         if (logger.isLoggable( Level.FINE )) {
912             Object JavaDoc[] parameters = null ;
913             doLog( Level.FINE, "INTERCEPTORS.orbinitinfoInvalid",
914                 parameters, InterceptorsSystemException.class, exc ) ;
915         }
916         
917         return exc ;
918     }
919     
920     public OBJECT_NOT_EXIST JavaDoc orbinitinfoInvalid( CompletionStatus JavaDoc cs ) {
921         return orbinitinfoInvalid( cs, null ) ;
922     }
923     
924     public OBJECT_NOT_EXIST JavaDoc orbinitinfoInvalid( Throwable JavaDoc t ) {
925         return orbinitinfoInvalid( CompletionStatus.COMPLETED_NO, t ) ;
926     }
927     
928     public OBJECT_NOT_EXIST JavaDoc orbinitinfoInvalid( ) {
929         return orbinitinfoInvalid( CompletionStatus.COMPLETED_NO, null ) ;
930     }
931     
932     ///////////////////////////////////////////////////////////
933
// UNKNOWN
934
///////////////////////////////////////////////////////////
935

936     public static final int UNKNOWN_REQUEST_INVOKE = SUNVMCID.value + 801 ;
937     
938     public UNKNOWN JavaDoc unknownRequestInvoke( CompletionStatus JavaDoc cs, Throwable JavaDoc t ) {
939         UNKNOWN JavaDoc exc = new UNKNOWN JavaDoc( UNKNOWN_REQUEST_INVOKE, cs ) ;
940         if (t != null)
941             exc.initCause( t ) ;
942         
943         if (logger.isLoggable( Level.FINE )) {
944             Object JavaDoc[] parameters = null ;
945             doLog( Level.FINE, "INTERCEPTORS.unknownRequestInvoke",
946                 parameters, InterceptorsSystemException.class, exc ) ;
947         }
948         
949         return exc ;
950     }
951     
952     public UNKNOWN JavaDoc unknownRequestInvoke( CompletionStatus JavaDoc cs ) {
953         return unknownRequestInvoke( cs, null ) ;
954     }
955     
956     public UNKNOWN JavaDoc unknownRequestInvoke( Throwable JavaDoc t ) {
957         return unknownRequestInvoke( CompletionStatus.COMPLETED_NO, t ) ;
958     }
959     
960     public UNKNOWN JavaDoc unknownRequestInvoke( ) {
961         return unknownRequestInvoke( CompletionStatus.COMPLETED_NO, null ) ;
962     }
963     
964     
965 }
966
Popular Tags