public abstract class DefaultErrorResultHandler<T extends ODataException> extends Object implements ErrorResultHandler<T>
| Modifier and Type | Field and Description |
|---|---|
static String |
MISSING_ERROR_PARAM |
static String |
MISSING_MESSAGE_OR_VALUE_PARAM |
| Constructor and Description |
|---|
DefaultErrorResultHandler() |
| Modifier and Type | Method and Description |
|---|---|
static DefaultErrorResultHandler<ODataException> |
create() |
T |
createError(String message,
Object origin,
int httpStatusCode) |
public static final String MISSING_ERROR_PARAM
public static final String MISSING_MESSAGE_OR_VALUE_PARAM
public T createError(String message, Object origin, int httpStatusCode)
createError in interface ErrorResultHandler<T extends ODataException>public static DefaultErrorResultHandler<ODataException> create()
Copyright © 2020 SAP. All Rights Reserved.