Home | History | Annotate | Download | only in svg

Lines Matching defs:exceptionState

35 #include "bindings/v8/ExceptionState.h"
60 float SVGLengthTearOff::value(ExceptionState& es)
66 void SVGLengthTearOff::setValue(float value, ExceptionState& es)
83 void SVGLengthTearOff::setValueInSpecifiedUnits(float value, ExceptionState& es)
98 void SVGLengthTearOff::setValueAsString(const String& str, ExceptionState& es)
109 void SVGLengthTearOff::newValueSpecifiedUnits(unsigned short unitType, float valueInSpecifiedUnits, ExceptionState& exceptionState)
112 exceptionState.throwDOMException(NoModificationAllowedError, "The object is read-only.");
117 exceptionState.throwDOMException(NotSupportedError, "Cannot set value with unknown or invalid units (" + String::number(unitType) + ").");
125 void SVGLengthTearOff::convertToSpecifiedUnits(unsigned short unitType, ExceptionState& exceptionState)
128 exceptionState.throwDOMException(NoModificationAllowedError, "The object is read-only.");
133 exceptionState.throwDOMException(NotSupportedError, "Cannot convert to unknown or invalid units (" + String::number(unitType) + ").");
138 target()->convertToSpecifiedUnits(toSVGLengthType(unitType), lengthContext, exceptionState);