com.ibm.websphere.workarea
Class PartitionAlreadyExistsException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.ibm.websphere.workarea.PartitionAlreadyExistsException
-
- All Implemented Interfaces:
- java.io.Serializable
public class PartitionAlreadyExistsException extends java.lang.Exception
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"); . . . } . . .- See Also:
WorkAreaPartitionManager
, Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description PartitionAlreadyExistsException()
PartitionAlreadyExistsException(java.lang.String s)
-