public class ResourceErrors extends Object
ResourceErrors errors = new ResourceErrors();
IRsourceList list = ResourceFactory.getInstance().getResources(ridList, errors, context);
ResourceException ex = errors.getResourceException();
while (ex != null) {
System.out.println(ex.getRID() + ": " + ex.getMessage());
ex = ex.getNextResourceException();
}
| Constructor and Description |
|---|
ResourceErrors()
Constructs a new instance
|
| Modifier and Type | Method and Description |
|---|---|
void |
append(ResourceErrors errors)
Appends the list of exceptions to this list
|
void |
append(ResourceException ex)
Appends the exception to the list
|
ResourceException |
getResourceException()
Returns the first exception.
|
public void append(ResourceException ex)
ex - The exception to appendpublic void append(ResourceErrors errors)
errors - The list to appendpublic ResourceException getResourceException()
| 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 2021 SAP SE Complete Copyright Notice