Class IvyExceptionMapper

  • All Implemented Interfaces:<Throwable>

    public class IvyExceptionMapper
    extends Object
    Handles any Throwable that occurs during REST invocations and returns the error as simple JSON.

    Custom ExceptionMappers can be registered by settings the Provider annotation 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 Priority than 1.

    Warning: Provider annotated 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

    This is a public API.