[mapguide-users] Re: TCP/IP protocol is mismatched

Gabriele Monfardini gabrimonfa at gmail.com
Fri Dec 9 12:06:28 EST 2011


Hi,

StreamIO exception is a sort of collect-all generic exception.
Wrap your code in a try- catch block and in the catch log the error message.
In PHP it is something like that

try {
  //your code

} catch(MgException $e) {
  error_log($e->getExceptionMessage(); // in older MapGuides was
$e->getMessage()
}

Regards,

Gabriele


More information about the mapguide-users mailing list