Maybe it's not an Exception that's being thrown.
Could it be a Throwable instead?
--- Bjoern Martin <[EMAIL PROTECTED]> wrote:
> Hi.
>
> > I have the following code:
> [...]
> > catch (Exception e)
> > {
> > e.printStackTrace(System.err);
> > }
> >
> > I can't seem to trap the error output. I am
> getting an error output
> > if the XML does not conform the schema which is
> correct, but it is
> > dumping it to the screen, rather than me being
> able to trap it.
> [...]
>
> Maybe I misunderstood you, but: doesn't the
> 'System.err' stream print
> to the screen by default?
>
> Regards.
>
> --
> Bjoern Martin
> [EMAIL PROTECTED]
>
>
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
>
__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]