Re: RE: [codec] DecoderException superclass [WAS: StatefulDecoders]

2004-02-25 Thread Alex Karasulu
evelopers List" <[EMAIL PROTECTED]> > Subject: RE: [codec] DecoderException superclass [WAS: StatefulDecoders] > > > > I think the introduction of EncoderException and DecoderException > > > in and of itself was a mistake in the first place. > > > Encoder an

RE: [codec] DecoderException superclass [WAS: StatefulDecoders]

2004-02-25 Thread Noel J. Bergman
> > I think the introduction of EncoderException and DecoderException > > in and of itself was a mistake in the first place. > > Encoder and Decoder are similar to Reader and Writer which both > > throw IOException. > I agree fully. I disagree fully, as I will explain. > Decode and encode operat

RE: [codec] DecoderException superclass [WAS: StatefulDecoders]

2004-02-25 Thread Alex Karasulu
Hi, Let's take the simplest topic first which is the Exception issue. > From: Tim O'Brien [mailto:[EMAIL PROTECTED] > > I think the introduction of EncoderException and DecoderException in and > of itself was a mistake in the first place. Creating hierarchies of > exception just for the hell

RE: [codec] DecoderException superclass [WAS: StatefulDecoders]

2004-02-23 Thread Noel J. Bergman
>>> Encoder and Decoder are similar to Reader and Writer >>> which both throw IOException. >> Note that this would no longer hold true in a push model codec library, >> since it would not actually perform I/O. > True, having StatefulDecoder.getDecoded() throw an IOException seems > fishy. Agreed.

Re: [codec] DecoderException superclass [WAS: StatefulDecoders]

2004-02-23 Thread Tim O'Brien
Noel J. Bergman wrote: Encoder and Decoder are similar to Reader and Writer which both throw IOException. Note that this would no longer hold true in a push model codec library, since it would not actually perform I/O. True, having StatefulDecoder.getDecoded() throw an IOException seems fishy.

RE: [codec] DecoderException superclass [WAS: StatefulDecoders]

2004-02-23 Thread Gary Gregory
breakage acceptable? Gary > -Original Message- > From: Tim O'Brien [mailto:[EMAIL PROTECTED] > Sent: Monday, February 23, 2004 19:31 > To: Jakarta Commons Developers List > Subject: Re: [codec] DecoderException superclass [WAS: StatefulDecoders] > > I

RE: [codec] DecoderException superclass [WAS: StatefulDecoders]

2004-02-23 Thread Noel J. Bergman
> Encoder and Decoder are similar to Reader and Writer > which both throw IOException. Note that this would no longer hold true in a push model codec library, since it would not actually perform I/O. --- Noel - To unsub

Re: [codec] DecoderException superclass [WAS: StatefulDecoders]

2004-02-23 Thread Tim O'Brien
mons Developers List Subject: Re: [codec] DecoderException superclass [WAS: StatefulDecoders] Gary Gregory wrote: Alex suggests below that IOException would also make sense. Opinions? I'm don't have strong feelings either way. If EncoderException were to extend IOException, or if Encoders

RE: [codec] DecoderException superclass [WAS: StatefulDecoders]

2004-02-23 Thread Gary Gregory
velopers List > Subject: Re: [codec] DecoderException superclass [WAS: StatefulDecoders] > > Gary Gregory wrote: > > Alex suggests below that IOException would also make sense. > > > > Opinions? > > I'm don't have strong feelings either way. If EncoderExc