Changeset 7084 in josm
- Timestamp:
- 2014-05-09T06:19:22+02:00 (11 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/OsmPrimitive.java
r7005 r7084 767 767 reversedDirectionKeys = SearchCompiler.compile(reversedDirectionDefault, false, false); 768 768 } catch (ParseError e2) { 769 throw new AssertionError("Unable to compile default pattern for direction keys: " + e2.getMessage() );769 throw new AssertionError("Unable to compile default pattern for direction keys: " + e2.getMessage(), e2); 770 770 } 771 771 } … … 778 778 directionKeys = SearchCompiler.compile(directionDefault, false, false); 779 779 } catch (ParseError e2) { 780 throw new AssertionError("Unable to compile default pattern for direction keys: " + e2.getMessage() );780 throw new AssertionError("Unable to compile default pattern for direction keys: " + e2.getMessage(), e2); 781 781 } 782 782 } -
trunk/src/org/openstreetmap/josm/gui/mappaint/ElemStyles.java
r7059 r7084 118 118 osm.mappaintStyle = style.put(p.a, p.b); 119 119 } catch (StyleCache.RangeViolatedError e) { 120 AssertionError error = new AssertionError("Range violated. object: " + osm.getPrimitiveId() + ", current style: "+osm.mappaintStyle 121 + ", scale: " + scale + ", new stylelist: " + p.a + ", new range: " + p.b); 122 error.initCause(e); 123 throw error; 120 throw new AssertionError("Range violated. object: " + osm.getPrimitiveId() + ", current style: "+osm.mappaintStyle 121 + ", scale: " + scale + ", new stylelist: " + p.a + ", new range: " + p.b, e); 124 122 } 125 123 osm.mappaintCacheIdx = cacheIdx;
Note:
See TracChangeset
for help on using the changeset viewer.