Checked exception is almost certainly wrong. But I'm not sure we need any exception at all here. I don't think these methods need any exceptions at all aside from NullPointerException for null inputs. Otherwise, every string should have a deterministic representation in camel case, pascal case, etc.
Is there any external documentation of these forms we could reference? On Wed, Aug 9, 2023 at 10:21 PM Hasan Diwan <hasan.di...@gmail.com> wrote: > > [content inline] > > On Wed, 9 Aug 2023 at 15:08, Elliotte Rusty Harold <elh...@ibiblio.org> > wrote: > > > What happens when a token contains an unpermitted character? > > > > Three possibilities: > 1. null -- favoured by Square's HTTP implementation. > 2. a checked Exception --preferred by the JDK. > 3. an unchecked Exception -- leveraged by various commons projects, like > commons-math's interpolate method. -- H > -- > OpenPGP: https://hasan.d8u.us/openpgp.asc > If you wish to request my time, please do so using > *bit.ly/hd1AppointmentRequest > <http://bit.ly/hd1AppointmentRequest>*. > Si vous voudrais faire connnaisance, allez a *bit.ly/hd1AppointmentRequest > <http://bit.ly/hd1AppointmentRequest>*. > > <https://sks-keyservers.net/pks/lookup?op=get&search=0xFEBAD7FFD041BBA1>Sent > from my mobile device > Envoye de mon portable -- Elliotte Rusty Harold elh...@ibiblio.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org