Package org.jclouds

Class Fallbacks.VoidOnNotFoundOr404

java.lang.Object
org.jclouds.Fallbacks.VoidOnNotFoundOr404
All Implemented Interfaces:
Fallback<Void>
Enclosing class:
Fallbacks

public static final class Fallbacks.VoidOnNotFoundOr404 extends Object implements Fallback<Void>
  • Constructor Details

    • VoidOnNotFoundOr404

      public VoidOnNotFoundOr404()
  • Method Details

    • createOrPropagate

      public Void 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<Void>
      Parameters:
      t - the exception that made the call fail.
      Throws:
      Exception