Comply to standard REST HTTP code exception