Class PartitionAlreadyExistsException

  • java.lang.Object
    • java.lang.Throwable
      • java.lang.Exception
  • All Implemented Interfaces:

    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";
         //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
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • PartitionAlreadyExistsException

        public PartitionAlreadyExistsException()
      • PartitionAlreadyExistsException

        public PartitionAlreadyExistsException(java.lang.String s)
IBM WebSphere Application ServerTM
Release 9.0