A PartitionAlreadyExistsException exception indicates that the work area partition with
the given name a user tried to create already exists. A Partition name must be unique.
For example, if the partition "myPartitionName" alread exists, and a user tries to create
a partition with this name, a PartitionAlreadyExistsException will be thrown:
. . .
String myPar = "myPartitionName";
try{
//See the UserWorkArea
interface and the
//WorkAreaPartitionManager
interface.
UserWorkArea myPartition = workAreaPartitionManager.createWorkAreaPartition(myPar,properties);
}
catch(PartitionAlreadyExistsException e){
System.out.println("Partition: " + myPar + " already exists");
. . .
}
. . .