return result;
}
else
{
if (this.userDetailsUnknownFormat)
throw new MessagingNetworkException(
"error while user search: cannot parse packet.",
MessagingNetworkException.CATEGORY_STILL_CONNECTED,
MessagingNetworkException.ENDUSER_PROTOCOL_ERROR_NOT_LOGGED_OFF);
else
if (this.errorFetchinguserDetails)
throw new MessagingNetworkException(
"icq server reports error while user search.",
MessagingNetworkException.CATEGORY_STILL_CONNECTED,
MessagingNetworkException.ENDUSER_MESSAGING_SERVER_REFUSES_TO_RETURN_USER_SEARCH_RESULTS);
else
throw new MessagingNetworkException(
"error while user search: response timeout expired.",
MessagingNetworkException.CATEGORY_STILL_CONNECTED,
MessagingNetworkException.ENDUSER_MESSAGING_OPERATION_TIMED_OUT_NOT_LOGGED_OFF);
}
}