01: /**********************************************************************************
02: *
03: * Copyright (c) 2003, 2004 The Regents of the University of Michigan, Trustees of Indiana University,
04: * Board of Trustees of the Leland Stanford, Jr., University, and The MIT Corporation
05: *
06: * Licensed under the Educational Community License Version 1.0 (the "License");
07: * By obtaining, using and/or copying this Original Work, you agree that you have read,
08: * understand, and will comply with the terms and conditions of the Educational Community License.
09: * You may obtain a copy of the License at:
10: *
11: * http://cvs.sakaiproject.org/licenses/license_1_0.html
12: *
13: * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
14: * INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE
15: * AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
16: * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
17: * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
18: *
19: **********************************************************************************/package edu.indiana.lib.twinpeaks.util;
20:
21: public class SearchException extends RuntimeException {
22:
23: /**
24: * Thrown to indicate a search related exception
25: * @param text Explainatory text
26: */
27: public SearchException(String text) {
28: super (text);
29: }
30:
31: /**
32: * Thrown to indicate a DOM processing issue
33: */
34: public SearchException() {
35: super ("");
36: }
37: }
|