Make error messages more helpful #142

Merged
merged 1 commit into from Jul 21, 2012
View
@@ -16,11 +16,11 @@
transformation: null,
rawProject: function(point) {
- throw "Abstract method not implemented by subclass.";
+ throw "Abstract method rawProject not implemented by subclass.";
},
rawUnproject: function(point) {
- throw "Abstract method not implemented by subclass.";
+ throw "Abstract method rawUnproject not implemented by subclass.";
},
project: function(point) {
View
@@ -22,11 +22,11 @@
],
getTileUrl: function(coordinate) {
- throw "Abstract method not implemented by subclass.";
+ throw "Abstract method getTileUrl not implemented by subclass.";
},
getTile: function(coordinate) {
- throw "Abstract method not implemented by subclass.";
+ throw "Abstract method getTile not implemented by subclass.";
},
// releaseTile is not required