> otherwise <code>"NotSupportedError"</code>.

You mean "otherwise throw a <code>"NotSupportedError"</code>."?