[Ecls-list] Invalid octet sequence -> SIMPLE-ERROR
Matthew Mondor
mm_lists at pulsar-zone.net
Thu Aug 6 05:48:41 UTC 2009
On Wed, 5 Aug 2009 03:36:39 -0400
Matthew Mondor <mm_lists at pulsar-zone.net> wrote:
> I'm not sure if it's easy to obtain those arguments from handler-case
> or handler-bind, but if it was, bivalent streams would be unnecessary
> to access the invalid bytes, and the condition could be signaled after
> the bytes were consumed instead of requireing a sync restart (like ECL
> currently does when signaling SIMPLE-ERROR).
After verification, it appears that condition objects slots can have
accessor functions which may be called from handler-bind, and that
indeed a possible choice would be to pass the invalid sequence through
it as well (sorry for my lisp-ignorance :).
--
Matt
More information about the ecl-devel
mailing list