1 28 29 package org.objectweb.util.launcher ; 30 31 32 import java.io.PrintStream ; 33 import java.io.PrintWriter ; 34 35 import org.objectweb.util.misc.api.ExceptionWrapper ; 36 38 39 50 public class LauncherException 51 extends ExceptionWrapper 52 { 53 58 public LauncherException(Exception initial) { 59 super(initial); 60 } 62 63 71 75 81 89 92 public String 93 getMessage() { 94 return getException().getMessage(); 95 } 96 97 106 114 117 public void 118 printStackTrace() { 119 getException().printStackTrace(); 120 } 121 122 125 public void 126 printStackTrace(PrintStream s) { 127 getException().printStackTrace(s); 128 } 129 130 133 public void 134 printStackTrace(PrintWriter s) { 135 getException().printStackTrace(s); 136 } 137 138 147 150 public String 151 toString() { 152 return getException().toString(); 153 } 154 } 155 | Popular Tags |