From b6940d43023708712650047a7c6e120428d4109e Mon Sep 17 00:00:00 2001 From: fros4943 Date: Wed, 9 May 2007 07:18:36 +0000 Subject: [PATCH] differing between exceptions --- tools/cooja/java/se/sics/cooja/CoreComm.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tools/cooja/java/se/sics/cooja/CoreComm.java b/tools/cooja/java/se/sics/cooja/CoreComm.java index 919161fb5..fb20a7d40 100644 --- a/tools/cooja/java/se/sics/cooja/CoreComm.java +++ b/tools/cooja/java/se/sics/cooja/CoreComm.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: CoreComm.java,v 1.6 2007/04/03 16:18:44 fros4943 Exp $ + * $Id: CoreComm.java,v 1.7 2007/05/09 07:18:36 fros4943 Exp $ */ package se.sics.cooja; @@ -274,13 +274,13 @@ public abstract class CoreComm { return newCoreComm; } catch (NoSuchMethodException e) { - throw new MoteTypeCreationException("Error when creating library instance: " + className); + throw new MoteTypeCreationException("Error when creating library instance (#1): " + className); } catch (InstantiationException e) { - throw new MoteTypeCreationException("Error when creating library instance: " + className); + throw new MoteTypeCreationException("Error when creating library instance (#2): " + className); } catch (InvocationTargetException e) { - throw new MoteTypeCreationException("Error when creating library instance: " + className); + throw new MoteTypeCreationException("Error when creating library instance (#3): " + className); } catch (IllegalAccessException e) { - throw new MoteTypeCreationException("Error when creating library instance: " + className); + throw new MoteTypeCreationException("Error when creating library instance (#4): " + className); } }