message.setText(String.valueOf(((FaultException) o).getFaultInfo()));
message.setBooleanProperty(JMSBindingConstants.FAULT_PROPERTY, true);
return message;
} catch (JMSException e) {
throw new JMSBindingException(e);
}
} else {
// handle the non XML fault case
return super.createFaultMessage(session, o);
}