public class HystrixBadRequestException
extends java.lang.RuntimeException
Unlike all other exceptions thrown by a HystrixCommand
this will not trigger fallback, not count against failure metrics and thus not trigger the circuit breaker.
NOTE: This should only be used when an error is due to user input such as IllegalArgumentException
otherwise it defeats the purpose of fault-tolerance and fallback behavior.
Constructor and Description |
---|
HystrixBadRequestException(java.lang.String message) |
HystrixBadRequestException(java.lang.String message,
java.lang.Throwable cause) |