1 54 package org.hibernate.exception; 55 56 import java.io.PrintStream ; 57 import java.io.PrintWriter ; 58 59 71 public interface Nestable { 72 73 79 public Throwable getCause(); 80 81 87 public String getMessage(); 88 89 101 public String getMessage(int index); 102 103 113 public String [] getMessages(); 114 115 126 public Throwable getThrowable(int index); 127 128 134 public int getThrowableCount(); 135 136 143 public Throwable [] getThrowables(); 144 145 154 public int indexOfThrowable(Class type); 155 156 171 public int indexOfThrowable(Class type, int fromIndex); 172 173 180 public void printStackTrace(PrintWriter out); 181 182 189 public void printStackTrace(PrintStream out); 190 191 201 public void printPartialStackTrace(PrintWriter out); 202 203 } 204 | Popular Tags |