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`."],["The `ValidationException` is thrown when validation issues arise with path templates, HTTP configurations, or related framework methods."],["The page lists available versions of this class, with version 2.46.1 as the latest release, and goes back to version 2.1.2, with version 2.38.0 currently being viewed."],["The page documents static methods for managing a thread-local validation context, including `popCurrentThreadValidationContext` to clear it and `pushCurrentThreadValidationContext` to set it."],["The page contains a constructor `ValidationException(String format, Object[] args)` to create a validation exception with an implicit context."]]],[]]