1 16 package org.apache.commons.lang.exception; 17 18 import java.io.PrintStream ; 19 import java.io.PrintWriter ; 20 21 33 public interface Nestable { 34 35 41 public Throwable getCause(); 42 43 49 public String getMessage(); 50 51 63 public String getMessage(int index); 64 65 75 public String [] getMessages(); 76 77 88 public Throwable getThrowable(int index); 89 90 96 public int getThrowableCount(); 97 98 105 public Throwable [] getThrowables(); 106 107 122 public int indexOfThrowable(Class type); 123 124 145 public int indexOfThrowable(Class type, int fromIndex); 146 147 154 public void printStackTrace(PrintWriter out); 155 156 163 public void printStackTrace(PrintStream out); 164 165 175 public void printPartialStackTrace(PrintWriter out); 176 177 } 178 | Popular Tags |