Class GeneralRequestProcessingException

  • All Implemented Interfaces:
    Serializable

    public class GeneralRequestProcessingException
    extends RuntimeException
    Project-custom exception that allows outbound APIs to react on backend problems. Shall be thrown to invoke status 400 "Bad Request" or whatever is appropriate. To be thrown in all cases where part of the request leads to problems, like malformed queries or non-existent referenced objects.
    See Also:
    Serialized Form
    • Constructor Detail

      • GeneralRequestProcessingException

        public GeneralRequestProcessingException​(String message)
      • GeneralRequestProcessingException

        public GeneralRequestProcessingException​(String message,
                                                 Throwable cause)