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."],[[["The latest version of the API Common library is 2.46.1, with a variety of older versions available, ranging down to 2.1.2."],["`ValidationException` is an exception class that extends `IllegalArgumentException`, used to signal problems with path templates, HTTP configurations, or related framework components."],["`ValidationException` allows a thread-local validation context description to be set, which is inherited by each exception that's created."],["The class includes static methods for managing the thread-local validation context, specifically `pushCurrentThreadValidationContext` to set it and `popCurrentThreadValidationContext` to clear it."],["A constructor `ValidationException(String format, Object[] args)` is available for creating an instance of the class with a provided format string and arguments for describing the exception."]]],[]]