presto-hive/src/main/java/io/prestosql/plugin/hive/HiveReadOnlyException.java/HiveReadOnlyException/HiveReadOnlyException
class HiveReadOnlyException:    public HiveReadOnlyException(SchemaTableName tableName, Optional<String> partition)
    {
        super(partition.isPresent() ? HIVE_PARTITION_READ_ONLY : HIVE_TABLE_READ_ONLY, composeMessage(tableName, partition));
        this.tableName = requireNonNull(tableName, "tableName is null");
        this.partition = requireNonNull(partition, "partition is null");
    }