// --------------------- AssureExpectedResponseCode -------------------
 private void AssureExpectedResponseCode( )
 {
     if (mExpectedResponseCode == null)
     {
         mExpectedResponseCode =
             ExpectedResponseCodes.FindResponseCode(ResponseMessage);
     }
 }
        // ----------------------- ThrowUnexpectedResponse --------------------------
        public void ThrowUnexpectedResponse( )
        {
            string msg =
                "Unexpected response. Expected: " +
                ExpectedResponseCodes.ToString( ) +
                " Received: " +
                ResponseCode;

            ThrowNetworkException(msg);
        }