net.janino
Class Java.ThrowStatement

java.lang.Object
  |
  +--net.janino.Java.Statement
        |
        +--net.janino.Java.ThrowStatement
All Implemented Interfaces:
Java.BlockStatement, Java.Locatable, Java.Scope
Enclosing class:
Java

public static class Java.ThrowStatement
extends Java.Statement


Fields inherited from class net.janino.Java.Statement
enclosingScope
 
Constructor Summary
Java.ThrowStatement(Scanner.Location location, Java.Scope enclosingScope, Java.Rvalue expression)
           
 
Method Summary
 boolean compile(ClassFile.CodeAttribute codeAttribute)
           
 
Methods inherited from class net.janino.Java.Statement
getEnclosingScope, getLocation, leave, throwCompileException, throwParseException
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Java.ThrowStatement

public Java.ThrowStatement(Scanner.Location location,
                           Java.Scope enclosingScope,
                           Java.Rvalue expression)
Method Detail

compile

public boolean compile(ClassFile.CodeAttribute codeAttribute)
                throws Java.CompileException
Overrides:
compile in class Java.Statement
Following copied from interface: net.janino.Java.BlockStatement
Returns:
false if this statement cannot complete normally (14.20)