Package org.jclouds

Class Fallbacks.EmptySetOnNotFoundOr404

  • All Implemented Interfaces:
    Fallback<com.google.common.collect.ImmutableSet<Object>>
    Enclosing class:
    Fallbacks

    public static final class Fallbacks.EmptySetOnNotFoundOr404
    extends Object
    implements Fallback<com.google.common.collect.ImmutableSet<Object>>
    • Constructor Detail

      • EmptySetOnNotFoundOr404

        public EmptySetOnNotFoundOr404()
    • Method Detail

      • createOrPropagate

        public com.google.common.collect.ImmutableSet<Object> createOrPropagate​(Throwable t)
                                                                         throws Exception
        Description copied from interface: Fallback
        The exception is provided so that the Fallback implementation can conditionally determine whether to propagate the exception or to attempt to recover.
        Specified by:
        createOrPropagate in interface Fallback<com.google.common.collect.ImmutableSet<Object>>
        Parameters:
        t - the exception that made the call fail.
        Throws:
        Exception