aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/gv/egiz
diff options
context:
space:
mode:
authorChristof Rabensteiner <christof.rabensteiner@iaik.tugraz.at>2019-08-19 15:34:13 +0200
committerChristof Rabensteiner <christof.rabensteiner@iaik.tugraz.at>2019-08-19 15:34:13 +0200
commitcd28c6909a466d39d47866476c93f5bcae8611ab (patch)
tree3d69767411d7b179b69f80dd38df49b78f2f45cb /src/main/java/at/gv/egiz
parentaca429937af58e9f95c53e45e293d17c2bb7ce09 (diff)
downloadmoa-zs-cd28c6909a466d39d47866476c93f5bcae8611ab.tar.gz
moa-zs-cd28c6909a466d39d47866476c93f5bcae8611ab.tar.bz2
moa-zs-cd28c6909a466d39d47866476c93f5bcae8611ab.zip
Refactor Error Messages
Diffstat (limited to 'src/main/java/at/gv/egiz')
-rw-r--r--src/main/java/at/gv/egiz/moazs/scheme/SOAPUtils.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/at/gv/egiz/moazs/scheme/SOAPUtils.java b/src/main/java/at/gv/egiz/moazs/scheme/SOAPUtils.java
index 461d8fe..f44fb3d 100644
--- a/src/main/java/at/gv/egiz/moazs/scheme/SOAPUtils.java
+++ b/src/main/java/at/gv/egiz/moazs/scheme/SOAPUtils.java
@@ -28,10 +28,10 @@ public class SOAPUtils {
private static final Logger log = LoggerFactory.getLogger(SOAPUtils.class);
private static final String SOAP_BODY_MISSING_ERROR_MSG = "<soap11:Body> is missing.";
private static final String SOAP_BODY_CHILDREN_MISSING_ERROR_MSG = "<soap11:Body> has no child elements.";
- private static final String APP_DELIVERY_ID_MISSING_ERROR_MSG = "<msg:AppDeliveryID> is missing.";
- private static final String APP_DELIVERY_ID_EMPTY_ERROR_MSG = "<msg:AppDeliveryID> is empty.";
- private static final String MULTIPLE_MSG = "Found multiple {} elements. Will choose first element.";
private static final String APP_DELIVERY_ID_FULL_TAG_NAME = "<msg:" + NameSpace.MSG_APP_DELIVERY_ID + ">";
+ private static final String MULTIPLE_MSG = "Found multiple {} elements. Will choose first element.";
+ private static final String APP_DELIVERY_ID_MISSING_ERROR_MSG = APP_DELIVERY_ID_FULL_TAG_NAME + " is missing.";
+ private static final String APP_DELIVERY_ID_EMPTY_ERROR_MSG = APP_DELIVERY_ID_FULL_TAG_NAME + " is empty.";
public Element toDOM(byte[] bytes) throws IOException, SAXException, ParserConfigurationException {
var stream = new ByteArrayInputStream(bytes);