com.android.jack.api.v01
Class ChainedException.ChainedExceptionBuilder<T extends ChainedException>

java.lang.Object
  extended by com.android.jack.api.v01.ChainedException.ChainedExceptionBuilder<T>
Enclosing class:
ChainedException

public static class ChainedException.ChainedExceptionBuilder<T extends ChainedException>
extends java.lang.Object

Builder to construct a chain of exceptions.


Constructor Summary
ChainedException.ChainedExceptionBuilder()
           
 
Method Summary
 void appendException(T exceptions)
           
 T getException()
           
 void throwIfNecessary()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChainedException.ChainedExceptionBuilder

public ChainedException.ChainedExceptionBuilder()
Method Detail

appendException

public void appendException(@Nonnull
                            T exceptions)

throwIfNecessary

public void throwIfNecessary()
                      throws T extends ChainedException
Throws:
T extends ChainedException

getException

@Nonnull
public T getException()