Mercurial > hg > ishara
view arrows/iseof.m @ 2:7357e1dc2ad6
Simplified scheduler library with new schedule representation.
author | samer |
---|---|
date | Sat, 22 Dec 2012 16:17:51 +0000 |
parents | 672052bd81f8 |
children |
line wrap: on
line source
% iseof - test caught exception to see if it is Java End Of File % % iseof :: exception -> boolean. function f=iseof(ex) f = strcmp(ex.identifier,'ARROW:EOF') ... || (strcmp(ex.identifier,'MATLAB:Java:GenericException') ... && strncmp(ex.message(27:end),'java.io.EOFException',20)); end