Monday, November 03, 2008

Throwing this java.lang.Error can get you fired

Imagine your boss going through your server log file and he see's the Error being thrown as CoderMalfunctionError. The discussion might not start in a pleasant way but you both might end up laughing since it really has nothing to do with Coder Malfunctioning.

java.nio.charset.CoderMalfunctionError is thrown when either encoder or decoder is malfunctioning. Sun decided to call combination of encoder and decoder as Coder and hence the confusion.

Irrespective of this Error always remember that if a project fails its the Architect or Coder's fault :-).