private String[] getPrincipalIdFromSamlEcpFault(final Fault fault) { val result = new ToStringBuilder(this, ToStringStyle.NO_CLASS_NAME_STYLE) .append("actor", fault.getActor().getValue()) .append("message", fault.getMessage().getValue()) .toString(); return new String[]{result}; } }
if (fault.getMessage() != null) { msg = fault.getMessage().getValue();
code = fault.getCode().getValue().toString(); if (fault.getMessage() != null) { msg = fault.getMessage().getValue();