
Class PayloadTooLargeException
- 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.PayloadTooLargeException
-
- All Implemented Interfaces:
Serializable
public class PayloadTooLargeException extends BaseServerResponseException
This Represents an HTTP 413 Payload Too Large response, which means the request body was too big for the server to acceptNote that a complete list of RESTful exceptions is available in the Package Summary.
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
STATUS_CODE
-
Constructor Summary
Constructors Constructor Description PayloadTooLargeException(String theMessage)
PayloadTooLargeException(String theMessage, IBaseOperationOutcome theOperationOutcome)
Constructor
-
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 Detail
-
STATUS_CODE
public static final int STATUS_CODE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
PayloadTooLargeException
public PayloadTooLargeException(String theMessage)
-
PayloadTooLargeException
public PayloadTooLargeException(String theMessage, IBaseOperationOutcome theOperationOutcome)
Constructor- Parameters:
theMessage
- The messagetheOperationOutcome
- The OperationOutcome resource to return to the client
-
-