Class BaseServerResponseException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.ibm.fhir.cql.engine.exception.BaseServerResponseException
-
- All Implemented Interfaces:
java.io.Serializable
public class BaseServerResponseException extends java.lang.RuntimeExceptionProvides an extension point for server exceptions based on HTTP interactions.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BaseServerResponseException(int statusCode, java.lang.String message)BaseServerResponseException(int statusCode, java.lang.String message, java.lang.Throwable cause)BaseServerResponseException(int statusCode, java.lang.String message, java.lang.Throwable cause, OperationOutcome outcome)BaseServerResponseException(int statusCode, java.lang.Throwable cause)BaseServerResponseException(int statusCode, java.lang.Throwable cause, OperationOutcome outcome)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OperationOutcomegetOperationOutcome()intgetStatusCode()voidsetOperationOutcome(OperationOutcome operationOutcome)voidsetStatusCode(int statusCode)
-
-
-
Constructor Detail
-
BaseServerResponseException
public BaseServerResponseException(int statusCode, java.lang.String message)
-
BaseServerResponseException
public BaseServerResponseException(int statusCode, java.lang.String message, java.lang.Throwable cause)
-
BaseServerResponseException
public BaseServerResponseException(int statusCode, java.lang.String message, java.lang.Throwable cause, OperationOutcome outcome)
-
BaseServerResponseException
public BaseServerResponseException(int statusCode, java.lang.Throwable cause)
-
BaseServerResponseException
public BaseServerResponseException(int statusCode, java.lang.Throwable cause, OperationOutcome outcome)
-
-
Method Detail
-
setStatusCode
public void setStatusCode(int statusCode)
-
getStatusCode
public int getStatusCode()
-
getOperationOutcome
public OperationOutcome getOperationOutcome()
-
setOperationOutcome
public void setOperationOutcome(OperationOutcome operationOutcome)
-
-