diff options
author | Bojan Suzic <bojan.suzic@iaik.tugraz.at> | 2014-04-02 12:03:29 +0200 |
---|---|---|
committer | Bojan Suzic <bojan.suzic@iaik.tugraz.at> | 2014-04-02 12:03:29 +0200 |
commit | 4b890232cc2ef904ede71663abb4fb5f3d8be7e8 (patch) | |
tree | 4421b954168090878a0341ee3eba31d7b3906212 /id/server/stork2-commons/src/test/java | |
parent | 758b9760bc018319eec916103e5e73385c2a4c4b (diff) | |
parent | 07e74546f01f69545b77518e0e651b43a4e04e91 (diff) | |
download | moa-id-spss-4b890232cc2ef904ede71663abb4fb5f3d8be7e8.tar.gz moa-id-spss-4b890232cc2ef904ede71663abb4fb5f3d8be7e8.tar.bz2 moa-id-spss-4b890232cc2ef904ede71663abb4fb5f3d8be7e8.zip |
Merge branch 'moa-2.1-Snapshot' of gitlab.iaik.tugraz.at:afitzek/moa-idspss into vidp_2.1_bs
Diffstat (limited to 'id/server/stork2-commons/src/test/java')
-rw-r--r-- | id/server/stork2-commons/src/test/java/eu/stork/peps/tests/ComplexAttributesMarshalling.java | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/id/server/stork2-commons/src/test/java/eu/stork/peps/tests/ComplexAttributesMarshalling.java b/id/server/stork2-commons/src/test/java/eu/stork/peps/tests/ComplexAttributesMarshalling.java index c7e195fa6..d411a2f42 100644 --- a/id/server/stork2-commons/src/test/java/eu/stork/peps/tests/ComplexAttributesMarshalling.java +++ b/id/server/stork2-commons/src/test/java/eu/stork/peps/tests/ComplexAttributesMarshalling.java @@ -88,10 +88,15 @@ public class ComplexAttributesMarshalling { m.marshal(objf.createCanonicalResidenceAddress(object), new FileOutputStream("CanonicalAddressType.xml"));
m.marshal(objf.createCanonicalResidenceAddress(object), System.out);
}
- catch (JAXBException | FileNotFoundException e)
+ catch (JAXBException e )
{
e.printStackTrace();
+
+ } catch (FileNotFoundException e) {
+ e.printStackTrace();
+
}
+
}
/**
@@ -156,8 +161,14 @@ public class ComplexAttributesMarshalling { m.marshal(o.createHasAccountInBank(object), new FileOutputStream ("hasbankaccount.xml"));
m.marshal(o.createHasAccountInBank(object), System.out);
- } catch (JAXBException | FileNotFoundException e) {
+ }
+ catch (JAXBException e )
+ {
+ e.printStackTrace();
+
+ } catch (FileNotFoundException e) {
e.printStackTrace();
+
}
}
/**
|