public class PayloadTooLargeException extends RuntimeException implements WithErrorResponse
Constructor and Description |
---|
PayloadTooLargeException(Class<?> entity,
int maxNumber,
int actualNumber) |
Modifier and Type | Method and Description |
---|---|
ResponseWithErrorCode |
getErrorResponse()
Gets the response containing an HTTP error code.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public PayloadTooLargeException(Class<?> entity, int maxNumber, int actualNumber)
@Nonnull public ResponseWithErrorCode getErrorResponse()
WithErrorResponse
getErrorResponse
in interface WithErrorResponse
Copyright © 2018 SAP SE. All rights reserved.