Skip to content

Commit 8a5ea48

Browse files
committed
Corrected a few exception strings.
1 parent 42f3abe commit 8a5ea48

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

location/org/hecl/location/LocationCmd.java

+2-3
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ public Thing operate(int cmd, Interp interp, Thing[] argv) throws HeclException
7676
}
7777

7878
default:
79-
throw new HeclException("Unknown browser command '"
79+
throw new HeclException("Unknown location command '"
8080
+ argv[0].toString() + "' with code '"
8181
+ cmd + "'.");
8282

@@ -160,8 +160,7 @@ protected LocationCmd(int cmdcode,int minargs,int maxargs) {
160160
cmdtable.put("location.get", new LocationCmd(GET,1,6));
161161
} catch (Exception e) {
162162
e.printStackTrace();
163-
System.out.println("Can't create browser commands.");
163+
System.out.println("Can't create pim commands.");
164164
}
165-
166165
}
167166
}

0 commit comments

Comments
 (0)