presto-hive/src/main/java/io/prestosql/plugin/hive/PartitionOfflineException.java/PartitionOfflineException/formatMessage
class PartitionOfflineException:    private static String formatMessage(SchemaTableName tableName, String partitionName, boolean forPresto, String offlineMessage)
    {
        StringBuilder resultBuilder = new StringBuilder()
                .append("Table '").append(tableName).append("'")
                .append(" partition '").append(partitionName).append("'")
                .append(" is offline");
        if (forPresto) {
            resultBuilder.append(" for Presto");
        }
        if (!isNullOrEmpty(offlineMessage)) {
            resultBuilder.append(": ").append(offlineMessage);
        }
        return resultBuilder.toString();
    }