1 26 27 package org.objectweb.corba.util.api; 28 29 import org.objectweb.util.misc.api.ExceptionWrapper; 31 32 40 41 public class UserExceptionWrapper 42 extends ExceptionWrapper 43 implements UserExceptionHolder 44 { 45 51 57 58 public 59 UserExceptionWrapper() 60 { 61 super(); 63 } 64 65 70 public 71 UserExceptionWrapper(org.omg.CORBA.UserException userException) 72 { 73 super(userException); 75 } 76 77 84 public 85 UserExceptionWrapper(org.omg.CORBA.UserException userException, 86 String message) 87 { 88 super(userException, message); 90 } 91 92 98 104 109 public org.omg.CORBA.UserException 110 getUserException() 111 { 112 return (org.omg.CORBA.UserException )getException(); 113 } 114 115 120 public void 121 setUserException(org.omg.CORBA.UserException userException) 122 { 123 setException(userException); 124 } 125 126 } 132 | Popular Tags |