[Mono-dev] Remoting URI Exception

Carlos Solorzano carlos at applianz.com
Mon Nov 21 17:09:03 EST 2005


On Nov 21, 2005, at 3:09 PM, Sebastien Pouliot wrote:

> Hello Carlos,
>
> On Mon, 2005-11-21 at 14:56 -0600, Carlos Solorzano wrote:
> ...
>> Anyways, how would I go about printing out the port number? I didnt
>> really see an option on the URI exception to print the URI.
> ...
>> You are right seems like a bit of work has gone into the SVN code, I
>> ran my code on the SVN mono
>
> If you have mono SVN, then simply edit Uri.cs to print the  
> malformed Uri
> as part of the exception text. That would give us the problematic Uri.
>

The exception shows up on the remoting client but the Uri  
Console.WriteLine shows up on the remoting server and it basically  
prints out for the uriString:

192.168.0.193:-1

--Carlos

>> and now the exception moved from the
>> remoting server to the remoting client, but its the exact same
>> exception however now I have a place where I can catch it, although
>> there isn't anything I can do with it.
>>
>> Any pointers will be greatly welcomed.
>
> -- 
> Sebastien Pouliot
> email: sebastien at ximian.com
> blog: http://pages.infinit.net/ctech/
>




More information about the Mono-devel-list mailing list