Class InternalErrorException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
ca.uhn.fhir.rest.server.exceptions.BaseServerResponseException
ca.uhn.fhir.rest.server.exceptions.InternalErrorException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
FhirPathExecutionException
Represents an HTTP 500 Internal Error response.
This status indicates that the server failed to successfully process the
request. This generally means that the server is misbehaving or is
misconfigured in some way, although a misbehaving server might also
send this status code in the case of a bad request message (although it
should not do this; an HTTP 4xx response is more appropriate in that
situation).
Note that a complete list of RESTful exceptions is available in the Package Summary.
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorDescriptionInternalErrorException
(String theMessage) InternalErrorException
(String theMessage, Throwable theCause) InternalErrorException
(String theMessage, IBaseOperationOutcome theOperationOutcome) ConstructorInternalErrorException
(Throwable theCause) -
Method Summary
Methods inherited from class ca.uhn.fhir.rest.server.exceptions.BaseServerResponseException
addResponseHeader, getAdditionalMessages, getOperationOutcome, getResponseBody, getResponseHeaders, getResponseMimeType, getStatusCode, hasResponseHeaders, isErrorMessageTrusted, newInstance, setErrorMessageTrusted, setOperationOutcome, setResponseBody, setResponseMimeType
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
STATUS_CODE
- See Also:
-
-
Constructor Details
-
InternalErrorException
Constructor- Parameters:
theMessage
- The messagetheOperationOutcome
- The OperationOutcome resource to return to the client
-
InternalErrorException
-
InternalErrorException
-
InternalErrorException
-