]> git.aero2k.de Git - tmp/jakarta-migration.git/commitdiff
CSPACE-5857: Dump stack trace on XStreamException; not having done so earlier masked...
authorAron Roberts <aron@socrates.berkeley.edu>
Fri, 8 Feb 2013 01:43:13 +0000 (17:43 -0800)
committerAron Roberts <aron@socrates.berkeley.edu>
Fri, 8 Feb 2013 01:43:13 +0000 (17:43 -0800)
services/id/service/src/main/java/org/collectionspace/services/id/IDGeneratorSerializer.java

index 8e80e4b5151cff369eeeeeeca3e7a30d57bb9402..fc0c57567b5ba94d28c9a16a421c888987685ab0 100644 (file)
@@ -104,7 +104,7 @@ public class IDGeneratorSerializer {
       generator = (SettableIDGenerator) xstream.fromXML(serializedGenerator);
     } catch (XStreamException e) {
            throw new BadRequestException(
-             "Could not understand or parse this representation of an ID generator.");
+             "Could not understand or parse this representation of an ID generator.", e);
     }
 
     return generator;