From: Andrea C. <aca...@us...> - 2006-10-12 22:40:27
|
Update of /cvsroot/geonetwork/geonetwork/src/org/fao/geonet/kernel/csw/services In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv19265/src/org/fao/geonet/kernel/csw/services Modified Files: GetCapabilities.java Log Message: Minor fixes to csw code Index: GetCapabilities.java =================================================================== RCS file: /cvsroot/geonetwork/geonetwork/src/org/fao/geonet/kernel/csw/services/GetCapabilities.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** GetCapabilities.java 21 May 2006 15:29:39 -0000 1.4 --- GetCapabilities.java 12 Oct 2006 22:40:25 -0000 1.5 *************** *** 29,32 **** --- 29,33 ---- import java.util.Map; import jeeves.server.context.ServiceContext; + import jeeves.utils.Util; import jeeves.utils.Xml; import org.fao.geonet.csw.common.Csw; *************** *** 78,82 **** catch (Exception e) { ! throw new NoApplicableCodeEx(e.toString()); } } --- 79,86 ---- catch (Exception e) { ! context.error("Cannot load/process capabilities"); ! context.error(" (C) StackTrace\n"+ Util.getStackTrace(e)); ! ! throw new NoApplicableCodeEx("Cannot load/process capabilities"); } } *************** *** 170,174 **** if (!hsSections.contains("Filter_Capabilities")) ! capabilities.getChild("Filter_Capabilities", Csw.NAMESPACE_OWS).detach(); } } --- 174,178 ---- if (!hsSections.contains("Filter_Capabilities")) ! capabilities.getChild("Filter_Capabilities", Csw.NAMESPACE_OGC).detach(); } } |