edu.indiana.iucbrf.feature
Class ExceptionFeature
java.lang.Object
edu.indiana.iucbrf.feature.AbstractFeature
edu.indiana.iucbrf.feature.ExceptionFeature
- All Implemented Interfaces:
- Feature, SwingRepresentable, java.io.Serializable, java.lang.Comparable
public class ExceptionFeature
- extends AbstractFeature
This class is used to indicate that an exception occurred when a feature was constructed.
It is used by the FeatureInputPanel classes when a component can not create a feature due to an exception.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
message
protected java.lang.String message
DEFAULT_VARIABLE_TYPE
public static final int DEFAULT_VARIABLE_TYPE
- See Also:
- Constant Field Values
ExceptionFeature
protected ExceptionFeature()
ExceptionFeature
public ExceptionFeature(java.lang.String message)
- Creates a new instance of ExceptionFeature
getDefaultVariableType
public int getDefaultVariableType()
- Description copied from interface:
Feature
- Get the variable type (for example, Feature.NOMINAL_VARIABLE, Feature.ORDINAL_VARIABLE,
Feature.INTERVAL_VARIABLE, or Feature.OTHER_VARIABLE).
midpoint
public Feature midpoint(Feature other_feature)
- Specified by:
midpoint
in interface Feature
- Specified by:
midpoint
in class AbstractFeature
clone
public java.lang.Object clone()
- Specified by:
clone
in interface Feature
- Specified by:
clone
in class AbstractFeature
getMessage
public java.lang.String getMessage()
setValue
public void setValue(java.lang.Object new_value)
toString
public java.lang.String toString()
- Overrides:
toString
in class AbstractFeature