db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bri...@apache.org
Subject cvs commit: db-ojb/src/java/org/apache/ojb/broker/metadata ConnectionDescriptorXmlHandler.java
Date Sun, 23 May 2004 16:29:48 GMT
brianm      2004/05/23 09:29:48

  Modified:    src/java/org/apache/ojb/broker/metadata
                        ConnectionDescriptorXmlHandler.java
  Log:
  Better error reporting and cleaner exception handling patch from Robert Sfeir
  Submitted by:	Robert Sfeir
  
  Revision  Changes    Path
  1.11      +2 -2      db-ojb/src/java/org/apache/ojb/broker/metadata/ConnectionDescriptorXmlHandler.java
  
  Index: ConnectionDescriptorXmlHandler.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/java/org/apache/ojb/broker/metadata/ConnectionDescriptorXmlHandler.java,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- ConnectionDescriptorXmlHandler.java	4 Apr 2004 23:53:34 -0000	1.10
  +++ ConnectionDescriptorXmlHandler.java	23 May 2004 16:29:48 -0000	1.11
  @@ -374,7 +374,7 @@
           {
               return tags.getIdByTag(literal);
           }
  -        catch (Exception e)
  +        catch (NullPointerException e)
           {
               throw new MetadataException("unknown literal: '" + literal + "'", e);
           }
  
  
  

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


Mime
View raw message