com.ibm.ftt.properties
Class UnregisteredCategoryException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.ibm.ftt.properties.UnregisteredCategoryException
All Implemented Interfaces:
Serializable

public class UnregisteredCategoryException
extends Exception

This exception occurs when importing property groups into a property group container if an imported property group has a category instance that is defined by a category that is not registered with the property group manager.

See Also:
Serialized Form

Field Summary
static String COPY_RIGHT
           
 
Constructor Summary
UnregisteredCategoryException(String name)
           
 
Method Summary
 void addCategory(String propertyGroupName, String category)
          This method enables this class to accumulate information about unregistered categories.
 String getDetails()
          Returns a string consisting of property group names and categories within those property groups that were not registered.
 String getName()
          The name of the first category that is not registered.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

COPY_RIGHT

public static final String COPY_RIGHT
See Also:
Constant Field Values
Constructor Detail

UnregisteredCategoryException

public UnregisteredCategoryException(String name)
Method Detail

getName

public String getName()
The name of the first category that is not registered. The details will contain the names of all of the categories that were not registered, and the names of the property groups for those categories.

Returns:
The name of the first category that is not registered.

getDetails

public String getDetails()
Returns a string consisting of property group names and categories within those property groups that were not registered.

Returns:
The details about the categories that were not registered.

addCategory

public void addCategory(String propertyGroupName,
                        String category)
This method enables this class to accumulate information about unregistered categories. It stores the information in the details string.

Parameters:
propertyGroupName - The name of the property group containing the unregistered category.
category - The name of the unregistered category.