code: public final CharsetDecoder onMalformedInput(CodingErrorAction newAction) {
          if (newAction == null)
              throw new IllegalArgumentException("Null action");
          malformedInputAction = newAction;
          implOnMalformedInput(newAction);
          return this;
      }
docs: Changes this decoder's action for malformed-input errors.  </p>
  
  <p> This method invokes the {@link #implOnMalformedInput
  implOnMalformedInput} method, passing the new action.  </p>
  
  @param  newAction  The new action; must not be <tt>null</tt>
  
  @return  This decoder
  
  @throws IllegalArgumentException
  If the precondition on the parameter does not hold