Mercurial > dive4elements > framework
comparison artifact-database/src/main/java/de/intevation/artifactdatabase/rest/ArtifactResource.java @ 34:9935e1c928de
Bug Fixed: Comparation for outdated Artifacts was Wrong.
artifacts/trunk@86 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Tim Englich <tim.englich@intevation.de> |
---|---|
date | Tue, 15 Sep 2009 09:43:57 +0000 |
parents | c2d53bd30ab8 |
children | 7a01a464a83b |
comparison
equal
deleted
inserted
replaced
33:251e8904d6c2 | 34:9935e1c928de |
---|---|
65 return new DomRepresentation( | 65 return new DomRepresentation( |
66 MediaType.APPLICATION_XML, | 66 MediaType.APPLICATION_XML, |
67 db.describe(identifier)); | 67 db.describe(identifier)); |
68 } | 68 } |
69 catch (ArtifactDatabaseException adbe) { | 69 catch (ArtifactDatabaseException adbe) { |
70 logger.warn(adbe,adbe); | |
70 Response response = getResponse(); | 71 Response response = getResponse(); |
71 response.setStatus( | 72 response.setStatus( |
72 Status.CLIENT_ERROR_NOT_FOUND, adbe.getMessage()); | 73 Status.CLIENT_ERROR_NOT_FOUND, adbe.getMessage()); |
73 return new EmptyRepresentation(); | 74 return new EmptyRepresentation(); |
74 } | 75 } |