1   package com.atlassian.bonnie.search.extractor;
2   
3   /**
4    * Provides a wrapper around the various exceptions thrown during extraction of content for the search index.
5    * <p/>
6    * Needed mostly because IOException doesn't have a constructor that takes a Throwable cause argument.
7    */
8   public class ExtractorException extends Exception
9   {
10      public ExtractorException()
11      {
12      }
13  
14      public ExtractorException(String message)
15      {
16          super(message);
17      }
18  
19      public ExtractorException(String message, Throwable cause)
20      {
21          super(message, cause);
22      }
23  
24      public ExtractorException(Throwable cause)
25      {
26          super(cause);
27      }
28  }