diff options
author | Michael Meeks <michael.meeks@suse.com> | 2012-11-15 14:58:32 +0000 |
---|---|---|
committer | Michael Meeks <michael.meeks@suse.com> | 2012-11-15 16:06:07 +0000 |
commit | f2d8b05b73f058cd4b9e3e8b5a3e54c5047c2c8a (patch) | |
tree | cfc9961592997e64785cb70b9f2a85996889ed83 | |
parent | f4f5c0478a1a13281ce5f184d33895e791e87067 (diff) |
improve junit test failure messages around CLSID.
-rw-r--r-- | qadevOOo/tests/java/mod/_sd/SdPageLinkTargets.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/qadevOOo/tests/java/mod/_sd/SdPageLinkTargets.java b/qadevOOo/tests/java/mod/_sd/SdPageLinkTargets.java index dda95018e9fe..d364c5760b6a 100644 --- a/qadevOOo/tests/java/mod/_sd/SdPageLinkTargets.java +++ b/qadevOOo/tests/java/mod/_sd/SdPageLinkTargets.java @@ -119,16 +119,16 @@ public class SdPageLinkTargets extends TestCase { setPropertyValue("CLSID","12DCAE26-281F-416F-a234-c3086127382e"); } catch (com.sun.star.lang.WrappedTargetException e) { e.printStackTrace(log); - throw new StatusException("Couldn't change property", e); + throw new StatusException("WrappedTarget: couldn't change property CLSID", e); } catch (com.sun.star.lang.IllegalArgumentException e) { e.printStackTrace(log); - throw new StatusException("Couldn't change property", e); + throw new StatusException("IllegalArgument: couldn't change property CLSID", e); } catch (com.sun.star.beans.PropertyVetoException e) { e.printStackTrace(log); - throw new StatusException("Couldn't change property", e); + throw new StatusException("PropertyVeto: couldn't change property CLSID", e); } catch (com.sun.star.beans.UnknownPropertyException e) { e.printStackTrace(log); - throw new StatusException("Couldn't change property", e); + throw new StatusException("UnknownProperty: couldn't change property CLSID", e); } log.println( "creating a new environment for LinkTargets object" ); |