tryApplyConfig

The same as applyConfig, but throws an exception instead of logging an error.

Return

The config option builder.

Parameters

context

The application context.

xmlResourceId

The xml resource ID.