| Package | Description |
|---|---|
| org.eclipse.ditto.signals.commands.things | |
| org.eclipse.ditto.signals.commands.things.exceptions |
| Modifier and Type | Method and Description |
|---|---|
static ThingErrorResponse |
ThingErrorResponse.fromJson(ThingErrorRegistry thingErrorRegistry,
org.eclipse.ditto.json.JsonObject jsonObject,
org.eclipse.ditto.model.base.headers.DittoHeaders dittoHeaders)
Creates a new
ThingErrorResponse containing the causing DittoRuntimeException which is deserialized
from the passed jsonObject using a special ThingErrorRegistry. |
static ThingErrorResponse |
ThingErrorResponse.fromJson(ThingErrorRegistry thingErrorRegistry,
String jsonString,
org.eclipse.ditto.model.base.headers.DittoHeaders dittoHeaders)
Creates a new
ThingErrorResponse containing the causing DittoRuntimeException which is deserialized
from the passed jsonString using a special ThingErrorRegistry. |
| Modifier and Type | Method and Description |
|---|---|
static ThingErrorRegistry |
ThingErrorRegistry.newInstance()
Returns a new
ThingErrorRegistry. |
static ThingErrorRegistry |
ThingErrorRegistry.newInstance(Map<String,org.eclipse.ditto.signals.base.JsonParsable<org.eclipse.ditto.model.base.exceptions.DittoRuntimeException>> additionalParseStrategies)
Returns a new
ThingErrorRegistry providing additionalParseStrategies as argument - that way the
user of this ThingErrorRegistry can register additional parsers for his own extensions of
DittoRuntimeException. |
Copyright © 2017–2018 Eclipse Foundation. All rights reserved.