Fixed an error in improved error handling of ECLBinaryResourceImpl