com.ibm.websphere.workarea
Class NoSuchPartitionException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.ibm.websphere.workarea.NoSuchPartitionException
-
- All Implemented Interfaces:
- java.io.Serializable
public class NoSuchPartitionException extends java.lang.Exception
A NoSuchPartitionException exception indicates that the work area partition a user tried to look up doesn't exist. In other words, trying to look up a partition with a name that doesn't exist will throw an exception. For example, if the partition "myPartitionName" doesn't exist, and a user tries to look up a partition with this name, a NoSuchPartitionException will be thrown:. . . String myPar = "myPartitionName"; try{ //See the
UserWorkArea
interface and the //WorkAreaPartitionManager
interface. UserWorkArea myPartition = workAreaPartitionManager.getWorkAreaPartition(myPar); } catch(NoSuchPartitionException e){ System.out.println("Partition: " + myPar + " doesn't exist"); . . . } . . .- Version:
- 1.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description NoSuchPartitionException()
NoSuchPartitionException(java.lang.String s)
-