public class ExceptionToProducerResponseConverters extends Object
| Constructor and Description |
|---|
ExceptionToProducerResponseConverters()
Load the
ExceptionToProducerResponseConverter implementations. |
| Modifier and Type | Method and Description |
|---|---|
Response |
convertExceptionToResponse(SwaggerInvocation swaggerInvocation,
Throwable e) |
public ExceptionToProducerResponseConverters()
ExceptionToProducerResponseConverter implementations. Ensure that those converters whose ExceptionToProducerResponseConverter.getOrder()
return smaller value takes higher priority.public Response convertExceptionToResponse(SwaggerInvocation swaggerInvocation, Throwable e)
Copyright © 2017–2020 The Apache Software Foundation. All rights reserved.