openlayers/ol3 — pull request #2584 by fredj (2014-08-21 13:23:52+00:00)
Title: Replace 'throw new Error' by 'goog.asserts.fail'

See https://groups.google.com/d/msg/ol3-dev/fP15Q9D1vro/DXQKcukpqeYJ

Comments welcome