Mercurial > dive4elements > gnv-client
comparison gnv/src/main/java/de/intevation/gnv/artifactdatabase/client/DefaultArtifactDatabaseClient.java @ 590:5f5f273c8566
Repaired error message parsing from resulting xml documents after feed() has been called.
gnv/trunk@751 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Mon, 08 Mar 2010 17:09:28 +0000 |
parents | 2e690cb2247c |
children | 27f25b9ae9af |
comparison
equal
deleted
inserted
replaced
589:960ae818296e | 590:5f5f273c8566 |
---|---|
779 | 779 |
780 private void check4ExceptionReport(Document document) | 780 private void check4ExceptionReport(Document document) |
781 throws ArtifactDatabaseClientException { | 781 throws ArtifactDatabaseClientException { |
782 | 782 |
783 String message = new XMLUtils().getStringXPath(document, | 783 String message = new XMLUtils().getStringXPath(document, |
784 "/exceptionreport/exception"); | 784 "/art:exceptionreport/art:exception"); |
785 if (message != null) { | 785 if (message != null) { |
786 throw new ArtifactDatabaseClientException(message); | 786 throw new ArtifactDatabaseClientException(message); |
787 } | 787 } |
788 | 788 |
789 } | 789 } |