So it's just a simple `RestException` that is always thrown and which internally sets the error message to `statusMessage`, if possible.