public class WDHttp extends Object
ResourceException
s.
Copyright (c) SAP AG 2001-2005
Constructor and Description |
---|
WDHttp() |
Modifier and Type | Method and Description |
---|---|
static ResourceException |
exception(RID rid,
int httpCode,
Name condition,
String message) |
static ResourceException |
exception(RID rid,
int httpCode,
String message)
Construct a resource exception for the given HTTP response
code and message.
|
static ResourceException |
exception(RID rid,
IResponse response)
Construct a resource exception for the given HTTP response
code and message.
|
static ResourceException |
exception(UriContext uc,
IResponse response,
String message)
Construct a resource exception for the give HTTP response
code and message.
|
static ResourceException |
exception(UriContext uc,
IResponse response,
String message,
RID target)
Construct a resource exception for the give HTTP response
code and message.
|
static ResourceException |
getError(IResponse response,
UriContext uc,
String message,
RID target) |
public static ResourceException exception(UriContext uc, IResponse response, String message)
uc
- UriContext of the concerned resourceresponse
- from the remote systemmessage
- for this errorpublic static ResourceException exception(UriContext uc, IResponse response, String message, RID target)
uc
- UriContext of the concerned resourceresponse
- from the remote systemmessage
- for this errortarget
- no descriptionpublic static ResourceException exception(RID rid, int httpCode, String message)
rid
- of the concerned resourcehttpCode
- from the remote systemmessage
- for this errorpublic static ResourceException exception(RID rid, int httpCode, Name condition, String message)
public static ResourceException exception(RID rid, IResponse response)
rid
- of the concerned resourceresponse
- for this responsepublic static ResourceException getError(IResponse response, UriContext uc, String message, RID target)
Access Rights |
---|
SC | DC | Public Part | ACH |
---|---|---|---|
[sap.com] KMC-CM
|
[sap.com] tc/km/frwk
|
api
|
EP-KM-CM
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
Copyright 2018 SAP AG Complete Copyright Notice