Hi Roland,
ULC signals errors to the session state listener. The session state
listener that is installed by default shows the ErrorDialog you
mention in your question. So to change the error dialog in some way
you can install a custom session state listener in your launcher. A
custom session listener might look as follows:
public class DefaultSessionStateListener implements
ISessionStateListener {
public void sessionStarted(UISession session) throws Exception {
session.startConnector();
session.sendStartApplication();
}
public void sessionEnded(UISession session) throws Exception {
session.stopConnector();
}
public void sessionError(UISession session, Throwable reason) {
new MyErrorDialog("Application Error", "Unrecoverable error.
The application will be terminated.", reason).show();
}
}
Regards Dany
On 13.05.2008, at 13:32, Batuna, Roland wrote:
Is there any way to change buttons text in ErrorDialog? E.g. button
“Show Details” to “My Show Details” ?