System.out.println(ioe.getMessage());
log.warn(ioe.getMessage());
   protected void sendNegResponse(int cat, int modifier , int uByte1, int uByte2, String from) {      try {         int os = bk.getByteOffset(-1) & 0xf0;         int cp = (bk.getCurrentPos()-1);         System.out.println("invalid " + from + " command " +                              os +                              " at pos " +                               cp);      }      catch (Exception e) {        System.out.println("Send Negative Response error " +  e.getMessage());      }      baosp.write(cat);      baosp.write(modifier);      baosp.write(uByte1);      baosp.write(uByte2);      try {        writeGDS(128, 0, baosp.toByteArray());      }      catch (IOException ioe) {        System.out.println(ioe.getMessage());      }      baosp.reset();   }