01: /*****************************************************************************
02: * Source code information
03: * -----------------------
04: * Original author Ian Dickinson, HP Labs Bristol
05: * Author email Ian.Dickinson@hp.com
06: * Package Jena 2
07: * Web http://sourceforge.net/projects/jena/
08: * Created 10-Mar-2003
09: * Filename $RCSfile: OntologyException.java,v $
10: * Revision $Revision: 1.8 $
11: * Release status $State: Exp $
12: *
13: * Last modified on $Date: 2008/01/02 12:06:41 $
14: * by $Author: andy_seaborne $
15: *
16: * (c) Copyright 2002, 2003, 2004, 2005, 2006, 2007, 2008 Hewlett-Packard Development Company, LP
17: * (see footer for full conditions)
18: *****************************************************************************/package com.hp.hpl.jena.ontology;
19:
20: import com.hp.hpl.jena.shared.*;
21:
22: // Imports
23: ///////////////
24:
25: /**
26: * <p>
27: * Exception for generic errors that arise while processing ontologies
28: * </p>
29: *
30: * @author Ian Dickinson, HP Labs
31: * (<a href="mailto:Ian.Dickinson@hp.com" >email</a>)
32: * @version CVS $Id: OntologyException.java,v 1.8 2008/01/02 12:06:41 andy_seaborne Exp $
33: */
34: public class OntologyException extends JenaException {
35: // Constants
36: //////////////////////////////////
37:
38: // Static variables
39: //////////////////////////////////
40:
41: // Instance variables
42: //////////////////////////////////
43:
44: // Constructors
45: //////////////////////////////////
46:
47: /**
48: * Construct an ontology exception with a given message.
49: *
50: * @param msg The exception message.
51: */
52: public OntologyException(String msg) {
53: super (msg);
54: }
55:
56: // External signature methods
57: //////////////////////////////////
58:
59: // Internal implementation methods
60: //////////////////////////////////
61:
62: //==============================================================================
63: // Inner class definitions
64: //==============================================================================
65:
66: }
67:
68: /*
69: (c) Copyright 2002, 2003, 2004, 2005, 2006, 2007, 2008 Hewlett-Packard Development Company, LP
70: All rights reserved.
71:
72: Redistribution and use in source and binary forms, with or without
73: modification, are permitted provided that the following conditions
74: are met:
75:
76: 1. Redistributions of source code must retain the above copyright
77: notice, this list of conditions and the following disclaimer.
78:
79: 2. Redistributions in binary form must reproduce the above copyright
80: notice, this list of conditions and the following disclaimer in the
81: documentation and/or other materials provided with the distribution.
82:
83: 3. The name of the author may not be used to endorse or promote products
84: derived from this software without specific prior written permission.
85:
86: THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
87: IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
88: OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
89: IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
90: INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
91: NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
92: DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
93: THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
94: (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
95: THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
96: */
|