Navigation:  Programming Cookbook > Binary Filing Objects >

STB Exceptions

Previous pageReturn to chapter overviewNext page

Both the underlying stream object and the STB filers themselves may signal exceptions during the saving or loading of objects. The STBInFiler and STBOutFiler raise non-resumable exceptions of class STBError. Where the filers are used with a FileStream the user code should trap any such exceptions to ensure that the stream is properly closed.