|
EchoPoint 1.0 |
|||||||||
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 java.lang.RuntimeException echopoint.stylesheet.StyleSheetInvalidValueException
A StyleSheetInvalidValueException is thrown when a ClassCastException is encountered when apply a Style to a Component.
This will happen if an invalid style attribute value is stored. For example a Font style value maybe stored against a style name that is expecting a Color object.
A ClassCastException will occur, which is expected to be trapped by the StyleSheet implementation and rethrown as a StyleSheetInvalidValueException.
NOTE : StyleSheetInvalidValueException is derived from RuntimeException and hence the StyleSheet.applyTo() method is not required to declare that it throws this exception.
Constructor Summary | |
StyleSheetInvalidValueException(int lineNo,
java.lang.String s,
java.lang.Exception causeException)
StyleSheetInvalidValueException constructor. |
Method Summary | |
java.lang.Exception |
getCauseException()
Returns the base cause exception of the StyleSheetInvalidValueException or null. |
int |
getLineNo()
The line number at which the exception occurred or -1. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, 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 StyleSheetInvalidValueException(int lineNo, java.lang.String s, java.lang.Exception causeException)
Method Detail |
public java.lang.Exception getCauseException()
public int getLineNo()
public java.lang.String toString()
|
EchoPoint 1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |