org.apache.cocoon.forms.formmodel
Class DuplicateIdException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.apache.commons.lang.exception.NestableException
              extended by org.apache.cocoon.util.location.LocatedException
                  extended by org.apache.cocoon.ProcessingException
                      extended by org.apache.cocoon.forms.FormsException
                          extended by org.apache.cocoon.forms.formmodel.DuplicateIdException
All Implemented Interfaces:
Serializable, Locatable, LocatableException, MultiLocatable, org.apache.commons.lang.exception.Nestable

public class DuplicateIdException
extends FormsException

This exception is thrown by WidgetDefinitions that contain other WidgetDefinitions, such as the FormDefinition or the RepeaterDefinition, in case one tries to add a WidgetDefinition that has the same id as another, previously added, WidgetDefinition.

Version:
$Id: DuplicateIdException.html 1304258 2012-03-23 10:09:27Z ilgrosso $
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.commons.lang.exception.NestableException
delegate
 
Constructor Summary
DuplicateIdException(String message)
           
DuplicateIdException(String message, Location location)
           
DuplicateIdException(String message, WidgetDefinition widget)
           
 
Method Summary
 
Methods inherited from class org.apache.cocoon.ProcessingException
throwLocated, throwLocated
 
Methods inherited from class org.apache.cocoon.util.location.LocatedException
addCauseLocations, addLocation, ensureCauseChainIsSet, getLocation, getLocations, getMessage, getMessage, getRawMessage
 
Methods inherited from class org.apache.commons.lang.exception.NestableException
getCause, getMessage, getMessages, getThrowable, getThrowableCount, getThrowables, indexOfThrowable, indexOfThrowable, printPartialStackTrace, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DuplicateIdException

public DuplicateIdException(String message)

DuplicateIdException

public DuplicateIdException(String message,
                            Location location)

DuplicateIdException

public DuplicateIdException(String message,
                            WidgetDefinition widget)


Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.