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-07 UTC."],[[["This webpage details the `ValidationException` class within the `com.google.api.pathtemplate` package, part of the Java API Common library."],["`ValidationException` is a subclass of `IllegalArgumentException` and is thrown when there are validation issues with path templates, HTTP configurations, or related methods."],["The page provides access to documentation for numerous versions of the library, ranging from version 2.1.2 up to the latest 2.46.1."],["It includes static methods to manage thread-local validation context, allowing for setting and clearing context descriptions specific to each thread."],["The class offers a constructor to create validation exceptions, taking a format string and arguments, designed to create exceptions with implicit context."]]],[]]