|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
koala.dynamicjava.interpreter.throwable.BreakException
Thrown to indicate that a break statement has been reached
Constructor Summary | |
BreakException(java.lang.String m)
Constructs an BreakException with the
specified detail message. |
|
BreakException(java.lang.String m,
java.lang.String l)
Constructs an BreakException with the
specified detail message and label. |
Method Summary | |
java.lang.String |
getLabel()
Returns the label of the statement that thrown the exception |
boolean |
isLabeled()
Tests whether the statement was labeled |
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 |
Constructor Detail |
public BreakException(java.lang.String m)
BreakException
with the
specified detail message.
m
- the detail message.public BreakException(java.lang.String m, java.lang.String l)
BreakException
with the
specified detail message and label.
m
- the detail message.l
- the labelMethod Detail |
public boolean isLabeled()
public java.lang.String getLabel()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |