public class ServiceExceptionTransformer
extends java.lang.Object
ServiceException
.Modifier and Type | Method and Description |
---|---|
static ServiceException |
toServiceException(BusinessContextServiceException bcsException,
java.util.Locale locale)
Returns the
ServiceException representation of a given BusinessContextServiceException . |
static ServiceException |
toServiceException(ECException ecException,
java.util.Locale locale)
Returns the
ServiceException representation of a given ECException . |
public static ServiceException toServiceException(ECException ecException, java.util.Locale locale)
ServiceException
representation of a given ECException
.ecException
- the ECException
to convertlocale
- the locale to use in conversionServiceException
representationpublic static ServiceException toServiceException(BusinessContextServiceException bcsException, java.util.Locale locale)
ServiceException
representation of a given BusinessContextServiceException
.bcsException
- the BusinessContextServiceException
to convertlocale
- the locale to use in conversionServiceException
representation