Merge pull request #75 from AppleCommander/feature/shape_table_view
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:
commit
858a174b76
|
@ -253,7 +253,11 @@ public class ProdosFormatDisk extends FormattedDisk {
|
|||
}
|
||||
blockNumber = nextBlockNumber;
|
||||
}
|
||||
throw new DiskFullException(textBundle.get("ProdosFormatDisk.UnableToAllocateSpaceError"), this.getFilename()); //$NON-NLS-1$
|
||||
if (directory instanceof ProdosSubdirectoryHeader) {
|
||||
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;
|
||||
}
|
||||
throw new DiskFullException(
|
||||
textBundle.get("ProdosFormatDisk.UnableToAllocateSpaceError") //$NON-NLS-1$
|
||||
, this.getFilename());
|
||||
if (directory instanceof ProdosSubdirectoryHeader) {
|
||||
throw new DiskFullException(
|
||||
textBundle.get("ProdosFormatDisk.UnableToAllocateSpaceError") //$NON-NLS-1$
|
||||
, 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.Blank=BLANK
|
||||
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.BitmapBlockNumber=Block Number of Bitmap
|
||||
ProdosFormatDisk.CreationDate=Creation Date
|
||||
|
|
Loading…
Reference in New Issue