Hi Ariel,

> At the end of the mail I copy and paste the stack trace.
> I catch this exception right after invoking the constructor.

Hmm, unfortunately the stack begins in the Java UNO bridge, saying that
on the other side of the bridge, an exception was thrown - but no
mention of *where* this was.

> Watching the variable assigned to it:
> 
> the TargetException is of type css.sdbc.SQLException
> 
> .SQLState, type String, = ""
> .ErrorCode, type int, = 1000
> .NextException, type Any, = #362

Okay, not really meaningful. Since NextException doesn't seem to be null
- what's the text in there? (And yes, this is one step too much - the
error should be obvious from the TargetException, at the latest.)

I'll try to reproduce the error tomorrow. I suppose we can improve some
error message in some deeper code, completely independent from the copy
table wizard.

That said, I think "Unknown Source" is from the Java UNO bridge.


It might be debatable whether the constructors should really throw a
WrappedTargetException - we could also simply declare them to raise
Exception, and allow anything inside to pass to the caller, instead of
wrapping it. Hmm.

> So there is no much information. Looks like Java bridge specific...
> 
> Another thing: XCopyTableListener::copyingRow() and 
> XCopyTableListener::copiedRow() have the same description: "is called 
> when a row is about to be copied."

Ah, yes, fixed - thanks.

> Another small autodoc error: the description of the service 
> CopyTableWizard in com/sun/star/sdb/application/module-ix.html includes 
> the heading "Interactions"[<a 
> name="interaction"></a><h3>Interactions</h3> also 
> com/sun/star/sdb/application/CopyTableWizard.html]

I see - need to check, sounds like time for submitting another autodoc
issue.

Thanks & Ciao
Frank

-- 
- Frank Schönheit, Software Engineer         [EMAIL PROTECTED] -
- Sun Microsystems                      http://www.sun.com/staroffice -
- OpenOffice.org Base                       http://dba.openoffice.org -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

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

Reply via email to