/** * Check that the entity input stream has not been closed yet. * * @throws IllegalStateException in case the entity input stream has been closed. */ public void ensureNotClosed() throws IllegalStateException { if (closed) { throw new IllegalStateException(LocalizationMessages.ERROR_ENTITY_STREAM_CLOSED()); } }
/** * Check that the entity input stream has not been closed yet. * * @throws IllegalStateException in case the entity input stream has been closed. */ public void ensureNotClosed() throws IllegalStateException { if (closed) { throw new IllegalStateException(LocalizationMessages.ERROR_ENTITY_STREAM_CLOSED()); } }
/** * Check that the entity input stream has not been closed yet. * * @throws IllegalStateException in case the entity input stream has been closed. */ public void ensureNotClosed() throws IllegalStateException { if (closed) { throw new IllegalStateException(LocalizationMessages.ERROR_ENTITY_STREAM_CLOSED()); } }
/** * Check that the entity input stream has not been closed yet. * * @throws IllegalStateException in case the entity input stream has been closed. */ public void ensureNotClosed() throws IllegalStateException { if (closed) { throw new IllegalStateException(LocalizationMessages.ERROR_ENTITY_STREAM_CLOSED()); } }
/** * Check that the entity input stream has not been closed yet. * * @throws IllegalStateException in case the entity input stream has been closed. */ public void ensureNotClosed() throws IllegalStateException { if (closed) { throw new IllegalStateException(LocalizationMessages.ERROR_ENTITY_STREAM_CLOSED()); } }
/** * Check that the entity input stream has not been closed yet. * * @throws IllegalStateException in case the entity input stream has been closed. */ public void ensureNotClosed() throws IllegalStateException { if (closed) { throw new IllegalStateException(LocalizationMessages.ERROR_ENTITY_STREAM_CLOSED()); } }
/** * Check that the entity input stream has not been closed yet. * * @throws IllegalStateException in case the entity input stream has been closed. */ public void ensureNotClosed() throws IllegalStateException { if (closed) { throw new IllegalStateException(LocalizationMessages.ERROR_ENTITY_STREAM_CLOSED()); } }