public void queueEvent(FacesEvent event) {

        if (event == null) {
            throw new NullPointerException();
        }
        UIComponent parent = getParent();
        if (parent == null) {
            throw new IllegalStateException();
        } else {
            parent.queueEvent(event);
        }

    }
public void queueEvent ( FacesEvent event ) { if ( event == null ) { throw new NullPointerException ( ) ; } UIComponent parent = getParent ( ) ; if ( parent == null ) { throw new IllegalStateException ( ) ; } else { parent . queueEvent ( event ) ; } }
@throws IllegalStateException {@inheritDoc}
@throws NullPointerException  {@inheritDoc}