in commons-digester3-core/src/main/java/org/apache/commons/digester3/FactoryCreateRule.java [279:306]
public void end( final String namespace, final String name )
throws Exception
{
// check if object was created
// this only happens if an exception was thrown and we're ignoring them
if ( ignoreCreateExceptions
&& exceptionIgnoredStack != null
&& !exceptionIgnoredStack.empty()
&& exceptionIgnoredStack.pop().booleanValue() )
{
// creation exception was ignored
// nothing was put onto the stack
if ( getDigester().getLogger().isTraceEnabled() )
{
getDigester().getLogger().trace( format( "[FactoryCreateRule]{%s} No creation so no push so no pop",
getDigester().getMatch() ) );
}
return;
}
final Object top = getDigester().pop();
if ( getDigester().getLogger().isDebugEnabled() )
{
getDigester().getLogger().debug( format( "[FactoryCreateRule]{%s} Pop %s",
getDigester().getMatch(),
top.getClass().getName() ) );
}
}