public static boolean isDirectOutOfMemoryError(@Nullable Throwable t) {
        return isOutOfMemoryErrorWithMessageContaining(t, "Direct buffer memory");
    }
@Test
    void testIsDirectOutOfMemoryErrorCanHandleNullValue() {
        assertThat(ExceptionUtils.isDirectOutOfMemoryError(null)).isFalse();
    }