View Javadoc

1   /*
2    wsmo4j - a WSMO API and Reference Implementation
3   
4    Copyright (c) 2004-2005, OntoText Lab. / SIRMA
5   
6    This library is free software; you can redistribute it and/or modify it under
7    the terms of the GNU Lesser General Public License as published by the Free
8    Software Foundation; either version 2.1 of the License, or (at your option)
9    any later version.
10   This library is distributed in the hope that it will be useful, but WITHOUT
11   ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
12   FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
13   details.
14   You should have received a copy of the GNU Lesser General Public License along
15   with this library; if not, write to the Free Software Foundation, Inc.,
16   59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17   */
18  
19  /**
20   * <p>Title: WSMO4J</p>
21   * <p>Description: WSMO API and a Reference Implementation</p>
22   * <p>Copyright:  Copyright (c) 2004-2005</p>
23   * <p>Company: OntoText Lab. / SIRMA </p>
24   */
25  
26  package org.wsmo.common.exception;
27  
28  /**
29   *  This is a <b>checked</b> exception thrown when the changes applied to an entity
30   *  break the consistency of its underlying logical model (if any)
31   *  For example, if an axiom is added to an entity that is in a logical
32   *  formalism not understood or incomatible with the current model
33   *
34   * @author not attributable
35   * @version $Revision: 508 $ $Date: 2005-06-29 20:16:10 +0300 (Wed, 29 Jun 2005) $
36   */
37  public class InvalidModelException
38      extends Exception {
39  
40      public InvalidModelException() {
41          super();
42      }
43  
44      public InvalidModelException(Throwable cause) {
45          super(cause);
46      }
47  
48      public InvalidModelException(String msg) {
49          super(msg);
50      }
51  }
52  /*
53   * $Log$
54   * Revision 1.6  2005/06/29 17:16:10  marin_dimitrov
55   * added constructors (bug 1225639)
56   *
57   * Revision 1.5  2005/06/22 14:40:48  alex_simov
58   * Copyright header added/updated
59   *
60   * Revision 1.4  2005/06/01 10:31:34  marin_dimitrov
61   * v0.4.0
62   *
63   * Revision 1.3  2005/05/12 13:29:16  marin
64   * javadoc, header, footer, etc
65   *
66   */