|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Throwable | +--java.lang.Exception | +--nrc.fuzzy.FuzzyException | +--nrc.fuzzy.FuzzySetException | +--nrc.fuzzy.NoXValueForMembershipException
The NoXValueForMembershipException
class is thrown to indicate that
an X value corresponding to a membership value could not be found for the
given FuzzySet/FuzzyValue. This exception is thrown exclusively by the
FuzzySet getXForMembership method.
In the construction of a NoXValueForMembershipException, the offending membership value, will be stored in the exception. This value will also appear in the exception message, should the user call the getMessage method.
FuzzySetException
,
Serialized FormConstructor Summary | |
NoXValueForMembershipException(double yValue)
Constructs a new NoXValueForMembershipException without a specific detail message. |
|
NoXValueForMembershipException(double yValue,
java.lang.String message)
Constructs a new NoXValueForMembershipException with a specific detail message. |
Method Summary | |
java.lang.String |
getMessage()
Returns the detail message to the user. |
double |
getYValue()
Returns the offending y value. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public NoXValueForMembershipException(double yValue)
yValue
- the y value with no corresponding x value for the fuzzy setpublic NoXValueForMembershipException(double yValue, java.lang.String message)
yValue
- the y value with no corresponding x value for the fuzzy setmessage
- the specific detail messageMethod Detail |
public double getYValue()
public java.lang.String getMessage()
getMessage
in class java.lang.Throwable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |