{
if (parameters.length < 1) {
throw parametersMissing(context, "dim");
}
try {
Dimension dim = _synapse.getOrCreateDimension(parameters[0].toString());
return (dim != null) ? new AnyDimension(dim) : UNDEFINED;
} catch (OperationFailedException e) {
throw context.exception(e);
}
}