|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use ServiceException | |
|---|---|
| com.atlassian.confluence.api.model.validation | |
| com.atlassian.confluence.api.service.content | |
| com.atlassian.confluence.api.service.exceptions | |
| Uses of ServiceException in com.atlassian.confluence.api.model.validation |
|---|
| Methods in com.atlassian.confluence.api.model.validation that return ServiceException | |
|---|---|
ServiceException |
ValidationResult.throwIfInvalid(java.lang.String msg)
converts this validation result into an Exception and throws it |
| Methods in com.atlassian.confluence.api.model.validation that throw ServiceException | |
|---|---|
ServiceException |
ValidationResult.throwIfInvalid(java.lang.String msg)
converts this validation result into an Exception and throws it |
| Uses of ServiceException in com.atlassian.confluence.api.service.content |
|---|
| Methods in com.atlassian.confluence.api.service.content that throw ServiceException | |
|---|---|
PageResponse<Label> |
ContentLabelService.addLabels(java.lang.String contentId,
java.lang.Iterable<Label> labels)
Adds the given labels to the specified content |
ContentBody |
ContentBodyConversionService.convert(ContentBody body,
ContentRepresentation representation)
Convert a ContentBody value into another format, performing validation during the conversion. |
ContentBody |
ContentBodyConversionService.convertBody(Content content,
ContentRepresentation representation)
Convert the single ContentBody value in a Content body map into another format, performing
validation during the conversion. |
Content |
ContentService.create(Content newContent)
Create a piece of content. |
void |
ContentService.delete(Content content)
Removes an item of Content from the system. |
com.atlassian.fugue.Option<Macro> |
ContentService.findMacroByHash(java.lang.String contentId,
java.lang.String versionId,
java.lang.String hash,
Expansion... expansions)
Retrieve details about a macro matching the page, version and macro hash. |
Content |
ContentService.update(Content content)
Updates a piece of content. |
ValidationResult |
ContentService.Validator.validateCreate(Content newContent)
Validate that a piece of content can be included, including permission checks. |
| Uses of ServiceException in com.atlassian.confluence.api.service.exceptions |
|---|
| Subclasses of ServiceException in com.atlassian.confluence.api.service.exceptions | |
|---|---|
class |
BadRequestException
Thrown when the data in the incoming request is incomplete or otherwise invalid. |
class |
ConflictException
Thrown when an UPDATE request is made with a stale version number. |
class |
InternalServerException
A ServiceException wrapper for a general runtime exception. |
class |
NotFoundException
Thrown when things that are expected to be found are NOT found. |
class |
PermissionException
Raised when a user attempts to perform an action they do not have permission for. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||