[squeak-dev] LDAPlayer deprecated method
Schwab,Wilhelm K
bschwab at anest.ufl.edu
Fri Jul 2 18:31:24 UTC 2010
Andreas,
I ran into a warning about LDAPResult>>checkForExceptions sending the now deprecated #or:or:. It was easy to silence (comment out the warning), but that won't fix the problem.
Maybe (untested):
checkForExceptions
( #( 0 5 6 ) includes:resultCode )
ifFalse: [
| ex |
ex := LDAPException newWithCode: resultCode.
ex signal: (errorMessage ifEmpty:[ex messageText]) ]
Bill
More information about the Squeak-dev
mailing list
|