| Package | Description |
|---|---|
| ca.uhn.fhir.model.base.resource | |
| ca.uhn.fhir.rest.api | |
| ca.uhn.fhir.rest.server.exceptions | |
| ca.uhn.fhir.util | |
| ca.uhn.fhir.validation |
| Modifier and Type | Interface and Description |
|---|---|
interface |
BaseOperationOutcome |
| Modifier and Type | Method and Description |
|---|---|
IBaseOperationOutcome |
MethodOutcome.getOperationOutcome()
Returns the
IBaseOperationOutcome resource to return to the client or null if none. |
| Modifier and Type | Method and Description |
|---|---|
MethodOutcome |
MethodOutcome.setOperationOutcome(IBaseOperationOutcome theBaseOperationOutcome)
Sets the
IBaseOperationOutcome resource to return to the client. |
| Constructor and Description |
|---|
MethodOutcome(IBaseOperationOutcome theOperationOutcome)
Constructor
|
MethodOutcome(IIdType theId,
IBaseOperationOutcome theBaseOperationOutcome)
Constructor
|
MethodOutcome(IIdType theId,
IBaseOperationOutcome theBaseOperationOutcome,
Boolean theCreated)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
IBaseOperationOutcome |
BaseServerResponseException.getOperationOutcome()
Returns the
IBaseOperationOutcome resource if any which was supplied in the response, or null |
| Modifier and Type | Method and Description |
|---|---|
void |
BaseServerResponseException.setOperationOutcome(IBaseOperationOutcome theBaseOperationOutcome)
Sets the BaseOperationOutcome resource associated with this exception.
|
| Constructor and Description |
|---|
BaseServerResponseException(int theStatusCode,
String theMessage,
IBaseOperationOutcome theBaseOperationOutcome)
Constructor
|
BaseServerResponseException(int theStatusCode,
String theMessage,
Throwable theCause,
IBaseOperationOutcome theBaseOperationOutcome)
Constructor
|
BaseServerResponseException(int theStatusCode,
Throwable theCause,
IBaseOperationOutcome theBaseOperationOutcome)
Constructor
|
ForbiddenOperationException(String theMessage,
IBaseOperationOutcome theOperationOutcome)
Constructor
|
InternalErrorException(String theMessage,
IBaseOperationOutcome theOperationOutcome)
Constructor
|
InvalidRequestException(String theMessage,
IBaseOperationOutcome theOperationOutcome)
Constructor
|
MethodNotAllowedException(String theMessage,
IBaseOperationOutcome theOperationOutcome)
Constructor
|
MethodNotAllowedException(String theMessage,
IBaseOperationOutcome theOperationOutcome,
RequestTypeEnum... theAllowedMethods)
Constructor
|
NotImplementedOperationException(String theMessage,
IBaseOperationOutcome theOperationOutcome)
Constructor
|
NotModifiedException(String theMessage,
IBaseOperationOutcome theOperationOutcome)
Constructor
|
PreconditionFailedException(String theMessage,
IBaseOperationOutcome theOperationOutcome)
Constructor
|
ResourceGoneException(String theMessage,
IBaseOperationOutcome theOperationOutcome)
Constructor
|
ResourceNotFoundException(Class<? extends IResource> theClass,
IdDt theId,
IBaseOperationOutcome theOperationOutcome) |
ResourceNotFoundException(Class<? extends IResource> theClass,
IIdType theId,
IBaseOperationOutcome theOperationOutcome) |
ResourceNotFoundException(IIdType theId,
IBaseOperationOutcome theOperationOutcome) |
ResourceNotFoundException(String theMessage,
IBaseOperationOutcome theOperationOutcome)
Constructor
|
ResourceVersionConflictException(String theMessage,
IBaseOperationOutcome theOperationOutcome)
Constructor
|
ResourceVersionNotSpecifiedException(int theStatusCode,
String theMessage,
IBaseOperationOutcome theOperationOutcome)
Deprecated.
Constructor
|
ResourceVersionNotSpecifiedException(String theMessage,
IBaseOperationOutcome theOperationOutcome)
Deprecated.
Constructor
|
UnclassifiedServerFailureException(int theStatusCode,
String theMessage,
IBaseOperationOutcome theOperationOutcome)
Constructor
|
UnprocessableEntityException(FhirContext theCtx,
IBaseOperationOutcome theOperationOutcome)
Constructor which accepts an
IBaseOperationOutcome resource which will be supplied in the response |
UnprocessableEntityException(IBaseOperationOutcome theOperationOutcome)
Deprecated.
Use constructor with FhirContext argument
|
UnprocessableEntityException(String theMessage,
IBaseOperationOutcome theOperationOutcome)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
static IBaseOperationOutcome |
OperationOutcomeUtil.newInstance(FhirContext theCtx) |
| Modifier and Type | Method and Description |
|---|---|
static void |
OperationOutcomeUtil.addIssue(FhirContext theCtx,
IBaseOperationOutcome theOperationOutcome,
String theSeverity,
String theDetails,
String theLocation,
String theCode)
Add an issue to an OperationOutcome
|
static String |
OperationOutcomeUtil.getFirstIssueDetails(FhirContext theCtx,
IBaseOperationOutcome theOutcome) |
static String |
OperationOutcomeUtil.getFirstIssueLocation(FhirContext theCtx,
IBaseOperationOutcome theOutcome) |
static boolean |
OperationOutcomeUtil.hasIssues(FhirContext theCtx,
IBaseOperationOutcome theOutcome)
Returns true if the given OperationOutcome has 1 or more Operation.issue repetitions
|
| Modifier and Type | Method and Description |
|---|---|
IBaseOperationOutcome |
ValidationFailureException.getOperationOutcome() |
IBaseOperationOutcome |
ValidationResult.getOperationOutcome()
Deprecated.
Use
ValidationResult.toOperationOutcome() instead since this method returns a view.
ValidationResult.toOperationOutcome() is identical to this method, but has a more suitable name so this method
will be removed at some point. |
IBaseOperationOutcome |
ValidationResult.toOperationOutcome()
Create an OperationOutcome resource which contains all of the messages found as a result of this validation
|
| Modifier and Type | Method and Description |
|---|---|
void |
ValidationResult.populateOperationOutcome(IBaseOperationOutcome theOperationOutcome)
Populate an operation outcome with the results of the validation
|
| Constructor and Description |
|---|
ValidationFailureException(FhirContext theCtx,
IBaseOperationOutcome theOperationOutcome) |
Copyright © 2014–2017 University Health Network. All rights reserved.