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-04-09 UTC."],[[["This webpage details the `ValidationException` class within the `com.google.api.pathtemplate` package, which is a subclass of `IllegalArgumentException`."],["`ValidationException` is thrown when a validation error occurs with a path template, HTTP configuration, or related framework methods."],["The class allows setting a thread-local validation context description that is inherited by each exception, enhancing error reporting."],["The webpage lists different versions of the API common library, from 2.1.2 all the way to 2.46.1 (latest), all of which link to the `ValidationException` class."],["The page provides information about inherited members from `Object` and `Throwable`, along with static methods for managing the validation context, such as `popCurrentThreadValidationContext` and `pushCurrentThreadValidationContext`, alongside a constructor for the exception."]]],[]]