code: public static CharsetDecoder decoder(Charset charset, CodingErrorAction malformedInputAction,
                                           CodingErrorAction unmappableCharacterAction) {
          checkNotNull(charset, "charset");
          CharsetDecoder d = charset.newDecoder();
          d.onMalformedInput(malformedInputAction).onUnmappableCharacter(unmappableCharacterAction);
          return d;
      }
docs: Returns a new {@link CharsetDecoder} for the {@link Charset} with specified error actions.
  
  @param charset The specified charset
  @param malformedInputAction The decoder's action for malformed-input errors
  @param unmappableCharacterAction The decoder's action for unmappable-character errors
  @return The decoder for the specified {@code charset}