[ http://issues.apache.org/jira/browse/TUSCANY-578?page=all ]
Brent Daniel updated TUSCANY-578:
---------------------------------
Summary: Exceptions thrown by SDO runtime not the same as defined in
the spec (was: NullPointerException when expecting IllegalArgumentException)
Description: On page 27 of V2.01 of the spec, specific exceptions are
listed for certain kinds of errors. In some cases, a different exception is
thrown (each case will be added as a subtask). Either the specification or the
implementation should be updated. (was: On page 27 of V2.01 of the spec, it is
stated that both <DataObject>.get(-1) and
<DataObject>.get(getInstanceProperties().size() + 1) should result in an
IllegalArgumentException. However, each results in a NullPointerException.
Either the behavior or the specification should be updated.)
Edited on Brian's request
> Exceptions thrown by SDO runtime not the same as defined in the spec
> --------------------------------------------------------------------
>
> Key: TUSCANY-578
> URL: http://issues.apache.org/jira/browse/TUSCANY-578
> Project: Tuscany
> Issue Type: Bug
> Components: Java SDO Implementation
> Reporter: Brian Murray
> Priority: Minor
>
> On page 27 of V2.01 of the spec, specific exceptions are listed for certain
> kinds of errors. In some cases, a different exception is thrown (each case
> will be added as a subtask). Either the specification or the implementation
> should be updated.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]