code: static void validateConfigurations(Configuration conf) throws ValidationException {
          if (null == conf.getHandlers()) {
              Log.error(
                      "Handler should not be null, One or more handler implementation shuld be configured in the configuration",
                      ErrorGuide.getGuide(ErrorGuide.EMPTY_HANDLERS));
              throw new ValidationException("Configuration error", ValidationException.VALIDATION_LEVEL_INVALID);
          }
          if (null == conf.getLayout()) {
              Log.error("Layout should not be null, A layout implementation shuld be configured in the configuration",
                      ErrorGuide.getGuide(ErrorGuide.EMPTY_LAYOUT));
              throw new ValidationException("Configuration error", ValidationException.VALIDATION_LEVEL_INVALID);
          }
  
      }
docs: Validate configurations.
  
  @param conf
  the conf
  @throws ValidationException
  the validation exception