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 09-May-2003
09: * Filename $RCSfile: LanguageConsistencyException.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: // Imports
21: ///////////////
22:
23: /**
24: * <p>
25: * An exception that denotes some inconsistency between the arguments to a method
26: * in the ontology API, and the language definition for a given ontology profile.
27: * For example, the arguments of an intersection class description should all be classes.
28: * </p>
29: *
30: * @author Ian Dickinson, HP Labs
31: * (<a href="mailto:Ian.Dickinson@hp.com" >email</a>)
32: * @version CVS $Id: LanguageConsistencyException.java,v 1.8 2008/01/02 12:06:41 andy_seaborne Exp $
33: */
34: public class LanguageConsistencyException extends OntologyException {
35: // Constants
36: //////////////////////////////////
37: private static final long serialVersionUID = 1962961408291647160L;
38:
39: // Static variables
40: //////////////////////////////////
41:
42: // Instance variables
43: //////////////////////////////////
44:
45: // Constructors
46: //////////////////////////////////
47:
48: public LanguageConsistencyException(String message) {
49: super (message);
50: }
51:
52: // External signature methods
53: //////////////////////////////////
54:
55: // Internal implementation methods
56: //////////////////////////////////
57:
58: //==============================================================================
59: // Inner class definitions
60: //==============================================================================
61:
62: }
63:
64: /*
65: (c) Copyright 2002, 2003, 2004, 2005, 2006, 2007, 2008 Hewlett-Packard Development Company, LP
66: All rights reserved.
67:
68: Redistribution and use in source and binary forms, with or without
69: modification, are permitted provided that the following conditions
70: are met:
71:
72: 1. Redistributions of source code must retain the above copyright
73: notice, this list of conditions and the following disclaimer.
74:
75: 2. Redistributions in binary form must reproduce the above copyright
76: notice, this list of conditions and the following disclaimer in the
77: documentation and/or other materials provided with the distribution.
78:
79: 3. The name of the author may not be used to endorse or promote products
80: derived from this software without specific prior written permission.
81:
82: THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
83: IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
84: OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
85: IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
86: INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
87: NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
88: DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
89: THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
90: (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
91: THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
92: */
|