/**
Activates the conversion pattern. Do not forget to call this method after
you change the parameters of the PatternLayout instance.
*/
public void activateOptions() {
PatternParser patternParser = new PatternParser(conversionPattern, repository);
if(this.repository != null) {
patternParser.setConverterRegistry((Map) this.repository.getObject(PATTERN_RULE_REGISTRY));
}
head = patternParser.parse();
handlesExceptions = PatternConverter.chainHandlesThrowable(head);
}