}
return result;
}
public static XKMSException fromResponse(ResultType result) {
ResultMajorEnum major = null;
if ((result.getResultMajor() != null) && !result.getResultMajor().isEmpty()) {
major = ResultMajorEnum.fromValue(result.getResultMajor());
}
if (major == ResultMajorEnum.HTTP_WWW_W_3_ORG_2002_03_XKMS_SUCCESS) {
return null;