Class NonJsonResourceNotFoundException

  • All Implemented Interfaces:
    Serializable

    public class NonJsonResourceNotFoundException
    extends BaseModelerRestException
    This is needed for when the REST resource is stated to return for example image/png, but needs to throw a 404 In this case, the default ExceptionHandlerAdvice will create a message for the 404. But that will lead to a Spring exception and the end result is that it will be transmitted as a 500.
    Author:
    jbarrez
    See Also:
    Serialized Form
    • Constructor Detail

      • NonJsonResourceNotFoundException

        public NonJsonResourceNotFoundException()