From 52b885fae14d7e6f06473c6b2cbb7fb09e7aae46 Mon Sep 17 00:00:00 2001 From: Project Nayuki Date: Sat, 27 Oct 2018 02:14:52 +0000 Subject: [PATCH] Updated Java code - changed QrSegmentAdvanced.makeSegmentsOptimally() to throw DataTooLongException and synchronize logic and Javadoc with QrCode class, changed Javadoc of DataTooLongException. --- .../io/nayuki/qrcodegen/DataTooLongException.java | 8 +++++--- java/io/nayuki/qrcodegen/QrSegmentAdvanced.java | 15 ++++++++++----- 2 files changed, 15 insertions(+), 8 deletions(-) diff --git a/java/io/nayuki/qrcodegen/DataTooLongException.java b/java/io/nayuki/qrcodegen/DataTooLongException.java index 4baadfc..17f8d5e 100644 --- a/java/io/nayuki/qrcodegen/DataTooLongException.java +++ b/java/io/nayuki/qrcodegen/DataTooLongException.java @@ -28,9 +28,10 @@ package io.nayuki.qrcodegen; * Thrown when the supplied data does not fit any QR Code version. Ways to handle this exception include: *