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-17 UTC."],[[["This webpage details the `ValidationException` class within the Google API Common library for Java, which is an exception thrown when a validation issue arises with path templates or HTTP configurations."],["The `ValidationException` class extends `IllegalArgumentException` and provides methods for managing a thread-local validation context, allowing for detailed error descriptions in a multi-threaded environment."],["There are multiple versions available for this `ValidationException` going back to version 2.1.2, with the latest being 2.46.1."],["The validation context can be set and cleared using the static methods `pushCurrentThreadValidationContext()` and `popCurrentThreadValidationContext()`, respectively."],["The page lists the inherited members, as well as static methods and constructors available for use with `ValidationException`, with links to their respective documentation."]]],[]]