QPID-5447: check whether exchange type was actually specified before raising error

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