Class BaseServerResponseException
- java.lang.Object
 - 
- java.lang.Throwable
 - 
- java.lang.Exception
 - 
- java.lang.RuntimeException
 - 
- com.ibm.fhir.cql.engine.exception.BaseServerResponseException
 
 
 
 
 
- 
- All Implemented Interfaces:
 Serializable
public class BaseServerResponseException extends RuntimeException
Provides an extension point for server exceptions based on HTTP interactions.- See Also:
 - Serialized Form
 
 
- 
- 
Constructor Summary
Constructors Constructor Description BaseServerResponseException(int statusCode, String message)BaseServerResponseException(int statusCode, String message, Throwable cause)BaseServerResponseException(int statusCode, String message, Throwable cause, OperationOutcome outcome)BaseServerResponseException(int statusCode, Throwable cause)BaseServerResponseException(int statusCode, 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)- 
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString 
 - 
 
 - 
 
- 
- 
Constructor Detail
- 
BaseServerResponseException
public BaseServerResponseException(int statusCode, String message) 
- 
BaseServerResponseException
public BaseServerResponseException(int statusCode, String message, Throwable cause) 
- 
BaseServerResponseException
public BaseServerResponseException(int statusCode, String message, Throwable cause, OperationOutcome outcome) 
- 
BaseServerResponseException
public BaseServerResponseException(int statusCode, Throwable cause) 
- 
BaseServerResponseException
public BaseServerResponseException(int statusCode, 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)
 
 - 
 
 -