Home | History | Annotate | Download | only in svg

Lines Matching defs:exceptionState

26 #include "bindings/v8/ExceptionState.h"
145 TrackExceptionState exceptionState;
146 length->setValueAsString(value, exceptionState);
147 if (exceptionState.hadException()) {
162 float SVGLength::value(const SVGLengthContext& context, ExceptionState& es) const
167 void SVGLength::setValue(float value, const SVGLengthContext& context, ExceptionState& es)
212 void SVGLength::setValueAsString(const String& string, ExceptionState& exceptionState)
228 exceptionState.throwDOMException(SyntaxError, "The value provided ('" + string + "') is invalid.");
247 void SVGLength::convertToSpecifiedUnits(SVGLengthType type, const SVGLengthContext& context, ExceptionState& exceptionState)
251 float valueInUserUnits = value(context, exceptionState);
252 if (exceptionState.hadException())
257 setValue(valueInUserUnits, context, exceptionState);
258 if (!exceptionState.hadException())