org.netbeans.microedition.util
Interface Executable
public interface Executable
Interface defining an execute method, which can throw exception. This
exception is then used in WaitScreen to determine whether the Executable
succeeded or failed.
|
Method Summary |
void |
execute()
Method to be executed. |
execute
void execute()
throws java.lang.Exception
- Method to be executed. By throwing/not throwing exception the method notifies whether the code finished succesfully or whetehr it failed.
- Throws:
java.lang.Exception - can throw this exception when the method fails.