| Package | Description |
|---|---|
| org.sakaiproject.contentreview.service |
| Modifier and Type | Method and Description |
|---|---|
protected String |
BaseContentReviewService.createLastError(BaseContentReviewService.LastErrorUpdater leu)
Create's an XML model that represents calls to ResourceLoader.getFormattedMessage(...).
|
protected void |
BaseContentReviewService.setLastError(ContentReviewItem item,
BaseContentReviewService.LastErrorUpdater leu)
Sets the ContentReviewItem's lastError property to the result of createLastError(leu).
|
protected void |
BaseContentReviewService.setLastError(ContentReviewItem item,
Exception e,
BaseContentReviewService.LastErrorUpdater leu)
If the Exception is an instance of ContentReviewProviderException, the item's lastError is set to the exception's I18nXml;
otherwise it falls back to leu;
if leu is null, it falls back to getLocalizedMessage()
|
Copyright © 2003–2021 Sakai Project. All rights reserved.