KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > hp > hpl > jena > rdf > model > InvalidListException


1 /*****************************************************************************
2  * Source code information
3  * -----------------------
4  * Original author Ian Dickinson, HP Labs Bristol
5  * Author email Ian.Dickinson@hp.com
6  * Package Jena 2
7  * Web http://sourceforge.net/projects/jena/
8  * Created 24 Jan 2003
9  * Filename $RCSfile: InvalidListException.java,v $
10  * Revision $Revision: 1.6 $
11  * Release status @releaseStatus@ $State: Exp $
12  *
13  * Last modified on $Date: 2005/02/21 12:14:01 $
14  * by $Author: andy_seaborne $
15  *
16  * (c) Copyright 2003, 2004, 2005 Hewlett-Packard Development Company, LP
17  * (see footer for full conditions)
18  *****************************************************************************/

19
20 // Package
21
///////////////
22
package com.hp.hpl.jena.rdf.model;
23
24
25
26 // Imports
27
///////////////
28
import com.hp.hpl.jena.shared.JenaException;
29
30
31 /**
32  * <p>
33  * A exception that is thrown when an operation is attempted on a list that is
34  * not well-formed, and is being processed in strict mode.
35  * </p>
36  *
37  * @author Ian Dickinson, HP Labs
38  * (<a HREF="mailto:Ian.Dickinson@hp.com">email</a>)
39  * @version Release ($Id: InvalidListException.java,v 1.6 2005/02/21 12:14:01 andy_seaborne Exp $)
40  */

41 public class InvalidListException
42     extends JenaException
43 {
44     // Constants
45
//////////////////////////////////
46

47
48     // Static variables
49
//////////////////////////////////
50

51
52     // Instance variables
53
//////////////////////////////////
54

55
56     // Constructors
57
//////////////////////////////////
58

59     /**
60      * Construct an invalid list exception with a default message.
61      */

62     public InvalidListException() {
63         super( "Tried to operate on a list that is not well-formed" );
64     }
65
66     /**
67      * Construct an invalid list exception with a given message.
68      *
69      * @param msg The exception message.
70      */

71     public InvalidListException( String JavaDoc msg ) {
72         super( msg );
73     }
74
75
76     // External signature methods
77
//////////////////////////////////
78

79
80     // Internal implementation methods
81
//////////////////////////////////
82

83
84     //==============================================================================
85
// Inner class definitions
86
//==============================================================================
87

88
89 }
90
91
92 /*
93     (c) Copyright 2003, 2004, 2005 Hewlett-Packard Development Company, LP
94     All rights reserved.
95
96     Redistribution and use in source and binary forms, with or without
97     modification, are permitted provided that the following conditions
98     are met:
99
100     1. Redistributions of source code must retain the above copyright
101        notice, this list of conditions and the following disclaimer.
102
103     2. Redistributions in binary form must reproduce the above copyright
104        notice, this list of conditions and the following disclaimer in the
105        documentation and/or other materials provided with the distribution.
106
107     3. The name of the author may not be used to endorse or promote products
108        derived from this software without specific prior written permission.
109
110     THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
111     IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
112     OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
113     IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
114     INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
115     NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
116     DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
117     THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
118     (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
119     THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
120 */

121
Popular Tags