Trigger an exception

This endpoint triggers a specific exception based on the optional input parameter 'expectedException'. If no exception is specified or the exception is not found, a NotFoundException is thrown.

get/errorCases

Request

Query parameters

expectedExceptionstring
Example:IllegalArgumentException

The exception to be triggered (e.g., IllegalArgumentException, NullPointerException).

Changes

No recorded changes to this operation across all 1 revision of this API.