1 45 package org.openejb.core.ivm.naming; 46 47 51 public class NamingException extends javax.naming.NamingException { 52 private org.openejb.OpenEJBException delegate; 53 public NamingException( String message, org.openejb.OpenEJBException delegateArg) { 54 super(); 55 delegate = delegateArg; 56 } 57 public NamingException( String message, Throwable rootCause) { 58 super(); 59 delegate = new org.openejb.OpenEJBException( message, rootCause); 60 } 61 public String getMessage() { 62 return delegate.getMessage(); 63 } 64 public void printStackTrace() { 65 delegate.printStackTrace(); 66 } 67 public void printStackTrace( java.io.PrintStream stream) { 68 delegate.printStackTrace(stream); 69 } 70 public void printStackTrace( java.io.PrintWriter writer) { 71 delegate.printStackTrace(writer); 72 } 73 } 74 | Popular Tags |