|
Smalltalk/X WebserverDocumentation of class 'UnhandledAttributeInLiteralArrayErrorSignal': |
|
|
Class: UnhandledAttributeInLiteralArrayErrorSignalInheritance:Object | +--GenericException | +--Notification | +--UnhandledAttributeInLiteralArrayErrorSignal
Description:
notifying when decoding a literal array spec,
when a non-existing attribute is encountered.
i.e. a spec-element of the form
(Foo attribute: x),
where atribute is unknown to the Foo class (at cannot decode that)
(used to be an errorPrint in basicFromLiteralArrayEncoding).
|spec1 spec2|
UnhandledAttributeInLiteralArrayErrorSignal handle:[:ex |
Transcript showCR:ex description
] do:[
spec1 := #(#UISpecification #activeHelpKey: #foo) decodeAsLiteralArray.
spec2 := #(#UISpecification #blabla: #foo) decodeAsLiteralArray.
].
Transcript showCR:spec1.
Transcript showCR:spec2.
Class protocol:initialization
Instance protocol:accessing
|
|
|
ST/X 7.1.0.0; WebServer 1.663 at exept.de:8081; Wed, 17 Dec 2025 10:06:01 GMT
|