koala.dynamicjava.interpreter.throwable
Class ContinueException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended bykoala.dynamicjava.interpreter.throwable.ContinueException
All Implemented Interfaces:
java.io.Serializable

public class ContinueException
extends java.lang.RuntimeException

Thrown to indicate that a continue statement has been reached

See Also:
Serialized Form

Constructor Summary
ContinueException(java.lang.String m)
          Constructs an ContinueException with the specified detail message.
ContinueException(java.lang.String m, java.lang.String l)
          Constructs an ContinueException 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

ContinueException

public ContinueException(java.lang.String m)
Constructs an ContinueException with the specified detail message.

Parameters:
m - the detail message.

ContinueException

public ContinueException(java.lang.String m,
                         java.lang.String l)
Constructs an ContinueException with the specified detail message and label.

Parameters:
m - the detail message.
l - the label
Method Detail

isLabeled

public boolean isLabeled()
Tests whether the statement was labeled


getLabel

public java.lang.String getLabel()
Returns the label of the statement that thrown the exception



Copyright © 2001 Stephane Hillion. All Rights Reserved.