~ubuntu-branches/ubuntu/trusty/monodevelop/trusty-proposed

« back to all changes in this revision

Viewing changes to external/ngit/NGit/NGit.Api/FetchCommand.cs

  • Committer: Package Import Robot
  • Author(s): Jo Shields
  • Date: 2013-05-12 09:46:03 UTC
  • mto: This revision was merged to the branch mainline in revision 29.
  • Revision ID: package-import@ubuntu.com-20130512094603-mad323bzcxvmcam0
Tags: upstream-4.0.5+dfsg
ImportĀ upstreamĀ versionĀ 4.0.5+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
106
106
                /// </returns>
107
107
                /// <exception cref="NGit.Api.Errors.InvalidRemoteException">when called with an invalid remote uri
108
108
                ///     </exception>
109
 
                /// <exception cref="NGit.Api.Errors.JGitInternalException">
110
 
                /// a low-level exception of JGit has occurred. The original
111
 
                /// exception can be retrieved by calling
112
 
                /// <see cref="System.Exception.InnerException()">System.Exception.InnerException()</see>
113
 
                /// .
114
 
                /// </exception>
 
109
                /// <exception cref="NGit.Api.Errors.TransportException">when an error occurs during transport
 
110
                ///     </exception>
 
111
                /// <exception cref="NGit.Api.Errors.GitAPIException"></exception>
115
112
                public override FetchResult Call()
116
113
                {
117
114
                        CheckCallable();
142
139
                                throw new InvalidRemoteException(MessageFormat.Format(JGitText.Get().invalidRemote
143
140
                                        , remote), e);
144
141
                        }
145
 
                        catch (TransportException e)
 
142
                        catch (NGit.Errors.TransportException e)
146
143
                        {
147
 
                                throw new JGitInternalException(JGitText.Get().exceptionCaughtDuringExecutionOfFetchCommand
148
 
                                        , e);
 
144
                                throw new NGit.Errors.TransportException(e.Message, e);
149
145
                        }
150
146
                        catch (URISyntaxException)
151
147
                        {