001/* 002 * Copyright (c) 2026 Singular 003 * SPDX-License-Identifier: MIT 004 */ 005package ai.singlr.runtime; 006 007/** 008 * Thrown by {@link JacksonReader} and {@link JacksonWriter} when (de)serialization fails. Wraps the 009 * originating Jackson exception so route handlers can translate it to a 4xx/5xx response. 010 */ 011public final class JacksonRuntimeException extends RuntimeException { 012 013 /** 014 * @param message a human-readable description 015 * @param cause the originating Jackson exception 016 */ 017 public JacksonRuntimeException(String message, Throwable cause) { 018 super(message, cause); 019 } 020}