Class FrontCacheException

java.lang.Object
java.lang.Throwable
java.lang.Exception
org.frontcache.core.FrontCacheException
All Implemented Interfaces:
Serializable

public class FrontCacheException extends Exception
See Also:
  • Constructor Details

    • FrontCacheException

      public FrontCacheException()
    • FrontCacheException

      public FrontCacheException(String message)
    • FrontCacheException

      public FrontCacheException(Throwable cause)
    • FrontCacheException

      public FrontCacheException(String message, Throwable cause)
    • FrontCacheException

      public FrontCacheException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace)
  • Method Details

    • originStatus

      public static FrontCacheException originStatus(int status, String message)
      The origin answered with a status the node does not serve (outside 2xx-4xx).
    • getOriginStatus

      public int getOriginStatus()
      The origin's status when that is why this was thrown (originStatus(int, String)); 0 otherwise.