diff --git a/tools/cooja/java/se/sics/cooja/GUI.java b/tools/cooja/java/se/sics/cooja/GUI.java index e3f564727..d29650a39 100644 --- a/tools/cooja/java/se/sics/cooja/GUI.java +++ b/tools/cooja/java/se/sics/cooja/GUI.java @@ -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()); }