diff options
author | tkellner <tkellner@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4> | 2012-10-01 14:59:28 +0000 |
---|---|---|
committer | tkellner <tkellner@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4> | 2012-10-01 14:59:28 +0000 |
commit | c208df1ff87e72f20e318b584d6ab011881ebf4e (patch) | |
tree | 564ad02cae40a5da5992d43b4f1e8aeb0b023e66 /BKUOnline/src/main/java/at/gv/egiz | |
parent | 9b81377a193cbd43b1e3377df11acb9fbf99861f (diff) | |
download | mocca-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/main/java/at/gv/egiz')
-rw-r--r-- | BKUOnline/src/main/java/at/gv/egiz/stal/service/impl/STALServiceImpl.java | 8 |
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()); } |