#633 Method 'ejbCreate' should throw 'javax.ejb.CreateException'
Why does IDEA require the bean implementation to have CreateException in its throws clause
even if the implementation is simple and doesn't throw any exceptions (the home interface of course
has CreateException in its throws clause)?
Timur Zambalayev
请先登录再写评论。
Alexey Kudravtsev wrote:
But EJB 1.1 specification does not require it.
Chapter 9.2.3:
The throws clause may define arbitrary application specific exceptions,
including the javax.ejb.CreateException.
>>Why does IDEA require the bean implementation to have CreateException in
>> its throws clause
>>even if the implementation is simple and doesn't throw any exceptions (the
>> home interface of course
>>has CreateException in its throws clause)?
>>
>>
>>Timur Zambalayev
Hello Vladimir,
Will be fixed in #634, thank you for the report.
--
regards,
Alexey Kudravtsev.
JetBrains, Inc
http://www.intellij.com
"Develop with pleasure!"
"Vladimir Korenev" <v_korenev@mail.ru> wrote in message
news:3D299A7F.2020803@mail.ru...
>
(the
>