geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ga...@apache.org
Subject svn commit: r712257 - /geronimo/specs/trunk/geronimo-jaxb_2.0_spec/src/main/java/javax/xml/bind/TypeConstraintException.java
Date Fri, 07 Nov 2008 20:30:45 GMT
Author: gawor
Date: Fri Nov  7 12:30:45 2008
New Revision: 712257

URL: http://svn.apache.org/viewvc?rev=712257&view=rev
Log:
chain exceptions correctly

Modified:
    geronimo/specs/trunk/geronimo-jaxb_2.0_spec/src/main/java/javax/xml/bind/TypeConstraintException.java

Modified: geronimo/specs/trunk/geronimo-jaxb_2.0_spec/src/main/java/javax/xml/bind/TypeConstraintException.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-jaxb_2.0_spec/src/main/java/javax/xml/bind/TypeConstraintException.java?rev=712257&r1=712256&r2=712257&view=diff
==============================================================================
--- geronimo/specs/trunk/geronimo-jaxb_2.0_spec/src/main/java/javax/xml/bind/TypeConstraintException.java
(original)
+++ geronimo/specs/trunk/geronimo-jaxb_2.0_spec/src/main/java/javax/xml/bind/TypeConstraintException.java
Fri Nov  7 12:30:45 2008
@@ -63,6 +63,11 @@
                 super.toString();
     }
 
+    @Override
+    public Throwable getCause() {
+        return linkedException;
+    }
+
     public void printStackTrace() {
         super.printStackTrace();
     }
@@ -71,4 +76,4 @@
         super.printStackTrace(ps);
     }
 
-}
\ No newline at end of file
+}



Mime
View raw message