Interface LenientFallbackTrace
-
- All Superinterfaces:
org.springframework.core.Ordered
- All Known Implementing Classes:
ActuatorLenientFallbackTrace
public interface LenientFallbackTrace extends org.springframework.core.OrderedIf noDataRouteContextis set, and it is desirable for a defaultDataRouteSupportingto be made available, instances of this interface can be made available as bean and inspect the exception trace and respond positively if the default can be used. Note, this currently has limited support per composite routing concept.- Author:
- Jeff Fischer
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description booleanallow(Exception exception)Based on the exception, should the composite routing component allow a default routable component to be used.default intgetOrder()
-
-
-
Method Detail
-
getOrder
default int getOrder()
- Specified by:
getOrderin interfaceorg.springframework.core.Ordered
-
allow
boolean allow(Exception exception)
Based on the exception, should the composite routing component allow a default routable component to be used.- Parameters:
exception- The exception that would normally be thrown if no route was available.- Returns:
- Whether to allow a default routable component.
-
-