[jboss-jira] [JBoss JIRA] Created: (JBAS-3810) JDBCCMRFieldBridge2 gives wrong class name on exception
anajavi (JIRA)
jira-events at jboss.com
Thu Nov 2 09:55:41 EST 2006
JDBCCMRFieldBridge2 gives wrong class name on exception
-------------------------------------------------------
Key: JBAS-3810
URL: http://jira.jboss.com/jira/browse/JBAS-3810
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: CMP service
Affects Versions: JBossAS-4.0.5.GA, JBossAS-4.0.4.GA
Reporter: anajavi
Assigned To: Alexey Loubyansky
JDBCCMRFieldBridge2 reports wrong class on exception message:
JDBCCMRFieldBridge2.getPrimaryKey(Object o):
if(!relatedEntity.getLocalInterface().isInstance(o))
{
throw new IllegalArgumentException("Argument must be of type " + entity.getLocalInterface().getName());
}
Shouldn't it be:
throw new IllegalArgumentException("Argument must be of type " + !relatedEntity.getLocalInterface().getName());
--
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