com.arsdigita.categorization
Class CategoryMappingExistsException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended bycom.arsdigita.util.UncheckedWrapperException
                  extended bycom.arsdigita.categorization.CategorizationException
                      extended bycom.arsdigita.categorization.CategoryMappingExistsException
All Implemented Interfaces:
Serializable

public class CategoryMappingExistsException
extends CategorizationException

This is thrown when an attempt is made to add a mapping that already exists.

Version:
$Revision: #10 $ $DateTime: 2004/04/07 16:07:11 $
Author:
Randy Graebner
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.arsdigita.util.UncheckedWrapperException
versionId
 
Constructor Summary
CategoryMappingExistsException(Exception e)
           
CategoryMappingExistsException(String message)
           
 
Method Summary
 Category getCategory()
          Returns the category for which the exception was thrown.
 ACSObject getObject()
          Returns the object that caused this exception.
 void setCategory(Category cat)
          Sets the parent category from the mapping.
 void setObject(ACSObject object)
          Sets the offending object.
 
Methods inherited from class com.arsdigita.util.UncheckedWrapperException
getMessage, getRootCause, hasRootCause, printStackTrace, printStackTrace, printStackTrace, throwLoggedException, toString, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CategoryMappingExistsException

public CategoryMappingExistsException(String message)

CategoryMappingExistsException

public CategoryMappingExistsException(Exception e)
Method Detail

setObject

public void setObject(ACSObject object)
Sets the offending object.


setCategory

public void setCategory(Category cat)
Sets the parent category from the mapping.


getObject

public ACSObject getObject()
Returns the object that caused this exception.


getCategory

public Category getCategory()
Returns the category for which the exception was thrown.



Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 20 2004:2337 UTC