org.jboss.errai.codegen
Class ThrowsDeclaration
java.lang.Object
org.jboss.errai.codegen.AbstractStatement
org.jboss.errai.codegen.ThrowsDeclaration
- All Implemented Interfaces:
- Statement
public class ThrowsDeclaration
- extends AbstractStatement
- Author:
- Christian Sadilek
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
of
public static ThrowsDeclaration of(Class<? extends Throwable>... exceptionTypes)
of
public static ThrowsDeclaration of(MetaClass... exceptionTypes)
none
public static ThrowsDeclaration none()
isEmpty
public boolean isEmpty()
getExceptionTypes
public MetaClass[] getExceptionTypes()
generate
public String generate(Context context)
Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.