Interface ExceptionResponseFactory
- All Known Implementing Classes:
DefaultExceptionResponseFactory
public interface ExceptionResponseFactory
Factory to create the right type of response resource for an exception.
- Since:
- 2.0.0
-
Method Summary
Modifier and TypeMethodDescriptionCreate the response resource.
-
Method Details
-
create
Create the response resource.- Parameters:
throwable
- the exception- Returns:
- the error resource
-