[jboss-jira] [JBoss JIRA] Created: (JBPORTAL-1720) Profile / enhance error message : DatePropertyAccessor

Antoine Herzog (JIRA) jira-events at lists.jboss.org
Tue Sep 25 02:02:52 EDT 2007


Profile / enhance error message : DatePropertyAccessor 
-------------------------------------------------------

                 Key: JBPORTAL-1720
                 URL: http://jira.jboss.com/jira/browse/JBPORTAL-1720
             Project: JBoss Portal
          Issue Type: Task
      Security Level: Public (Everyone can see)
          Components: Portal Identity
    Affects Versions: 2.6.1 Final
            Reporter: Antoine Herzog
            Priority: Optional
             Fix For: 2.6.2 Final


Line 552
catch (ParseException e)
         {
            throw new IllegalArgumentException();
         }

Some more information on the error will be helpfull, espcially for integration of legacy user datasource.

Like it is done for the boolean property accessor

something like :
catch (ParseException e)
         {
            throw new IllegalArgumentException("Can't convert the date in the user profile. value=[" + value + "].", e);
         }



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list