I - input data typeO - output data typepublic interface MappingFunction<I,O> extends Function<I,O>
| Modifier and Type | Method and Description |
|---|---|
default org.eclipse.ditto.model.connectivity.MessageMappingFailedException |
buildMessageMappingFailedException(org.mozilla.javascript.RhinoException e,
String contentType,
org.eclipse.ditto.model.base.headers.DittoHeaders dittoHeaders)
Build
MessageMappingFailedException from a RhinoException. |
default org.eclipse.ditto.model.connectivity.MessageMappingFailedException buildMessageMappingFailedException(org.mozilla.javascript.RhinoException e,
String contentType,
org.eclipse.ditto.model.base.headers.DittoHeaders dittoHeaders)
MessageMappingFailedException from a RhinoException.e - the original exception thrown by the rhino enginecontentType - the content type of the message which could not be mappeddittoHeaders - the DittoHeaders of the original messageMessageMappingFailedException containing information about the javascript error that occurredCopyright © 2017–2019 Eclipse Foundation. All rights reserved.