eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'RecursiveRestoreError':

Home

Documentation
www.exept.de
Everywhere
for:
[back]

Class: RecursiveRestoreError


Inheritance:

   Object
   |
   +--GenericException
      |
      +--Notification
         |
         +--RecursiveRestoreError

Package:
stx:libbasic
Category:
Kernel-Exceptions-Errors
Version:
rev: 1.2 date: 2022/09/26 15:31:30
user: stefan
file: RecursiveRestoreError.st directory: libbasic
module: stx stc-classLibrary: libbasic

Description:


A Notifaction (i.e. ignored if not explicitly handled).
Raised on an attempt to restore an object that had cycles when 
being stored with a store mechanism, that does not support cycles (e.g. #storeOn:).
Instead of the non-restorable object with cycles, a default dummy object is restored.

copyright

COPYRIGHT (c) 2022 by eXept Software AG All Rights Reserved This software is furnished under a license and may be used only in accordance with the terms of that license and with the inclusion of the above copyright notice. This software may not be provided or otherwise made available to, or used by, any other person. No title to or ownership of the software is hereby transferred.

Class protocol:

accessing
o  defaultNotifierString


Instance protocol:

default actions
o  defaultAction
the traditional behavior: returning an empty collection.

o  description
(comment from inherited method)
return the description string of the signal/exception.
If a messageText has been set, that is returned,
appended or prepended to the classes description string.
MessageText can be a computed value or anything which converts to a string


Examples:


     |coll|

     coll := #(nil 1 2 3 4 5 6 7).
     coll at:1 put:coll.
     ([
        Object readFrom:coll storeString.
     ] on:RecursiveRestoreError do:[:ex|
        ex proceedWith:'CYLIC OBJECT CANNOT BE RESTORED'.
     ]) inspect.    


ST/X 7.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Thu, 21 Nov 2024 18:59:57 GMT