Hi, I don't think you can currently. You can use onerror of the img, but it won't give you the contents.
A way would be loading the images through AJAX, which has disadvantages as well (same origin policy and needs changes to OpenLayers). Maybe the new WMS POST layer has a facility for this, but I don't know if your WMS service supports POST? http://trac.openlayers.org/browser/trunk/openlayers/lib/OpenLayers/Layer/WMS/Post.js Best regards, Bart > Hi all, > > I have to effect the WMS requests specifying as parameter ' exceptions: > "application/vnd.ogc.se_xml" ' insteed ' exceptions: > "application/vnd.ogc.se_inimage" '. > How can I catch the server response in the case that the exception is > verified? > > > Regards, > > Tobia Di Pisa > _______________________________________________ > Users mailing list > Users@openlayers.org > http://openlayers.org/mailman/listinfo/users > _______________________________________________ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users