Class ForwardExceptionMessageFormatter
java.lang.Object
de.hybris.platform.webservicescommons.resolver.formatters.AbstractExceptionMessageFormatter
de.hybris.platform.webservicescommons.resolver.formatters.ForwardExceptionMessageFormatter
Formatter that returns the exception message unchanged.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringformatMessage(String extensionName, Exception exception, ErrorWsDTO errorWsDTO) Formats exception message.Methods inherited from class de.hybris.platform.webservicescommons.resolver.formatters.AbstractExceptionMessageFormatter
setMessages
-
Constructor Details
-
ForwardExceptionMessageFormatter
public ForwardExceptionMessageFormatter()
-
-
Method Details
-
formatMessage
Description copied from class:AbstractExceptionMessageFormatterFormats exception message.- Specified by:
formatMessagein classAbstractExceptionMessageFormatter- Parameters:
extensionName- extension nameexception- exception objecterrorWsDTO- webservices error object for which message is formatted- Returns:
- formatted message
-