1 23 24 34 35 package com.sun.ejb.codegen; 36 37 import com.sun.enterprise.util.i18n.StringManager; 38 39 41 42 class ProcessExecutorException extends Exception 43 { 44 ProcessExecutorException(String key, String defalt) 45 { 46 super(localStrings.getStringWithDefault(key, defalt)); 47 } 48 49 ProcessExecutorException(String key, String defalt, Object [] objs) 50 { 51 super(localStrings.getStringWithDefault(key, defalt, objs)); 52 } 53 54 ProcessExecutorException(String key, String defalt, Throwable t) 55 { 56 super(localStrings.getStringWithDefault(key, defalt) 57 + " -- " + t.getMessage(), t); 58 } 59 60 ProcessExecutorException(String key, String defalt, Object [] objs, Throwable t) 61 { 62 super(localStrings.getStringWithDefault(key, defalt, objs) 63 + " -- " + t.getMessage(), t); 64 } 65 66 private static final StringManager localStrings = 67 StringManager.getManager(ProcessExecutor.class); 68 } 69 70 71 72 | Popular Tags |