Raising failure event from Netbeans Waitscreen

View: New views
2 Messages — Rating Filter:   Alert me  

Raising failure event from Netbeans Waitscreen

by jonathangmiller :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I need to raise the failure event (FAILURE_COMMAND) for a Waitscreen in the Netbeans IDE, but I do not want to throw a new exception to create the failure.

I am writing the code in Netbeans/Java, but then porting it over to a Blackberry. If I throw a new exception, then an ugly error message comes up on the Blackberry.

Thanks,
-Jonathan

Re: Raising failure event from Netbeans Waitscreen

by Karol Harezlak :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Jonathan,
If you handle your exceptions properly device should not throw any
errors or exceptions. You can  look how it is done in WaitScreen tutorial:

http://www.netbeans.org/kb/55/custom-waitscreen.html

Karol


jonathangmiller wrote:

> I need to raise the failure event (FAILURE_COMMAND) for a Waitscreen in the
> Netbeans IDE, but I do not want to throw a new exception to create the
> failure.
>
> I am writing the code in Netbeans/Java, but then porting it over to a
> Blackberry. If I throw a new exception, then an ugly error message comes up
> on the Blackberry.
>
> Thanks,
> -Jonathan
>  

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...

LightInTheBox - Buy quality products at wholesale price