Class FHIROperationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.linuxforhealth.fhir.exception.FHIRException
-
- org.linuxforhealth.fhir.exception.FHIROperationException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
FHIRPersistenceException
,FHIRResourceDeletedException
,FHIRResourceNotFoundException
,FHIRRestBundledRequestException
,FHIRRestServletRequestException
,FHIRSearchException
public class FHIROperationException extends FHIRException
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FHIROperationException(java.lang.String message)
FHIROperationException(java.lang.String message, java.lang.Throwable cause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OperationOutcome
buildOperationOutcome()
java.util.List<OperationOutcome.Issue>
getIssues()
void
setIssues(java.util.List<OperationOutcome.Issue> issues)
FHIROperationException
withIssue(java.util.Collection<OperationOutcome.Issue> issues)
FHIROperationException
withIssue(OperationOutcome.Issue... issues)
-
Methods inherited from class org.linuxforhealth.fhir.exception.FHIRException
addProbeId, getUniqueId, toString
-
-
-
-
Method Detail
-
buildOperationOutcome
public OperationOutcome buildOperationOutcome()
-
getIssues
public java.util.List<OperationOutcome.Issue> getIssues()
-
setIssues
public void setIssues(java.util.List<OperationOutcome.Issue> issues)
-
withIssue
public FHIROperationException withIssue(OperationOutcome.Issue... issues)
-
withIssue
public FHIROperationException withIssue(java.util.Collection<OperationOutcome.Issue> issues)
-
-