public static void raiseError(String message) {
        raiseError(message, null);
    }
@Test
    public void raiseError_Test() {
        String message = "frequency_weighting_type must be 0, 1 or 2.";
        Object value = 4;
        try {
            TbUtils.raiseError(message, value);
            Assertions.fail("Should throw NumberFormatException");
        } catch (RuntimeException e) {
            Assertions.assertTrue(e.getMessage().contains("frequency_weighting_type must be 0, 1 or 2. for value 4"));
        }
        try {
            TbUtils.raiseError(message);
            Assertions.fail("Should throw NumberFormatException");
        } catch (RuntimeException e) {
            Assertions.assertTrue(e.getMessage().contains("frequency_weighting_type must be 0, 1 or 2."));
        }
    }