|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
errors.GUIFileException
errors.BadChildWidgetException
public class BadChildWidgetException
BadChildWidgetException is thrown when there is an illegal child. Thrown by WidgetDefs.
| Field Summary | |
|---|---|
String |
childType
The child widget in violation. |
Widget |
widget
The parent widget for which the child widget is invalid. |
| Fields inherited from class errors.GUIFileException |
|---|
lineNum |
| Constructor Summary | |
|---|---|
BadChildWidgetException(Widget widget)
Report that a given widget cannot have any children. |
|
BadChildWidgetException(Widget widget,
String childType)
Report an erroneus widget type for the child of a given widget. |
|
BadChildWidgetException(Widget widget,
Widget child)
Report an erroneous child widget for a given widget. |
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public final Widget widget
public final String childType
| Constructor Detail |
|---|
public BadChildWidgetException(Widget widget,
Widget child)
widget - The parent widget.child - The child widget in violation.
public BadChildWidgetException(Widget widget,
String childType)
widget - The parent widget.childType - The type of the child widget in violation.public BadChildWidgetException(Widget widget)
widget - The parent widget.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||