FileSyncExceptionclassfile.t[74]

File synchronization exception. This is thrown when an operation (such as a read or write) is attempted on a file, but an undo, restore, or restart operation has been performed since the file was opened.

Because files exist on external devices, it is not practical or desirable for the virtual machine to keep track of or restore an external file's state when restoring, undoing, or restarting. So, when one of these state-restoring operations is performed, the program state essentially goes back in time to an earlier point, but any external files that the program has been accessing do not. So, the program's idea of the state of an open file will no longer agree with the actual state of the file on the external device. To protect against the obvious logic errors that would arise if the program attempted to continue using the file, the File object will throw this exception when any operation is attemped on a file in this state.

class FileSyncException :   FileException

Superclass Tree   (in declaration order)

FileSyncException
       
FileException
                Exception
                        object

Subclass Tree  

(none)

Global Objects  

(none)

Summary of Properties  

(none)

Summary of Methods  

displayException 

Inherited from Exception :
showStackTrace 

Properties  

(none)

Methods  

displayException ( )OVERRIDDENfile.t[75]

no description available

TADS 3 Library Manual
Generated on 9/15/2006 from TADS version 3.0.12