org.apache.cocoon.forms.formmodel
Class DuplicateIdException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.apache.cocoon.util.location.LocatedException
              extended byorg.apache.cocoon.ProcessingException
                  extended byorg.apache.cocoon.forms.FormsException
                      extended byorg.apache.cocoon.forms.formmodel.DuplicateIdException
All Implemented Interfaces:
org.apache.cocoon.util.location.Locatable, org.apache.cocoon.util.location.LocatableException, org.apache.cocoon.util.location.MultiLocatable, Serializable

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 1304280 2012-03-23 11:18:01Z ilgrosso $
See Also:
Serialized Form

Constructor Summary
DuplicateIdException(String message)
           
DuplicateIdException(String message, org.apache.cocoon.util.location.Location location)
           
DuplicateIdException(String message, WidgetDefinition widget)
           
 
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 java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, 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,
                            org.apache.cocoon.util.location.Location location)

DuplicateIdException

public DuplicateIdException(String message,
                            WidgetDefinition widget)


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