org.androidtransfuse.gen
Class ExceptionWrapper

Package class diagram package ExceptionWrapper
java.lang.Object
  extended by org.androidtransfuse.gen.ExceptionWrapper

public class ExceptionWrapper
extends Object

Author:
John Ericksen

Nested Class Summary
static interface ExceptionWrapper.BlockWriter<T>
           
 
Constructor Summary
ExceptionWrapper(com.sun.codemodel.JCodeModel codeModel)
           
 
Method Summary
<T> T
wrapException(com.sun.codemodel.JBlock block, List<ASTType> throwsTypes, ExceptionWrapper.BlockWriter<T> blockWriter)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExceptionWrapper

@Inject
public ExceptionWrapper(com.sun.codemodel.JCodeModel codeModel)
Method Detail

wrapException

public <T> T wrapException(com.sun.codemodel.JBlock block,
                           List<ASTType> throwsTypes,
                           ExceptionWrapper.BlockWriter<T> blockWriter)
                throws ClassNotFoundException,
                       com.sun.codemodel.JClassAlreadyExistsException
Throws:
ClassNotFoundException
com.sun.codemodel.JClassAlreadyExistsException


Copyright © 2012. All Rights Reserved.