# Three kinds of exception: an ErrorResponse, an ordinary exception handled through the MessageSource, and one handled with English text in the source --- an ErrorResponse (OrderNotFoundException) --- Accept-Language: en status=404 Content-Type=application/problem+json title: Order not found detail: No order with id 7 exists. Accept-Language: mr status=404 Content-Type=application/problem+json title: ऑर्डर सापडली नाही detail: ७ क्रमांकाची ऑर्डर अस्तित्वात नाही. Accept-Language: hi status=404 Content-Type=application/problem+json title: ऑर्डर नहीं मिला detail: क्रमांक 7 वाला ऑर्डर मौजूद नहीं है। --- an ordinary exception, translated in the handler (PaymentDeclinedException) --- Accept-Language: en status=402 Content-Type=application/problem+json title: Payment declined detail: Payment of 499.00 was declined. Accept-Language: mr status=402 Content-Type=application/problem+json title: पेमेंट नाकारले detail: 499.00 चे पेमेंट नाकारले गेले. Accept-Language: hi status=402 Content-Type=application/problem+json title: भुगतान अस्वीकृत detail: 499.00 का भुगतान अस्वीकार कर दिया गया। --- an ordinary exception, English in the handler (LegacyStateException) --- Accept-Language: en status=409 Content-Type=application/problem+json title: Conflict detail: The order is in a state that does not allow this. Accept-Language: mr status=409 Content-Type=application/problem+json title: Conflict detail: The order is in a state that does not allow this. Accept-Language: hi status=409 Content-Type=application/problem+json title: Conflict detail: The order is in a state that does not allow this.