if (getArea(name) != null) {
String exceptionMessage = String.format(
"The area '%s' already exists. All areas must have unique names.", name);
throw new UniqueNameException(exceptionMessage);
} else {
DataModelArea area = new SWTModelArea(
this,
getParentComponentWithType(),
name,
(Composite) componentForArea,
this.newAreaStyle);