minor fixes
This commit is contained in:
parent
472619fe9c
commit
5a96a9cdb7
1 changed files with 3 additions and 5 deletions
|
@ -24,7 +24,7 @@
|
|||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
* $Id: GUI.java,v 1.38 2007/04/02 12:45:19 fros4943 Exp $
|
||||
* $Id: GUI.java,v 1.39 2007/04/02 13:42:05 fros4943 Exp $
|
||||
*/
|
||||
|
||||
package se.sics.cooja;
|
||||
|
@ -1979,8 +1979,6 @@ public class GUI {
|
|||
myGUI.setSimulation(newSim);
|
||||
|
||||
} catch (UnsatisfiedLinkError e) {
|
||||
logger.fatal("Could not load libraries: " + e.getMessage());
|
||||
|
||||
JOptionPane.showMessageDialog(frame,
|
||||
e.getMessage(),
|
||||
"Simulation reload error",
|
||||
|
@ -1988,8 +1986,6 @@ public class GUI {
|
|||
|
||||
myGUI.doRemoveSimulation(false);
|
||||
} catch (SimulationCreationException e) {
|
||||
logger.fatal("Could not reopen simulation: " + e.getMessage());
|
||||
|
||||
JOptionPane.showMessageDialog(frame,
|
||||
e.getMessage(),
|
||||
"Simulation reload error",
|
||||
|
@ -2728,6 +2724,8 @@ public class GUI {
|
|||
throw new SimulationCreationException("Configuration file not wellformed: " + e.getMessage());
|
||||
} catch (IOException e) {
|
||||
throw new SimulationCreationException("No access to configuration file: " + e.getMessage());
|
||||
} catch (MoteTypeCreationException e) {
|
||||
throw new SimulationCreationException("Mote type creation error: " + e.getMessage());
|
||||
} catch (Exception e) {
|
||||
throw new SimulationCreationException("Unknown error: " + e.getMessage());
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue