Revision 4854
Added by daigle about 15 years ago
GeoserverAdmin.java | ||
---|---|---|
39 | 39 |
import edu.ucsb.nceas.metacat.service.PropertyService; |
40 | 40 |
import edu.ucsb.nceas.metacat.util.GeoserverUtil; |
41 | 41 |
import edu.ucsb.nceas.metacat.util.RequestUtil; |
42 |
import edu.ucsb.nceas.metacat.util.UtilException; |
|
42 |
import edu.ucsb.nceas.metacat.util.MetacatUtilException;
|
|
43 | 43 |
import edu.ucsb.nceas.utilities.GeneralPropertyException; |
44 | 44 |
|
45 | 45 |
/** |
... | ... | |
191 | 191 |
PropertyService.persistMainBackupProperties(request.getSession() |
192 | 192 |
.getServletContext()); |
193 | 193 |
} |
194 |
} catch (UtilException ue) { |
|
194 |
} catch (MetacatUtilException ue) {
|
|
195 | 195 |
String errorMessage = "Error updating geoserver password: " + ue.getMessage(); |
196 | 196 |
logMetacat.error(errorMessage); |
197 | 197 |
processingErrors.add(errorMessage); |
Also available in: Unified diff
Beef up exception handling from file utilities. Move UtilException to MetacatUtilException to eliminate conflict with similar exception in utility package.