You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jaxme-dev@ws.apache.org by jo...@apache.org on 2004/07/23 08:46:32 UTC

cvs commit: ws-jaxme/src/api/javax/xml/bind JAXBException.java

jochen      2004/07/22 23:46:32

  Modified:    src/api/javax/xml/bind Tag: Branch_R0_3 JAXBException.java
  Log:
  The constructor JAXBException(Throwable) is now invoking super(String) with a meaningful message.
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.3.2.1   +1 -0      ws-jaxme/src/api/javax/xml/bind/JAXBException.java
  
  Index: JAXBException.java
  ===================================================================
  RCS file: /home/cvs/ws-jaxme/src/api/javax/xml/bind/JAXBException.java,v
  retrieving revision 1.3
  retrieving revision 1.3.2.1
  diff -u -r1.3 -r1.3.2.1
  --- JAXBException.java	16 Feb 2004 23:39:49 -0000	1.3
  +++ JAXBException.java	23 Jul 2004 06:46:32 -0000	1.3.2.1
  @@ -54,6 +54,7 @@
        * @param pLinkedException The linked exception.
        */
       public JAXBException(Throwable pLinkedException) {
  +        super(pLinkedException.getMessage() == null ? pLinkedException.getClass().getName() : pLinkedException.getMessage());
           linkedException = pLinkedException;
       }
       
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: jaxme-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: jaxme-dev-help@ws.apache.org