Menu

#2 sql Date causes domify to fail (InvocationTargetException)

open
nobody
Core (2)
5
2007-10-07
2007-10-07
toby cabot
No

I'm not a fan of java.sql.Date but it's widely used so Domify should handle it. The code already catches InvocationTargetException so I've changed it to log the stack trace at the INFO level and return the message as a String so it appears in the domify output.

There might be other classes out there that throw InvocationTargetException and this change will let Domify handle them, too.

Discussion

  • toby cabot

    toby cabot - 2007-10-07

    simple unit test for java.sql.Date

     
  • toby cabot

    toby cabot - 2007-10-07

    Logged In: YES
    user_id=55510
    Originator: YES

    here's a junit test case for java.sql.Date. it just makes sure that there's no crash.
    File Added: TestSqlDate.java

     
  • toby cabot

    toby cabot - 2007-11-12

    change to exception handling (updated for post-mvn source tree)

     
  • toby cabot

    toby cabot - 2007-11-12

    Logged In: YES
    user_id=55510
    Originator: YES

    File Added: dom-element-sqldate.patch.txt

     

Log in to post a comment.

MongoDB Logo MongoDB