protected synchronized void checkOpened() throws FolderClosedException { if (!opened) { throw new IllegalStateException("This operation is not allowed on a closed folder " + objectId); } }
@Override protected void checkOpened() throws FolderClosedException { if (!opened) { throw new IllegalStateException("This operation is not allowed on a closed folder: " + getFullName() + " (" + objectId + ")"); } }