Exception thrown if there is a validation problem with a path template, http config, or related
framework methods. Comes as an illegal argument exception subclass. Allows to globally set a
thread-local validation context description which each exception inherits.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-07-01 UTC."],[[["This webpage details the `ValidationException` class within the `com.google.api.pathtemplate` package, which is a subclass of `IllegalArgumentException` used to signal validation problems in path templates and related configurations."],["The `ValidationException` class allows for setting a thread-local validation context description, which will then be inherited by each exception, aiding in detailed error tracking."],["The page provides a comprehensive list of versioned documentation links, starting with the latest version, 2.46.1, and descending to older versions like 2.1.2, allowing users to easily access documentation relevant to specific releases."],["The class includes static methods `popCurrentThreadValidationContext` and `pushCurrentThreadValidationContext` for managing the validation context description, offering thread-safe operation."],["The `ValidationException` class inherits methods from `Object` and `Throwable` and provides a constructor to create a validation exception with a formatted message and arguments, useful for specifying details about the validation issue."]]],[]]