List of usage examples for javax.naming InvalidNameException InvalidNameException
public InvalidNameException()
From source file:org.openflexo.foundation.wkf.FlexoProcess.java
public void setBusinessDataVariableName(String aName) throws InvalidNameException, DuplicatePropertyNameException { if (aName == null) { return;//from w w w .j av a 2 s . c om } if (ReservedKeyword.contains(aName)) { throw new InvalidNameException(); } if (getBusinessDataProperty() != null) { getBusinessDataProperty().setName(aName); } else if (getProcessDMEntity() != null) { if (!aName.trim().equals("")) { getProcessDMEntity().createBusinessDataProperty(aName); } } }