public static function forString($string, $code = self::CODE_FOR_STRING, Exception $previous = null)
    {
        $message = self::DEFAULT_MESSAGE . sprintf(self::MESSAGE_EXTENSION_FOR_STRING_FORMAT, $string);

        return new static($message, $code, $previous);
    }