public class DefaultExceptionToResponseConverter extends Object implements ExceptionToResponseConverter<Throwable>
| Constructor and Description |
|---|
DefaultExceptionToResponseConverter() |
| Modifier and Type | Method and Description |
|---|---|
Response |
convert(SwaggerInvocation swaggerInvocation,
Throwable e) |
Class<Throwable> |
getExceptionClass() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetOrderpublic Class<Throwable> getExceptionClass()
getExceptionClass in interface ExceptionToResponseConverter<Throwable>public Response convert(SwaggerInvocation swaggerInvocation, Throwable e)
convert in interface ExceptionToResponseConverter<Throwable>Copyright © 2017–2018 The Apache Software Foundation. All rights reserved.