public class HystrixBadRequestException extends 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(String message) |
HystrixBadRequestException(String message,
Throwable cause) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Copyright © 2020. All Rights Reserved.