{
if (requiresResponse)
{
HornetQServerLogger.LOGGER.warn("Sending unexpected exception to the client", t);
HornetQException hqe = new HornetQInternalErrorException();
hqe.initCause(t);
response = new HornetQExceptionMessage(hqe);
}
else
{
HornetQServerLogger.LOGGER.caughtException(t);