code: private void invalidByte(int position, int count, int c) 
          throws UTFDataFormatException {
  
          String msg = JspCoreException.getMsg("jsp.error.xml.invalidByte", new Object[] {Integer.toString(position), Integer.toString(count)});
          throw new UTFDataFormatException(msg);
      }
docs: Throws an exception for invalid byte.