1 23 24 package org.apache.slide.search; 25 26 import org.apache.slide.common.SlideException; 27 28 33 public class IndexException extends SlideException { 34 35 Throwable rootCause; 36 37 39 40 45 public IndexException(String message) { 46 super(message); 47 } 48 49 54 public IndexException (String message, Throwable t) { 55 super (message); 56 rootCause = t; 57 } 58 59 64 public IndexException (Throwable t) { 65 super (t.getMessage()); 66 rootCause = t; 67 } 68 69 74 public Throwable getRootCause () { 75 return rootCause; 76 } 77 78 79 } 80 | Popular Tags |