org.jclouds.functions
Class ExceptionToValueOrPropagate<E extends Exception,T>
java.lang.Object
org.jclouds.functions.ExceptionToValueOrPropagate<E,T>
- All Implemented Interfaces:
- com.google.common.base.Function<Exception,T>
public class ExceptionToValueOrPropagate<E extends Exception,T>
- extends Object
- implements com.google.common.base.Function<Exception,T>
- Author:
- Adrian Cole
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.google.common.base.Function |
equals |
ExceptionToValueOrPropagate
public ExceptionToValueOrPropagate(Class<E> matchingClass,
@Nullable
T value)
apply
public T apply(Exception from)
- Specified by:
apply
in interface com.google.common.base.Function<Exception,T>
Copyright © 2009-2012 jclouds. All Rights Reserved.