Re: Question about Exception behaviour



Hi Chris,
So you are saying that in class Throwable (as i can see it too) it
allows one to set the message and the cause to null, hmmm!

well, here is the stinger... even if it DOES produce odd results in the
stack trace it does have the information of a line of two after it...

Example:
cz.unicorn.afu_v1.af_v1.util_v1.date_v1.test.TestException
at
cz.unicorn.afu_v1.af_v1.util_v1.date_v1.test.ExceptionChainingTest.topLink(ExceptionChainingTest.java:29)
at
cz.unicorn.afu_v1.af_v1.util_v1.date_v1.test.ExceptionChainingTest.main(ExceptionChainingTest.java:19)

BUT if you see the earlier example the last line of the trace is JUST a


"Caused by: java.lang.NullPointerException"
which is very strange... meaning it just appeared with the stack frames
being empty :-) !!

any more ideas...

-U

.



Relevant Pages

  • Re: OT - What will Ozzy think now?
    ... > The Chris wrote: ... >> I always remember him saying he wouldn't accept it. ... Is it just politics?? ... Prev by Date: ...
    (rec.music.artists.kiss)
  • Re: My lots in Az.
    ... >> Thanks for saying that. ... >> Take Care ... Prev by Date: ...
    (rec.outdoors.rv-travel)
  • Re: OT:Dentists kit
    ... Bernard Earp wrote: ... it is the way I'm not saying it? ... Chris J Dixon Nottingham ... Prev by Date: ...
    (uk.media.radio.archers)
  • Re: Women in IT
    ... >>> I'm going to have to shut up in a minute, because saying certain things ... >>> in public is probably not the wisest thing to do for a trainee teacher ... Chris ... Prev by Date: ...
    (uk.comp.sys.mac)
  • Re: copyright pop up for photo
    ... > when I tried to save a photo with a right click, ... > usual menu a dialog popped up saying "copyright". ... Chris ... Prev by Date: ...
    (uk.net.web.authoring)