That’s what I want.

Thanks, Jun



On Feb 24, 2014, at 2:09 PM, Jun Rao <jun...@gmail.com> wrote:

> You can use ErrorMapping.exceptionFor(short), which returns a Throwable.
> 
> Thanks,
> 
> Jun
> 
> 
> On Sun, Feb 23, 2014 at 5:43 PM, Bongyeon Kim <bongyeon....@gmail.com>wrote:
> 
>> Hi, everyone.
>> 
>> I'm using Kafka 0.8 with Java API.
>> 
>> 
>> Is there any Error Mapping class or constants? I found Kafka Protocol page
>> in wiki. There is error code table, but I want to get error name by error
>> code in Java Api.
>> 
>> For example, I can getting error code by *fetchResponse.errorCode(TOPIC,
>> PARTITION), *then How can I get Error Name?
>> 
>> 
>> Thanks in advance.
>> --
>> *Sincerely*
>> *,**Bongyeon Kim*
>> 
>> Java Developer & Engineer
>> Seoul, Korea
>> Mobile:  +82-10-9369-1314
>> Email:  bongyeon...@gmail.com
>> Twitter:  http://twitter.com/tigerby
>> Facebook:  http://facebook.com/tigerby
>> Wiki: http://tigerby.com
>> 

Reply via email to