Class FrontCacheException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.frontcache.core.FrontCacheException
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionFrontCacheException(String message) FrontCacheException(String message, Throwable cause) FrontCacheException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) FrontCacheException(Throwable cause) -
Method Summary
Modifier and TypeMethodDescriptionintThe origin's status when that is why this was thrown (originStatus(int, String)); 0 otherwise.static FrontCacheExceptionoriginStatus(int status, String message) The origin answered with a status the node does not serve (outside 2xx-4xx).Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
FrontCacheException
public FrontCacheException() -
FrontCacheException
-
FrontCacheException
-
FrontCacheException
-
FrontCacheException
-
-
Method Details
-
originStatus
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.
-