public class ExceptionConverter extends AbstractErrorConverter
Exception to a list of ErrorWsDTO.| Constructor and Description |
|---|
ExceptionConverter() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
filterExceptionMessage(Throwable t)
The general idea is to reveal only the message from topmost
Throwable. |
void |
populate(Object o,
List<ErrorWsDTO> webserviceErrorList) |
boolean |
supports(Class clazz) |
createTarget, createTargetElementpublic boolean supports(Class clazz)
supports in class AbstractErrorConverterpublic void populate(Object o, List<ErrorWsDTO> webserviceErrorList)
Copyright © 2017 SAP SE. All Rights Reserved.