*/
public static Message getExceptionMessage(Throwable t)
{
if (t instanceof IdentifiedException)
{
IdentifiedException ie = (IdentifiedException) t;
StringBuilder message = new StringBuilder();
message.append(ie.getMessage());
message.append(" (id=");
Message ieMsg = ie.getMessageObject();
if (ieMsg != null) {
message.append(ieMsg.getDescriptor().getId());
} else {
message.append(MessageDescriptor.NULL_ID);
}