134135136137138139140141
/** * @throws InvalidStateException if session is not active */ void checkSession() throws InvalidStateException { if (!this.session.isLive()) { throw new InvalidStateException(JcrI18n.sessionIsNotActive.text(this.session.sessionId())); } }