StringWriter sw = new StringWriter();
de.printStackTrace( new PrintWriter( sw ) );
String stackTrace = sw.toString();
// Error while decoding the value.
whoAmIResponse = new WhoAmIResponseImpl(
decoratedResponse.getMessageId(),
ResultCodeEnum.OPERATIONS_ERROR,
stackTrace );
}