QPID-6016: [Java Broker] Web UI error handling

Address review comments from Alex Rudyy <orudyy@apache.org>

git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1618889 13f79535-47bb-0310-9956-ffa450edef68