1 | /*
|
---|
2 | * This program is free software; you can redistribute it and/or modify
|
---|
3 | * it under the terms of the GNU General Public License as published by
|
---|
4 | * the Free Software Foundation; either version 2 of the License, or
|
---|
5 | * (at your option) any later version.
|
---|
6 | *
|
---|
7 | * This program is distributed in the hope that it will be useful,
|
---|
8 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
9 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
---|
10 | * GNU General Public License for more details.
|
---|
11 | *
|
---|
12 | * You should have received a copy of the GNU General Public License
|
---|
13 | * along with this program; if not, write to the Free Software
|
---|
14 | * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
---|
15 | */
|
---|
16 |
|
---|
17 | /*
|
---|
18 | * UnassignedClassException.java
|
---|
19 | * Copyright (C) 2001 Webmind Corp.
|
---|
20 | */
|
---|
21 |
|
---|
22 | package weka.core;
|
---|
23 |
|
---|
24 | /**
|
---|
25 | * <code>UnassignedClassException</code> is used when
|
---|
26 | * a method requires access to the Attribute designated as
|
---|
27 | * the class attribute in a set of Instances, but the Instances does not
|
---|
28 | * have any class attribute assigned (such as by setClassIndex()).
|
---|
29 | *
|
---|
30 | * @author <a href="mailto:[email protected]">Len Trigg</a>
|
---|
31 | * @version $Revision: 8815 $
|
---|
32 | */
|
---|
33 | public class UnassignedClassException extends RuntimeException {
|
---|
34 |
|
---|
35 | /**
|
---|
36 | * Creates a new <code>UnassignedClassException</code> instance
|
---|
37 | * with no detail message.
|
---|
38 | */
|
---|
39 | public UnassignedClassException() {
|
---|
40 | super();
|
---|
41 | }
|
---|
42 |
|
---|
43 | /**
|
---|
44 | * Creates a new <code>UnassignedClassException</code> instance
|
---|
45 | * with a specified message.
|
---|
46 | *
|
---|
47 | * @param messagae a <code>String</code> containing the message.
|
---|
48 | */
|
---|
49 | public UnassignedClassException(String message) {
|
---|
50 | super(message);
|
---|
51 | }
|
---|
52 | }
|
---|