return d;
}
}
catch(NumberFormatException e)
{
throw new FXGException(node.getStartLine(), node.getStartColumn(), "InvalidDoubleValue", name, value);
}
if (((AbstractFXGNode)node).isVersionGreaterThanCompiler())
{
// Warning: Minor version of this FXG file is greater than minor
// version supported by this compiler. Use default value if an
// attribute value is out of range.
FXGLog.getLogger().log(FXGLogger.WARN, "DefaultAttributeValue", null, ((AbstractFXGNode)node).getDocumentName(), node.getStartLine(), node.getStartColumn(), defaultValue, name);
return defaultValue;
}
else
{
// Exception:Numeric value {0} must be greater than or equal to {1}
// and less than or equal to {2}.
throw new FXGException(node.getStartLine(), node.getStartColumn(), "OutOfRangeValue", name, value, min, max);
}
}