constructor(binarizer) {
			this.binarizer = binarizer;
			if (binarizer === null) {
				throw new IllegalArgumentException('Binarizer must be non-null.');
			}
		}
Custom Error class of type Exception.