summaryrefslogtreecommitdiff
path: root/BKUOnline/src
diff options
context:
space:
mode:
authortkellner <tkellner@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4>2012-10-01 14:59:28 +0000
committertkellner <tkellner@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4>2012-10-01 14:59:28 +0000
commitc208df1ff87e72f20e318b584d6ab011881ebf4e (patch)
tree564ad02cae40a5da5992d43b4f1e8aeb0b023e66 /BKUOnline/src
parent9b81377a193cbd43b1e3377df11acb9fbf99861f (diff)
downloadmocca-c208df1ff87e72f20e318b584d6ab011881ebf4e.tar.gz
mocca-c208df1ff87e72f20e318b584d6ab011881ebf4e.tar.bz2
mocca-c208df1ff87e72f20e318b584d6ab011881ebf4e.zip
log STAL ErrorResponse
git-svn-id: https://joinup.ec.europa.eu/svn/mocca/trunk@1141 8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4
Diffstat (limited to 'BKUOnline/src')
-rw-r--r--BKUOnline/src/main/java/at/gv/egiz/stal/service/impl/STALServiceImpl.java8
1 files changed, 6 insertions, 2 deletions
diff --git a/BKUOnline/src/main/java/at/gv/egiz/stal/service/impl/STALServiceImpl.java b/BKUOnline/src/main/java/at/gv/egiz/stal/service/impl/STALServiceImpl.java
index 744ea3e1..a1e29870 100644
--- a/BKUOnline/src/main/java/at/gv/egiz/stal/service/impl/STALServiceImpl.java
+++ b/BKUOnline/src/main/java/at/gv/egiz/stal/service/impl/STALServiceImpl.java
@@ -162,10 +162,14 @@ public class STALServiceImpl implements STALPortType {
if (log.isDebugEnabled()) {
StringBuilder sb = new StringBuilder("Received GetNextRequest containing ");
sb.append(responsesIn.size());
- sb.append(" responses: ");
+ sb.append(" responses:");
for (JAXBElement<? extends ResponseType> respIn : responsesIn) {
- sb.append(respIn.getValue().getClass());
sb.append(' ');
+ sb.append(respIn.getValue().getClass());
+ if (respIn.getValue() instanceof ErrorResponseType) {
+ ErrorResponseType err = (ErrorResponseType)respIn.getValue();
+ sb.append(" (" + err.getErrorCode() + " - " + err.getErrorMessage() + ")");
+ }
}
log.debug(sb.toString());
}