David,

On 5/25/05, David J. M. Karlsen <[EMAIL PROTECTED]> wrote:
> Hmm, HM1.1 is still beta stuff - and I need a very stable
> production-ready API. How many more betas?
> 
> So I went for the try/catch, but I still get a source-error - "no return
> statement". BodyBuilder toString():
> 
> {
>    com.jamonapi.Monitor mon =
> com.jamonapi.MonitorFactory.start("sendAndReceive");
>    try {
>    Object result = _delegate.sendAndReceive($$);
>    mon.stop();
>    return ($r) result;
>    }
>    catch (Throwable t){
>    if (mon!=null) mon.stop();
>    throw t;
>    };
> }
> 
> 

Hmm, maybe that's another Javassist bug. Try removing that last
semicolon (after the '}')...

--knut

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to