com.taursys.model
Class UnknownStateValueException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.taursys.util.ChainedException
com.taursys.model.ModelException
com.taursys.model.UnknownStateValueException
- All Implemented Interfaces:
- java.io.Serializable
- public class UnknownStateValueException
- extends ModelException
UnknownStateValueException is caused within Checkbox model by unknown state values.
- Version:
- 1.0
- Author:
- Marty Phelan
- See Also:
- Serialized Form
Constructor Summary |
UnknownStateValueException(int reason,
java.lang.String givenValue)
Creates an UnknownStateValueException with a reason code (which will display its message). |
Method Summary |
static java.lang.String |
getReasonMessage(int reason)
Returns String for given reason code else String for REASON_INVALID_REASON_CODE. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getMessage, getStackTrace, initCause, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
REASON_OFFSET
public static final int REASON_OFFSET
- See Also:
- Constant Field Values
REASON_UNKNOWN_VALUE
public static final int REASON_UNKNOWN_VALUE
- See Also:
- Constant Field Values
UnknownStateValueException
public UnknownStateValueException(int reason,
java.lang.String givenValue)
- Creates an UnknownStateValueException with a reason code (which will display its message).
getReasonMessage
public static java.lang.String getReasonMessage(int reason)
- Returns String for given reason code else String for REASON_INVALID_REASON_CODE.
Copyright © 2007 Martin T Phelan. All Rights Reserved.