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 Google API Common library, which is a subclass of `IllegalArgumentException`."],["The `ValidationException` is used to signal errors in path templates, HTTP configurations, or related framework operations."],["The page lists various versions of the `ValidationException` class, from version 2.1.2 up to the latest 2.46.1, allowing users to navigate through past iterations."],["The class provides static methods to manage a thread-local validation context description, with methods to set and clear it."],["The `ValidationException` class provides a constructor to create exceptions with an implicit context using a string format and arguments."]]],[]]