presto-hive/src/main/java/io/prestosql/plugin/hive/HiveNotReadableException.java/HiveNotReadableException/composeMessage
class HiveNotReadableException:    private static String composeMessage(SchemaTableName tableName, Optional<String> partition, String message)
    {
        return partition.isPresent()
                ? format("Table '%s' partition '%s' is not readable: %s", tableName, partition.get(), message)
                : format("Table '%s' is not readable: %s", tableName, message);
    }