<commit_before>import org.springframework.security.acls.model.NotFoundException

class UrlMappings {

	static mappings = {
		"/$controller/$action?/$id?"{
			constraints {}
		}

      "/"(view:"/index")

		"403"(controller: "errors", action: "error403")
		"404"(controller: "errors", action: "error404")
		"500"(controller: "errors", action: "error500")
		"500"(controller: "errors", action: "error403", exception: NotFoundException)
	}
}<commit_msg>added exception mapping for AccessDeniedException - not needed for 1.2 but needed for 1.3<commit_after>import org.springframework.security.access.AccessDeniedException
import org.springframework.security.acls.model.NotFoundException

class UrlMappings {

	static mappings = {
		"/$controller/$action?/$id?"{
			constraints {}
		}

      "/"(view:"/index")

		"403"(controller: "errors", action: "error403")
		"404"(controller: "errors", action: "error404")
		"500"(controller: "errors", action: "error500")
		"500"(controller: "errors", action: "error403", exception: AccessDeniedException)
		"500"(controller: "errors", action: "error403", exception: NotFoundException)
	}
}
{'fraction_non_alphanumeric': 0.16355555555555557, 'fraction_numerical': 0.051555555555555556, 'mean_word_length': 5.584795321637427, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '924437', 'n_tokens_mistral': 412, 'n_tokens_neox': 338, 'n_words': 74}