| Index: Source/core/svg/SVGAngle.cpp
|
| diff --git a/Source/core/svg/SVGAngle.cpp b/Source/core/svg/SVGAngle.cpp
|
| index e88d5da4956faaf8a2641dfcd79191423739db7d..90ee200ecff595cb8045188c4c628fdaad9c392f 100644
|
| --- a/Source/core/svg/SVGAngle.cpp
|
| +++ b/Source/core/svg/SVGAngle.cpp
|
| @@ -163,7 +163,7 @@ void SVGAngle::setValueAsString(const String& value, ExceptionState& es)
|
| bool success = value.is8Bit() ? parseValue<LChar>(value, valueInSpecifiedUnits, unitType)
|
| : parseValue<UChar>(value, valueInSpecifiedUnits, unitType);
|
| if (!success) {
|
| - es.throwDOMException(SyntaxError);
|
| + es.throwUninformativeAndGenericDOMException(SyntaxError);
|
| return;
|
| }
|
|
|
| @@ -174,7 +174,7 @@ void SVGAngle::setValueAsString(const String& value, ExceptionState& es)
|
| void SVGAngle::newValueSpecifiedUnits(unsigned short unitType, float valueInSpecifiedUnits, ExceptionState& es)
|
| {
|
| if (unitType == SVG_ANGLETYPE_UNKNOWN || unitType > SVG_ANGLETYPE_GRAD) {
|
| - es.throwDOMException(NotSupportedError);
|
| + es.throwUninformativeAndGenericDOMException(NotSupportedError);
|
| return;
|
| }
|
|
|
| @@ -187,7 +187,7 @@ void SVGAngle::newValueSpecifiedUnits(unsigned short unitType, float valueInSpec
|
| void SVGAngle::convertToSpecifiedUnits(unsigned short unitType, ExceptionState& es)
|
| {
|
| if (unitType == SVG_ANGLETYPE_UNKNOWN || m_unitType == SVG_ANGLETYPE_UNKNOWN || unitType > SVG_ANGLETYPE_GRAD) {
|
| - es.throwDOMException(NotSupportedError);
|
| + es.throwUninformativeAndGenericDOMException(NotSupportedError);
|
| return;
|
| }
|
|
|
|
|