Interface LenientFallbackTrace
-
- All Superinterfaces:
org.springframework.core.Ordered
- All Known Implementing Classes:
ActuatorLenientFallbackTrace
public interface LenientFallbackTrace extends org.springframework.core.Ordered
If noDataRouteContext
is set, and it is desirable for a defaultDataRouteSupporting
to 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 boolean
allow(Exception exception)
Based on the exception, should the composite routing component allow a default routable component to be used.default int
getOrder()
-
-
-
Method Detail
-
getOrder
default int getOrder()
- Specified by:
getOrder
in 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.
-
-