- All Implemented Interfaces:
@Provider @Priority(1) public class IvyExceptionMapper extends Object implements javax.ws.rs.ext.ExceptionMapper<Throwable>Handles any
Throwablethat occurs during REST invocations and returns the error as simple JSON.
ExceptionMappers can be registered by settings the
Providerannotation on a class of any Axon.ivy project and implement the handler there. These implementations can either provide advanced responses for more specific
Exceptions or override this default implementation by setting a higher
Providerannotated extensions are always global and in charge for the full REST stack of the Engine. So you might face unexpected runtime behaviour if multiple apps/projects/processModelVersions provide a valid jax.rs.extension.Provider.
- This is a public API.