* @exception IllegalStateException if the popped object is not
* of the correct type
*/
public void end(String namespace, String name) throws Exception {
NavigationRuleBean top = null;
try {
top = (NavigationRuleBean) digester.pop();
} catch (Exception e) {
throw new IllegalStateException("Popped object is not a " +
CLASS_NAME + " instance");
}
FacesConfigBean fcb = (FacesConfigBean) digester.peek();
NavigationRuleBean old = fcb.getNavigationRule(top.getFromViewId());
if (old == null) {
if (digester.getLogger().isDebugEnabled()) {
digester.getLogger().debug("[NavigationRuleRule]{" +
digester.getMatch() +
"} New(" +