MXQuery 0.6.0 API Documentation - Copyright 2006-2009 ETH Zurich

ch.ethz.mxquery.model
Class CFException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by ch.ethz.mxquery.exceptions.MXQueryException
              extended by ch.ethz.mxquery.model.CFException
All Implemented Interfaces:
java.io.Serializable

public class CFException
extends MXQueryException

Control Flow Exception
used to handle breaks, continues, and early returns

See Also:
Serialized Form

Field Summary
static int CF_BREAK
           
static int CF_CONTINUE
           
static int CF_EARLY_RETURN
           
 
Constructor Summary
CFException(int type)
           
CFException(int type, Window returnValue)
           
 
Method Summary
 Window getReturnValue()
           
 boolean isBreak()
           
 boolean isContinue()
           
 boolean isEarlyReturn()
           
 
Methods inherited from class ch.ethz.mxquery.exceptions.MXQueryException
getCause, getErrorCode, getErrorPosition, getLocation, getMessage, initCause, printErrorPosition
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getStackTrace, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CF_BREAK

public static final int CF_BREAK
See Also:
Constant Field Values

CF_CONTINUE

public static final int CF_CONTINUE
See Also:
Constant Field Values

CF_EARLY_RETURN

public static final int CF_EARLY_RETURN
See Also:
Constant Field Values
Constructor Detail

CFException

public CFException(int type,
                   Window returnValue)

CFException

public CFException(int type)
Method Detail

isBreak

public boolean isBreak()

isContinue

public boolean isContinue()

isEarlyReturn

public boolean isEarlyReturn()

getReturnValue

public Window getReturnValue()

MXQuery 0.6.0 API Documentation - Copyright 2006-2009 ETH Zurich

MXQuery 0.6.0 API Documentation - Copyright 2006-2009 ETH Zurich