Class TrueOn404FalseOnPathNotEmpty

java.lang.Object
org.jclouds.atmos.fallbacks.TrueOn404FalseOnPathNotEmpty
All Implemented Interfaces:
Fallback<Boolean>

public final class TrueOn404FalseOnPathNotEmpty extends Object implements Fallback<Boolean>
  • Constructor Details

    • TrueOn404FalseOnPathNotEmpty

      public TrueOn404FalseOnPathNotEmpty()
  • Method Details

    • createOrPropagate

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