public abstract String getErrorCodeName();
@Test
    public void testErrorCode()
    {
        assertEquals(
                new ClusterConnectionException(new SocketTimeoutException(), QUERY_STAGE).getErrorCodeName(),
                "CLUSTER_CONNECTION(SocketTimeoutException)");
        assertEquals(
                new PrestoQueryException(new SQLException(), false, QUERY_STAGE, Optional.of(REMOTE_TASK_ERROR), EMPTY_STATS).getErrorCodeName(),
                "PRESTO(REMOTE_TASK_ERROR)");
        assertEquals(
                new PrestoQueryException(new SQLException(), false, QUERY_STAGE, Optional.empty(), EMPTY_STATS).getErrorCodeName(),
                "PRESTO(UNKNOWN)");
    }