com.ibm.ftt.properties
Class UnregisteredCategoryException
java.lang.Object
java.lang.Throwable
java.lang.Exception
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
|
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 |
COPY_RIGHT
public static final String COPY_RIGHT
- See Also:
- Constant Field Values
UnregisteredCategoryException
public UnregisteredCategoryException(String name)
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.