private void persistDisabledVersion ( long version ) throws PersistenceFailureException { File disabledMarker = getDisabledMarkerFile ( version ) ; try { disabledMarker . createNewFile ( ) ; } catch ( IOException e ) { throw new PersistenceFailureException ( "Failed to create the disabled marker at path: " + disabledMarker . getAbsolutePath ( ) + "\nThe store/version " + "will remain disabled only until the next restart." , e ) ; } }
Places a disabled marker file in the directory of the specified version .