|
From: Tatara, E. R. <ta...@an...> - 2009-07-07 22:12:15
|
If you would like to log a message to the log window in the GUI, use:
MessageCenter.getMessageCenter(this.getClass()).error(ex.getMessage(),
ex);
Alternatively, if you would like a dialog window to appear, use:
RSApplication.getRSApplicationInstance().getGUI().showError("Title", "A
message");
eric
Eric Tatara, Ph.D.
Assistant Software Engineer
Center for Complex Adaptive Agent Systems Simulation
Decision and Information Sciences Division
Argonne National Laboratory
________________________________
From: Paul Grosman [mailto:pau...@gm...]
Sent: Tuesday, July 07, 2009 9:48 AM
To: rep...@li...
Subject: [Repast-interest] Converting from Repast J to Simphony -
showError
Hi all,
I am converting my RepastJ model to Simphony and I need to convvert my
input parmater validation code. I was using
SimUtilities.showError(ex.getMsg(), ex)
to display an error message.
What would be the correct method in Simphony?
Thanks,
Paul Grosman
Department of Geography, Planning and Environment,
Concordia University
|