public void registerListener(final POIFSReaderListener listener) {if (listener == null) {throw new NullPointerException();}if (registryClosed) {throw new IllegalStateException();}registry.registerListener(listener);}
public void RegisterListener(POIFSReaderListener listener){if (listener == null){throw new NullReferenceException();}if (registryClosed){throw new InvalidOperationException();}registry.RegisterListener(listener);}