001    /*
002     * The MIT License
003     * Copyright (c) 2012 Microsoft Corporation
004     *
005     * Permission is hereby granted, free of charge, to any person obtaining a copy
006     * of this software and associated documentation files (the "Software"), to deal
007     * in the Software without restriction, including without limitation the rights
008     * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
009     * copies of the Software, and to permit persons to whom the Software is
010     * furnished to do so, subject to the following conditions:
011     *
012     * The above copyright notice and this permission notice shall be included in
013     * all copies or substantial portions of the Software.
014     *
015     * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
016     * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
017     * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
018     * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
019     * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
020     * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
021     * THE SOFTWARE.
022     */
023    
024    package microsoft.exchange.webservices.data.core.enumeration.misc.error;
025    
026    public enum WebExceptionStatus {
027      // Summary:
028      //     No error was encountered.
029      Success,
030      //
031      // Summary:
032      //     The name resolver service could not resolve the host name.
033      NameResolutionFailure,
034      //
035      // Summary:
036      //     The remote service point could not be contacted at the transport level.
037      ConnectFailure,
038      //
039      // Summary:
040      //     A complete response was not received from the remote server.
041      ReceiveFailure,
042      //
043      // Summary:
044      //     A complete request could not be sent to the remote server.
045      SendFailure,
046      //
047      // Summary:
048      //     The request was a piplined request and the connection was closed before the
049      //     response was received.
050      PipelineFailure,
051      //
052      // Summary:
053      //     The request was canceled, the System.Net.WebRequest.Abort() method was called,
054      //     or an unclassifiable error occurred. This is the default value for System.Net.WebException.Status.
055      RequestCanceled,
056      //
057      // Summary:
058      //     The response received from the server was complete but indicated a protocol-level
059      //     error. For example, an HTTP protocol error such as 401 Access Denied would
060      //     use this status.
061      ProtocolError,
062      //
063      // Summary:
064      //     The connection was prematurely closed.
065      ConnectionClosed,
066      //
067      // Summary:
068      //     A server certificate could not be validated.
069      TrustFailure,
070      //
071      // Summary:
072      //     An error occurred while establishing a connection using SSL.
073      SecureChannelFailure,
074      //
075      // Summary:
076      //     The server response was not a valid HTTP response.
077      ServerProtocolViolation,
078      //
079      // Summary:
080      //     The connection for a request that specifies the Keep-alive header was closed
081      //     unexpectedly.
082      KeepAliveFailure,
083      //
084      // Summary:
085      //     An internal asynchronous request is pending.
086      Pending,
087      //
088      // Summary:
089      //     No response was received during the time-out period for a request.
090      Timeout,
091      //
092      // Summary:
093      //     The name resolver service could not resolve the proxy host name.
094      ProxyNameResolutionFailure,
095      //
096      // Summary:
097      //     An exception of unknown type has occurred.
098      UnknownError,
099      //
100      // Summary:
101      //     A message was received that exceeded the specified limit when sending a request
102      //     or receiving a response from the server.
103      MessageLengthLimitExceeded,
104      //
105      // Summary:
106      //     The specified cache entry was not found.
107      CacheEntryNotFound,
108      //
109      // Summary:
110      //     The request was not permitted by the cache policy. In general, this occurs
111      //     when a request is not cacheable and the effective policy prohibits sending
112      //     the request to the server. You might receive this status if a request method
113      //     implies the presence of a request body, a request method requires direct
114      //     interaction with the server, or a request contains a conditional header.
115      RequestProhibitedByCachePolicy,
116      //
117      // Summary:
118      //     This request was not permitted by the proxy.
119      RequestProhibitedByProxy,
120    
121    
122    }
123