protected function check($value, $method) { if (self::isThrowable($value) === false) { throw new exceptions\logic\invalidArgument('Argument of ' . __CLASS__ . '::' . $method . '() must be an exception instance'); } return $this; }