This is the wrong type of exception, unless it's something todo with Accept headers.