/** * Creates a message bean without cause and no namespace information. * * @param code the error or exception code of the exception. * @param systemId the resource that cannot be read. * @return a message bean without namespace information. */ public static ConfigMessageBean systemId(final ConfigCode code, final String systemId) { return systemId(code, null, systemId); }
throw new ConfigException(systemId(ConfigCode.CONFIG_FILE_NOT_FOUND, PropertiesContext.DEFINITION_FILE));