|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
csheets.core.IllegalValueTypeException
public class IllegalValueTypeException
An exception that is thrown when an illegal value is encountered.
| Constructor Summary | |
|---|---|
IllegalValueTypeException(Value value,
Value.Type expectedValueType)
Creates a new illegal value type exception. |
|
| Method Summary | |
|---|---|
Value.Type |
getExpectedValueType()
Returns the expected type of the value. |
String |
getMessage()
Returns a message describing the exception. |
Value |
getValue()
Returns the value. |
String |
toString()
Returns a string representation of the exception. |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public IllegalValueTypeException(Value value,
Value.Type expectedValueType)
value - the valueexpectedValueType - the expected type of the value| Method Detail |
|---|
public Value getValue()
public Value.Type getExpectedValueType()
public String getMessage()
getMessage in class Throwablepublic String toString()
toString in class Throwable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||