01: /***** Copyright (c) 1999-2000 Object Management Group. Unlimited rights to
02: duplicate and use this code are hereby granted provided that this
03: copyright notice is included.
04: *****/package org.omg.CORBA.portable;
05:
06: public class UnknownException extends org.omg.CORBA.SystemException {
07:
08: public Throwable originalEx;
09:
10: public UnknownException(Throwable ex) {
11: super ("", 0, org.omg.CORBA.CompletionStatus.COMPLETED_NO);
12: originalEx = ex;
13: }
14:
15: /**** added by resolution to Issue 3570 ****/
16: UnknownException(Throwable orig, int minor_code,
17: org.omg.CORBA.CompletionStatus status) {
18: super ("", minor_code, status);
19: originalEx = orig;
20: }
21:
22: UnknownException(Throwable orig, String message) {
23: super (message, 0, org.omg.CORBA.CompletionStatus.COMPLETED_NO);
24: originalEx = orig;
25: }
26:
27: UnknownException(Throwable orig, String message, int minor_code,
28: org.omg.CORBA.CompletionStatus status) {
29: super (message, minor_code, status);
30: originalEx = orig;
31: }
32: /**** end of additions by resolution to Issue 3570 ****/
33: }
|