Class FcCommandException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.frontcache.resilience.FcCommandException
- All Implemented Interfaces:
Serializable
Replaces
com.netflix.hystrix.exception.HystrixRuntimeException: thrown out of
FcCommand.execute() when the command failed AND the fallback could not supply a value.
Carries the command key and the outcome that caused it so callers can react without string
matching - ConcurrentIncludeProcessor is the one that does (see proposal section 6.4).- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionFcCommandException(String commandKey, FcEventType failureType, String message, Throwable cause) -
Method Summary
Modifier and TypeMethodDescriptionThe outcome that triggered the fallback attempt, e.g.Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
FcCommandException
public FcCommandException(String commandKey, FcEventType failureType, String message, Throwable cause)
-
-
Method Details
-
getCommandKey
-
getFailureType
The outcome that triggered the fallback attempt, e.g. TIMEOUT or SHORT_CIRCUITED.
-