public class ExceptionUtility extends Object
| Modifier and Type | Field and Description |
|---|---|
static List<String> |
corePackages |
| Constructor and Description |
|---|
ExceptionUtility(DefaultMapperFactory mapperFactory,
boolean reportStateOnException) |
| Modifier and Type | Method and Description |
|---|---|
MappingException |
decorate(MappingException me) |
MappingException |
newMappingException(String message) |
MappingException |
newMappingException(String message,
Throwable cause) |
MappingException |
newMappingException(Throwable cause) |
static boolean |
originatedByOrika(Throwable t)
Tests whether the passed throwable was originated by orika mapper code.
|
public ExceptionUtility(DefaultMapperFactory mapperFactory, boolean reportStateOnException)
public MappingException newMappingException(String message, Throwable cause)
public MappingException newMappingException(String message)
public MappingException newMappingException(Throwable cause)
public MappingException decorate(MappingException me)
me - public static boolean originatedByOrika(Throwable t)
t - Copyright © 2019 Glasnost. All rights reserved.