ExceptionHandledInterceptor does not treat primitive values consistently
------------------------------------------------------------------------
Key: SOLDER-291
URL: https://issues.jboss.org/browse/SOLDER-291
Project: Seam Solder
Issue Type: Bug
Components: Exception Handling
Affects Versions: 3.1.0.Beta3
Reporter: Jozef Hartinger
Fix For: 3.1.0.CR1
if an method annotated with @ExceptionHandled throws an exception,
ExceptionHandledInterceptor catches the exception and forwards it through
Solder's exception handling framework for being handled. If the exception is
handled, the method returns null for reference types and default values for
primitive types. However, out of 8 primitive types that Java has, only 5 are
handled this way.
The missing types are:
* byte
* double
* char
If a method defining one of the missing types as its return type throws an
exception and this exception is handled by the ExceptionHandledInterceptor, the
method call always throws NullPointerException.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
seam-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/seam-issues