public class OdataGateWayException
extends org.apache.olingo.odata2.api.exception.ODataApplicationException
| Modifier and Type | Class and Description |
|---|---|
static interface |
OdataGateWayException.MessageKey |
| Constructor and Description |
|---|
OdataGateWayException(OdataGateWayException.MessageKey messageKey,
String message,
Locale locale,
org.apache.olingo.odata2.api.commons.HttpStatusCodes status) |
OdataGateWayException(OdataGateWayException.MessageKey messageKey,
String message,
Locale locale,
org.apache.olingo.odata2.api.commons.HttpStatusCodes status,
Throwable e) |
| Modifier and Type | Method and Description |
|---|---|
String |
getCode() |
String |
getLocalizedMessage() |
getHttpStatus, getLocalegetApplicationExceptionCause, getHttpExceptionCause, getMessageExceptionCause, isCausedByApplicationException, isCausedByHttpException, isCausedByMessageExceptionaddSuppressed, fillInStackTrace, getCause, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic OdataGateWayException(OdataGateWayException.MessageKey messageKey, String message, Locale locale, org.apache.olingo.odata2.api.commons.HttpStatusCodes status)
public OdataGateWayException(OdataGateWayException.MessageKey messageKey, String message, Locale locale, org.apache.olingo.odata2.api.commons.HttpStatusCodes status, Throwable e)
public String getLocalizedMessage()
getLocalizedMessage in class Throwablepublic String getCode()
getCode in class org.apache.olingo.odata2.api.exception.ODataApplicationExceptionCopyright © 2020 SAP. All Rights Reserved.