All Packages  Class Hierarchy  This Package  Previous  Next  Index  WEKA's home

Class weka.core.UnassignedClassException

java.lang.Object
   |
   +----java.lang.Throwable
           |
           +----java.lang.Exception
                   |
                   +----java.lang.RuntimeException
                           |
                           +----weka.core.UnassignedClassException

public class UnassignedClassException
extends RuntimeException
UnassignedClassException is used when a method requires access to the Attribute designated as the class attribute in a set of Instances, but the Instances does not have any class attribute assigned (such as by setClassIndex()).

Author:
Len Trigg

Constructor Index

 o UnassignedClassException()
Creates a new UnassignedClassException instance with no detail message.
 o UnassignedClassException(String)
Creates a new UnassignedClassException instance with a specified message.

Constructors

 o UnassignedClassException
 public UnassignedClassException()
Creates a new UnassignedClassException instance with no detail message.

 o UnassignedClassException
 public UnassignedClassException(String message)
Creates a new UnassignedClassException instance with a specified message.

Parameters:
messagae - a String containing the message.

All Packages  Class Hierarchy  This Package  Previous  Next  Index  WEKA's home