View Javadoc

1   /***
2    *  Copyright 2003-2010 Terracotta, Inc.
3    *
4    *  Licensed under the Apache License, Version 2.0 (the "License");
5    *  you may not use this file except in compliance with the License.
6    *  You may obtain a copy of the License at
7    *
8    *      http://www.apache.org/licenses/LICENSE-2.0
9    *
10   *  Unless required by applicable law or agreed to in writing, software
11   *  distributed under the License is distributed on an "AS IS" BASIS,
12   *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   *  See the License for the specific language governing permissions and
14   *  limitations under the License.
15   */
16  
17  package net.sf.ehcache.search.attribute;
18  
19  import net.sf.ehcache.search.SearchException;
20  
21  import java.io.Serializable;
22  
23  /***
24   * An exception to indicate that an attribute extractor was unable to be processed.
25   * <p/>
26   * Attributes are extracted on put or update, so this exception will be thrown to the calling
27   * thread.
28   *
29   * @author Greg Luck
30   */
31  public class AttributeExtractorException extends SearchException implements Serializable {
32  
33  
34      private static final long serialVersionUID = 5066522240394222152L;
35  
36  
37      /***
38       * Construct a AttributeExtractorException
39       *
40       * @param message the description of the exception
41       */
42      public AttributeExtractorException(String message) {
43          super(message);
44      }
45  
46      /***
47       * Construct a AttributeExtractorException with an underlying cause and message
48       *
49       * @param message
50       * @param cause
51       */
52      public AttributeExtractorException(String message, Throwable cause) {
53          super(message, cause);
54      }
55  
56      /***
57       * Construct a AttributeExtractorException with an underlying cause
58       *
59       * @param cause
60       */
61      public AttributeExtractorException(Throwable cause) {
62          super(cause);
63      }
64  }