View Javadoc

1   /*
2    ORDI - Ontology Repository and Data Integration
3   
4    Copyright (c) 2004-2007, 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  package com.ontotext.ordi.exception;
19  
20  /**
21   * Super type for all ORDI warnings. 
22   * 
23   * @author vassil
24   *
25   */
26  public class ORDIWarning extends ORDIException {
27  
28      final static long serialVersionUID = 2L;
29  
30      private ORDIWarning next;
31  
32      public ORDIWarning getNextWarning() {
33          return next;
34      }
35  
36      public void setNextWarning(ORDIWarning next) {
37          this.next = next;
38      }
39  
40      public ORDIWarning(String msg) {
41          super(msg);
42      }
43  
44      public ORDIWarning(String msg, Throwable t) {
45          super(msg, t);
46      }
47  
48      public ORDIWarning(Throwable t) {
49          super(t);
50      }
51  }