org.jclouds.rest.suppliers
Class SetAndThrowAuthorizationExceptionSupplier<T>

java.lang.Object
  extended by org.jclouds.rest.suppliers.SetAndThrowAuthorizationExceptionSupplier<T>
All Implemented Interfaces:
com.google.common.base.Supplier<T>

public class SetAndThrowAuthorizationExceptionSupplier<T>
extends Object
implements com.google.common.base.Supplier<T>

Author:
Adrian Cole

Constructor Summary
SetAndThrowAuthorizationExceptionSupplier(com.google.common.base.Supplier<T> delegate, AtomicReference<AuthorizationException> authException)
           
 
Method Summary
 T get()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SetAndThrowAuthorizationExceptionSupplier

public SetAndThrowAuthorizationExceptionSupplier(com.google.common.base.Supplier<T> delegate,
                                                 AtomicReference<AuthorizationException> authException)
Method Detail

get

public T get()
Specified by:
get in interface com.google.common.base.Supplier<T>

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009-2011 jclouds. All Rights Reserved.