Package com.ibm.fhir.exception
Class FHIROperationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.ibm.fhir.exception.FHIRException
-
- com.ibm.fhir.exception.FHIROperationException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
FHIRPersistenceException
,FHIRRestBundledRequestException
,FHIRSearchException
public class FHIROperationException extends FHIRException
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FHIROperationException(String message)
FHIROperationException(String message, Throwable cause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OperationOutcome
buildOperationOutcome()
List<OperationOutcome.Issue>
getIssues()
void
setIssues(List<OperationOutcome.Issue> issues)
FHIROperationException
withIssue(OperationOutcome.Issue... issues)
FHIROperationException
withIssue(Collection<OperationOutcome.Issue> issues)
-
Methods inherited from class com.ibm.fhir.exception.FHIRException
addProbeId, getUniqueId, toString
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
-
-
-
Constructor Detail
-
FHIROperationException
public FHIROperationException(String message)
- See Also:
Exception(String)
-
FHIROperationException
public FHIROperationException(String message, Throwable cause)
- See Also:
Exception(String, Throwable)
-
-
Method Detail
-
buildOperationOutcome
public OperationOutcome buildOperationOutcome()
-
getIssues
public List<OperationOutcome.Issue> getIssues()
-
setIssues
public void setIssues(List<OperationOutcome.Issue> issues)
-
withIssue
public FHIROperationException withIssue(OperationOutcome.Issue... issues)
-
withIssue
public FHIROperationException withIssue(Collection<OperationOutcome.Issue> issues)
-
-