001 /***** Copyright (c) 1999-2000 Object Management Group. Unlimited rights to
002 duplicate and use this code are hereby granted provided that this
003 copyright notice is included.
004 *****/
005
006 package org.omg.CORBA.portable;
007
008 public class UnknownException extends org.omg.CORBA.SystemException {
009
010 public Throwable originalEx;
011 public UnknownException(Throwable ex) {
012 super("", 0, org.omg.CORBA.CompletionStatus.COMPLETED_MAYBE);
013 originalEx = ex;
014 }
015 /**** added by resolution to Issue 3570 ****/
016 UnknownException(Throwable orig, int minor_code,
017 org.omg.CORBA.CompletionStatus status) {
018 super("", minor_code, status);
019 originalEx = orig;
020 }
021 UnknownException(Throwable orig, String message) {
022 super(message, 0, org.omg.CORBA.CompletionStatus.COMPLETED_MAYBE);
023 originalEx = orig;
024 }
025 UnknownException(Throwable orig, String message, int minor_code,
026 org.omg.CORBA.CompletionStatus status) {
027 super(message, minor_code, status);
028 originalEx = orig;
029 }
030 /**** end of additions by resolution to Issue 3570 ****/
031 }
032