Hi all, Richard
 
I'm not sure but I think where is the problem.

File: BMPPersistenceManager.java
Functions:createEntity, callFinderMethod

There is possible of such errors:
when InvocationTargetException exception is cached it is done:
        Throwable e = ite.getTargetException();

later exception type is checked and needed exeption is thrown but if no one maches 
         {
            // Rethrow exception
            throw (Exception)e;
         }
BUT e CANNOT BE CASTED TO Exception

Richard could you fix it?
maybe better to so like:

{
throw new Exception(e.toString())
}

D&D

On Sat, 23 Oct 1999 17:37:49 +0100 (WesteuropXische Normalzeit), Bjarne Olsen wrote:

>Hello!
>
>Again I have a ClassCastException and don't have a clue why.
>
>The ClassCastException is thrown within an Entity-Bean method enumerating a 
>collection of other ejbs.
>When I use the same source code within my client app there is now error!
>
>Maybe I'm gonna have more luck this time.
>
>Bjarne
>
>
>--
>--------------------------------------------------------------
>To subscribe:        [EMAIL PROTECTED]
>To unsubscribe:      [EMAIL PROTECTED]
>Problems?:           [EMAIL PROTECTED]
>





--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to