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