This exception is thrown to indicate an encoding/decoding operation failed due to malformed input, such as an invalid character or byte sequence.