Errai 3.0.1-SNAPSHOT

org.jboss.errai.codegen.builder.callstack
Class ThrowException

java.lang.Object
  extended by org.jboss.errai.codegen.builder.callstack.AbstractCallElement
      extended by org.jboss.errai.codegen.builder.callstack.ThrowException
All Implemented Interfaces:
CallElement

public class ThrowException
extends AbstractCallElement

Author:
Christian Sadilek

Field Summary
 
Fields inherited from class org.jboss.errai.codegen.builder.callstack.AbstractCallElement
blame, next, resultType
 
Constructor Summary
ThrowException(Class<? extends Throwable> throwableType, Object... parameters)
           
ThrowException(String exceptionVariableName)
           
 
Method Summary
 void handleCall(CallWriter writer, Context context, Statement statement)
           
 String toString()
           
 
Methods inherited from class org.jboss.errai.codegen.builder.callstack.AbstractCallElement
append, blameAndRethrow, getNext, getResultType, nextOrReturn, setNext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ThrowException

public ThrowException(String exceptionVariableName)

ThrowException

public ThrowException(Class<? extends Throwable> throwableType,
                      Object... parameters)
Method Detail

handleCall

public void handleCall(CallWriter writer,
                       Context context,
                       Statement statement)

toString

public String toString()
Overrides:
toString in class AbstractCallElement

Errai 3.0.1-SNAPSHOT

Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.