Class CachingSupplier.AltRes

java.lang.Object
org.apache.maven.impl.cache.CachingSupplier.AltRes
Enclosing class:
CachingSupplier<REQ,REP>

public static class CachingSupplier.AltRes extends Object
Special holder class for exceptions that occur during supplier execution. Allows caching and re-throwing of exceptions on subsequent calls.
  • Field Details

    • throwable

      protected final Throwable throwable
  • Constructor Details

    • AltRes

      public AltRes(Throwable throwable)
      Creates a new AltRes with the given throwable.
      Parameters:
      throwable - The throwable to store
  • Method Details

    • getThrowable

      public Throwable getThrowable()