mirror of
https://github.com/AppleCommander/AppleCommander.git
synced 2024-10-31 16:04:51 +00:00
Updating error message to hopefully clarify when the master directory
ran out of file entries instead of having an actual full disk. #72
This commit is contained in:
parent
92147b03ac
commit
ae85bc8810
@ -253,7 +253,11 @@ public class ProdosFormatDisk extends FormattedDisk {
|
|||||||
}
|
}
|
||||||
blockNumber = nextBlockNumber;
|
blockNumber = nextBlockNumber;
|
||||||
}
|
}
|
||||||
|
if (directory instanceof ProdosSubdirectoryHeader) {
|
||||||
throw new DiskFullException(textBundle.get("ProdosFormatDisk.UnableToAllocateSpaceError"), this.getFilename()); //$NON-NLS-1$
|
throw new DiskFullException(textBundle.get("ProdosFormatDisk.UnableToAllocateSpaceError"), this.getFilename()); //$NON-NLS-1$
|
||||||
|
} else {
|
||||||
|
throw new DiskFullException(textBundle.get("ProdosFormatDisk.UnableToAllocateFileEntry"), this.getFilename());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -1438,8 +1442,12 @@ public class ProdosFormatDisk extends FormattedDisk {
|
|||||||
}
|
}
|
||||||
blockNumber = nextBlockNumber;
|
blockNumber = nextBlockNumber;
|
||||||
}
|
}
|
||||||
|
if (directory instanceof ProdosSubdirectoryHeader) {
|
||||||
throw new DiskFullException(
|
throw new DiskFullException(
|
||||||
textBundle.get("ProdosFormatDisk.UnableToAllocateSpaceError") //$NON-NLS-1$
|
textBundle.get("ProdosFormatDisk.UnableToAllocateSpaceError") //$NON-NLS-1$
|
||||||
, this.getFilename());
|
, this.getFilename());
|
||||||
|
} else {
|
||||||
|
throw new DiskFullException(textBundle.get("ProdosFormatDisk.UnableToAllocateFileEntry"), this.getFilename());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -85,6 +85,7 @@ RdosFileEntry.NotInUse=<NOT IN USE>
|
|||||||
ProdosFormatDisk.InvalidDimensionError=Invalid dimension for isFree\! Did you call next first?
|
ProdosFormatDisk.InvalidDimensionError=Invalid dimension for isFree\! Did you call next first?
|
||||||
ProdosFormatDisk.Blank=BLANK
|
ProdosFormatDisk.Blank=BLANK
|
||||||
ProdosFormatDisk.UnableToAllocateSpaceError=Unable to allocate more space for another file\!
|
ProdosFormatDisk.UnableToAllocateSpaceError=Unable to allocate more space for another file\!
|
||||||
|
ProdosFormatDisk.UnableToAllocateFileEntry=Unable to allocate another file entry in root directory\!
|
||||||
ProdosFormatDisk.VolumeAccess=Volume Access
|
ProdosFormatDisk.VolumeAccess=Volume Access
|
||||||
ProdosFormatDisk.BitmapBlockNumber=Block Number of Bitmap
|
ProdosFormatDisk.BitmapBlockNumber=Block Number of Bitmap
|
||||||
ProdosFormatDisk.CreationDate=Creation Date
|
ProdosFormatDisk.CreationDate=Creation Date
|
||||||
|
Loading…
Reference in New Issue
Block a user