org.jboss.jsfunit.jsfsession
Class DuplicateClientIDException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.jboss.jsfunit.jsfsession.DuplicateClientIDException
All Implemented Interfaces:
Serializable

public class DuplicateClientIDException
extends RuntimeException

Exception indicates that a reference was made to a JSF component with a client ID suffix that matched more than one component on a page (client side) or in a component tree (server side). The message in this exception will tell you which client IDs matched the ID suffix.

Since:
1.0
Author:
Stan Silvert
See Also:
Serialized Form

Constructor Summary
DuplicateClientIDException(List elements, String clientIDSuffix)
          Create a new DuplicateClientIDException.
DuplicateClientIDException(String clientIDSuffix, List<String> clientIDs)
          Create a new DuplicateClientIDException.
 
Method Summary
 
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DuplicateClientIDException

public DuplicateClientIDException(String clientIDSuffix,
                                  List<String> clientIDs)
Create a new DuplicateClientIDException.

Parameters:
clientIDSuffix - The suffix that matched more than one component.
clientIDs - The list of IDs that matched the clientIDSuffix.

DuplicateClientIDException

public DuplicateClientIDException(List elements,
                                  String clientIDSuffix)
Create a new DuplicateClientIDException.

Parameters:
elements - A list of Elements whose IDs matched the clientIDSuffix.
clientIDSuffix - The suffix that matched more than one component.


Copyright © 2007-2010 JBoss, a division of Red Hat, Inc.. All Rights Reserved.