1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> 2<!-- NewPage --> 3<html lang="en"> 4<head> 5<!-- Generated by javadoc (version 1.7.0_79) on Fri Jan 15 20:28:40 PST 2016 --> 6<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 7<title>JsonMappingException (jackson-databind 2.7.0 API)</title> 8<meta name="date" content="2016-01-15"> 9<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style"> 10</head> 11<body> 12<script type="text/javascript"><!-- 13 if (location.href.indexOf('is-external=true') == -1) { 14 parent.document.title="JsonMappingException (jackson-databind 2.7.0 API)"; 15 } 16//--> 17</script> 18<noscript> 19<div>JavaScript is disabled on your browser.</div> 20</noscript> 21<!-- ========= START OF TOP NAVBAR ======= --> 22<div class="topNav"><a name="navbar_top"> 23<!-- --> 24</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow"> 25<!-- --> 26</a> 27<ul class="navList" title="Navigation"> 28<li><a href="../../../../overview-summary.html">Overview</a></li> 29<li><a href="package-summary.html">Package</a></li> 30<li class="navBarCell1Rev">Class</li> 31<li><a href="class-use/JsonMappingException.html">Use</a></li> 32<li><a href="package-tree.html">Tree</a></li> 33<li><a href="../../../../deprecated-list.html">Deprecated</a></li> 34<li><a href="../../../../index-all.html">Index</a></li> 35<li><a href="../../../../help-doc.html">Help</a></li> 36</ul> 37</div> 38<div class="subNav"> 39<ul class="navList"> 40<li><a href="../../../../com/fasterxml/jackson/databind/JsonDeserializer.None.html" title="class in com.fasterxml.jackson.databind"><span class="strong">Prev Class</span></a></li> 41<li><a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.Reference.html" title="class in com.fasterxml.jackson.databind"><span class="strong">Next Class</span></a></li> 42</ul> 43<ul class="navList"> 44<li><a href="../../../../index.html?com/fasterxml/jackson/databind/JsonMappingException.html" target="_top">Frames</a></li> 45<li><a href="JsonMappingException.html" target="_top">No Frames</a></li> 46</ul> 47<ul class="navList" id="allclasses_navbar_top"> 48<li><a href="../../../../allclasses-noframe.html">All Classes</a></li> 49</ul> 50<div> 51<script type="text/javascript"><!-- 52 allClassesLink = document.getElementById("allclasses_navbar_top"); 53 if(window==top) { 54 allClassesLink.style.display = "block"; 55 } 56 else { 57 allClassesLink.style.display = "none"; 58 } 59 //--> 60</script> 61</div> 62<div> 63<ul class="subNavList"> 64<li>Summary: </li> 65<li><a href="#nested_class_summary">Nested</a> | </li> 66<li><a href="#field_summary">Field</a> | </li> 67<li><a href="#constructor_summary">Constr</a> | </li> 68<li><a href="#method_summary">Method</a></li> 69</ul> 70<ul class="subNavList"> 71<li>Detail: </li> 72<li><a href="#field_detail">Field</a> | </li> 73<li><a href="#constructor_detail">Constr</a> | </li> 74<li><a href="#method_detail">Method</a></li> 75</ul> 76</div> 77<a name="skip-navbar_top"> 78<!-- --> 79</a></div> 80<!-- ========= END OF TOP NAVBAR ========= --> 81<!-- ======== START OF CLASS DATA ======== --> 82<div class="header"> 83<div class="subTitle">com.fasterxml.jackson.databind</div> 84<h2 title="Class JsonMappingException" class="title">Class JsonMappingException</h2> 85</div> 86<div class="contentContainer"> 87<ul class="inheritance"> 88<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li> 89<li> 90<ul class="inheritance"> 91<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">java.lang.Throwable</a></li> 92<li> 93<ul class="inheritance"> 94<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">java.lang.Exception</a></li> 95<li> 96<ul class="inheritance"> 97<li><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">java.io.IOException</a></li> 98<li> 99<ul class="inheritance"> 100<li><a href="http://fasterxml.github.com/jackson-core/javadoc/2.7/com/fasterxml/jackson/core/JsonProcessingException.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">com.fasterxml.jackson.core.JsonProcessingException</a></li> 101<li> 102<ul class="inheritance"> 103<li>com.fasterxml.jackson.databind.JsonMappingException</li> 104</ul> 105</li> 106</ul> 107</li> 108</ul> 109</li> 110</ul> 111</li> 112</ul> 113</li> 114</ul> 115<div class="description"> 116<ul class="blockList"> 117<li class="blockList"> 118<dl> 119<dt>All Implemented Interfaces:</dt> 120<dd><a href="http://docs.oracle.com/javase/7/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a></dd> 121</dl> 122<dl> 123<dt>Direct Known Subclasses:</dt> 124<dd><a href="../../../../com/fasterxml/jackson/databind/exc/InvalidFormatException.html" title="class in com.fasterxml.jackson.databind.exc">InvalidFormatException</a>, <a href="../../../../com/fasterxml/jackson/databind/exc/PropertyBindingException.html" title="class in com.fasterxml.jackson.databind.exc">PropertyBindingException</a>, <a href="../../../../com/fasterxml/jackson/databind/deser/UnresolvedForwardReference.html" title="class in com.fasterxml.jackson.databind.deser">UnresolvedForwardReference</a></dd> 125</dl> 126<hr> 127<br> 128<pre>public class <span class="strong">JsonMappingException</span> 129extends <a href="http://fasterxml.github.com/jackson-core/javadoc/2.7/com/fasterxml/jackson/core/JsonProcessingException.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonProcessingException</a></pre> 130<div class="block">Checked exception used to signal fatal problems with mapping of 131 content, distinct from low-level I/O problems (signaled using 132 simple <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io"><code>IOException</code></a>s) or data encoding/decoding 133 problems (signaled with <a href="http://fasterxml.github.com/jackson-core/javadoc/2.7/com/fasterxml/jackson/core/JsonParseException.html?is-external=true" title="class or interface in com.fasterxml.jackson.core"><code>JsonParseException</code></a>, 134 <a href="http://fasterxml.github.com/jackson-core/javadoc/2.7/com/fasterxml/jackson/core/JsonGenerationException.html?is-external=true" title="class or interface in com.fasterxml.jackson.core"><code>JsonGenerationException</code></a>). 135<p> 136 One additional feature is the ability to denote relevant path 137 of references (during serialization/deserialization) to help in 138 troubleshooting.</div> 139<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../serialized-form.html#com.fasterxml.jackson.databind.JsonMappingException">Serialized Form</a></dd></dl> 140</li> 141</ul> 142</div> 143<div class="summary"> 144<ul class="blockList"> 145<li class="blockList"> 146<!-- ======== NESTED CLASS SUMMARY ======== --> 147<ul class="blockList"> 148<li class="blockList"><a name="nested_class_summary"> 149<!-- --> 150</a> 151<h3>Nested Class Summary</h3> 152<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation"> 153<caption><span>Nested Classes</span><span class="tabEnd"> </span></caption> 154<tr> 155<th class="colFirst" scope="col">Modifier and Type</th> 156<th class="colLast" scope="col">Class and Description</th> 157</tr> 158<tr class="altColor"> 159<td class="colFirst"><code>static class </code></td> 160<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.Reference.html" title="class in com.fasterxml.jackson.databind">JsonMappingException.Reference</a></strong></code> 161<div class="block">Simple bean class used to contain references.</div> 162</td> 163</tr> 164</table> 165</li> 166</ul> 167<!-- =========== FIELD SUMMARY =========== --> 168<ul class="blockList"> 169<li class="blockList"><a name="field_summary"> 170<!-- --> 171</a> 172<h3>Field Summary</h3> 173<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation"> 174<caption><span>Fields</span><span class="tabEnd"> </span></caption> 175<tr> 176<th class="colFirst" scope="col">Modifier and Type</th> 177<th class="colLast" scope="col">Field and Description</th> 178</tr> 179<tr class="altColor"> 180<td class="colFirst"><code>protected <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedList.html?is-external=true" title="class or interface in java.util">LinkedList</a><<a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.Reference.html" title="class in com.fasterxml.jackson.databind">JsonMappingException.Reference</a>></code></td> 181<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html#_path">_path</a></strong></code> 182<div class="block">Path through which problem that triggering throwing of 183 this exception was reached.</div> 184</td> 185</tr> 186<tr class="rowColor"> 187<td class="colFirst"><code>protected <a href="http://docs.oracle.com/javase/7/docs/api/java/io/Closeable.html?is-external=true" title="class or interface in java.io">Closeable</a></code></td> 188<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html#_processor">_processor</a></strong></code> 189<div class="block">Underlying processor (<a href="http://fasterxml.github.com/jackson-core/javadoc/2.7/com/fasterxml/jackson/core/JsonParser.html?is-external=true" title="class or interface in com.fasterxml.jackson.core"><code>JsonParser</code></a> or <a href="http://fasterxml.github.com/jackson-core/javadoc/2.7/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core"><code>JsonGenerator</code></a>), 190 if known.</div> 191</td> 192</tr> 193</table> 194<ul class="blockList"> 195<li class="blockList"><a name="fields_inherited_from_class_com.fasterxml.jackson.core.JsonProcessingException"> 196<!-- --> 197</a> 198<h3>Fields inherited from class com.fasterxml.jackson.core.<a href="http://fasterxml.github.com/jackson-core/javadoc/2.7/com/fasterxml/jackson/core/JsonProcessingException.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonProcessingException</a></h3> 199<code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.7/com/fasterxml/jackson/core/JsonProcessingException.html?is-external=true#_location" title="class or interface in com.fasterxml.jackson.core">_location</a></code></li> 200</ul> 201</li> 202</ul> 203<!-- ======== CONSTRUCTOR SUMMARY ======== --> 204<ul class="blockList"> 205<li class="blockList"><a name="constructor_summary"> 206<!-- --> 207</a> 208<h3>Constructor Summary</h3> 209<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> 210<caption><span>Constructors</span><span class="tabEnd"> </span></caption> 211<tr> 212<th class="colOne" scope="col">Constructor and Description</th> 213</tr> 214<tr class="altColor"> 215<td class="colOne"><code><strong><a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html#JsonMappingException(java.io.Closeable,%20java.lang.String)">JsonMappingException</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/Closeable.html?is-external=true" title="class or interface in java.io">Closeable</a> processor, 216 <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> msg)</code> </td> 217</tr> 218<tr class="rowColor"> 219<td class="colOne"><code><strong><a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html#JsonMappingException(java.io.Closeable,%20java.lang.String,%20com.fasterxml.jackson.core.JsonLocation)">JsonMappingException</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/Closeable.html?is-external=true" title="class or interface in java.io">Closeable</a> processor, 220 <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> msg, 221 <a href="http://fasterxml.github.com/jackson-core/javadoc/2.7/com/fasterxml/jackson/core/JsonLocation.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonLocation</a> loc)</code> </td> 222</tr> 223<tr class="altColor"> 224<td class="colOne"><code><strong><a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html#JsonMappingException(java.io.Closeable,%20java.lang.String,%20java.lang.Throwable)">JsonMappingException</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/Closeable.html?is-external=true" title="class or interface in java.io">Closeable</a> processor, 225 <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> msg, 226 <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a> problem)</code> </td> 227</tr> 228<tr class="rowColor"> 229<td class="colOne"><code><strong><a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html#JsonMappingException(java.lang.String)">JsonMappingException</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> msg)</code> 230<div class="block"><strong>Deprecated.</strong> 231<div class="block"><i>Since 2.7 Use variant that takes <a href="http://fasterxml.github.com/jackson-core/javadoc/2.7/com/fasterxml/jackson/core/JsonParser.html?is-external=true" title="class or interface in com.fasterxml.jackson.core"><code>JsonParser</code></a> instead</i></div> 232</div> 233</td> 234</tr> 235<tr class="altColor"> 236<td class="colOne"><code><strong><a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html#JsonMappingException(java.lang.String,%20com.fasterxml.jackson.core.JsonLocation)">JsonMappingException</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> msg, 237 <a href="http://fasterxml.github.com/jackson-core/javadoc/2.7/com/fasterxml/jackson/core/JsonLocation.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonLocation</a> loc)</code> 238<div class="block"><strong>Deprecated.</strong> 239<div class="block"><i>Since 2.7 Use variant that takes <a href="http://fasterxml.github.com/jackson-core/javadoc/2.7/com/fasterxml/jackson/core/JsonParser.html?is-external=true" title="class or interface in com.fasterxml.jackson.core"><code>JsonParser</code></a> instead</i></div> 240</div> 241</td> 242</tr> 243<tr class="rowColor"> 244<td class="colOne"><code><strong><a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html#JsonMappingException(java.lang.String,%20com.fasterxml.jackson.core.JsonLocation,%20java.lang.Throwable)">JsonMappingException</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> msg, 245 <a href="http://fasterxml.github.com/jackson-core/javadoc/2.7/com/fasterxml/jackson/core/JsonLocation.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonLocation</a> loc, 246 <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a> rootCause)</code> 247<div class="block"><strong>Deprecated.</strong> 248<div class="block"><i>Since 2.7 Use variant that takes <a href="http://fasterxml.github.com/jackson-core/javadoc/2.7/com/fasterxml/jackson/core/JsonParser.html?is-external=true" title="class or interface in com.fasterxml.jackson.core"><code>JsonParser</code></a> instead</i></div> 249</div> 250</td> 251</tr> 252<tr class="altColor"> 253<td class="colOne"><code><strong><a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html#JsonMappingException(java.lang.String,%20java.lang.Throwable)">JsonMappingException</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> msg, 254 <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a> rootCause)</code> 255<div class="block"><strong>Deprecated.</strong> 256<div class="block"><i>Since 2.7 Use variant that takes <a href="http://fasterxml.github.com/jackson-core/javadoc/2.7/com/fasterxml/jackson/core/JsonParser.html?is-external=true" title="class or interface in com.fasterxml.jackson.core"><code>JsonParser</code></a> instead</i></div> 257</div> 258</td> 259</tr> 260</table> 261</li> 262</ul> 263<!-- ========== METHOD SUMMARY =========== --> 264<ul class="blockList"> 265<li class="blockList"><a name="method_summary"> 266<!-- --> 267</a> 268<h3>Method Summary</h3> 269<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> 270<caption><span>Methods</span><span class="tabEnd"> </span></caption> 271<tr> 272<th class="colFirst" scope="col">Modifier and Type</th> 273<th class="colLast" scope="col">Method and Description</th> 274</tr> 275<tr class="altColor"> 276<td class="colFirst"><code>protected void</code></td> 277<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html#_appendPathDesc(java.lang.StringBuilder)">_appendPathDesc</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/StringBuilder.html?is-external=true" title="class or interface in java.lang">StringBuilder</a> sb)</code> </td> 278</tr> 279<tr class="rowColor"> 280<td class="colFirst"><code>protected <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> 281<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html#_buildMessage()">_buildMessage</a></strong>()</code> </td> 282</tr> 283<tr class="altColor"> 284<td class="colFirst"><code>static <a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code></td> 285<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html#from(com.fasterxml.jackson.databind.DeserializationContext,%20java.lang.String)">from</a></strong>(<a href="../../../../com/fasterxml/jackson/databind/DeserializationContext.html" title="class in com.fasterxml.jackson.databind">DeserializationContext</a> ctxt, 286 <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> msg)</code> </td> 287</tr> 288<tr class="rowColor"> 289<td class="colFirst"><code>static <a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code></td> 290<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html#from(com.fasterxml.jackson.databind.DeserializationContext,%20java.lang.String,%20java.lang.Throwable)">from</a></strong>(<a href="../../../../com/fasterxml/jackson/databind/DeserializationContext.html" title="class in com.fasterxml.jackson.databind">DeserializationContext</a> ctxt, 291 <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> msg, 292 <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a> t)</code> </td> 293</tr> 294<tr class="altColor"> 295<td class="colFirst"><code>static <a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code></td> 296<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html#from(com.fasterxml.jackson.core.JsonGenerator,%20java.lang.String)">from</a></strong>(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.7/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a> g, 297 <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> msg)</code> </td> 298</tr> 299<tr class="rowColor"> 300<td class="colFirst"><code>static <a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code></td> 301<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html#from(com.fasterxml.jackson.core.JsonGenerator,%20java.lang.String,%20java.lang.Throwable)">from</a></strong>(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.7/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a> g, 302 <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> msg, 303 <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a> problem)</code> </td> 304</tr> 305<tr class="altColor"> 306<td class="colFirst"><code>static <a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code></td> 307<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html#from(com.fasterxml.jackson.core.JsonParser,%20java.lang.String)">from</a></strong>(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.7/com/fasterxml/jackson/core/JsonParser.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonParser</a> p, 308 <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> msg)</code> </td> 309</tr> 310<tr class="rowColor"> 311<td class="colFirst"><code>static <a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code></td> 312<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html#from(com.fasterxml.jackson.core.JsonParser,%20java.lang.String,%20java.lang.Throwable)">from</a></strong>(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.7/com/fasterxml/jackson/core/JsonParser.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonParser</a> p, 313 <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> msg, 314 <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a> problem)</code> </td> 315</tr> 316<tr class="altColor"> 317<td class="colFirst"><code>static <a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code></td> 318<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html#from(com.fasterxml.jackson.databind.SerializerProvider,%20java.lang.String)">from</a></strong>(<a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a> ctxt, 319 <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> msg)</code> </td> 320</tr> 321<tr class="rowColor"> 322<td class="colFirst"><code>static <a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code></td> 323<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html#from(com.fasterxml.jackson.databind.SerializerProvider,%20java.lang.String,%20java.lang.Throwable)">from</a></strong>(<a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a> ctxt, 324 <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> msg, 325 <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a> problem)</code> </td> 326</tr> 327<tr class="altColor"> 328<td class="colFirst"><code>static <a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code></td> 329<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html#fromUnexpectedIOE(java.io.IOException)">fromUnexpectedIOE</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a> src)</code> 330<div class="block">Factory method used when "upgrading" an <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io"><code>IOException</code></a> into 331 <a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind"><code>JsonMappingException</code></a>: usually only needed to comply with 332 a signature.</div> 333</td> 334</tr> 335<tr class="rowColor"> 336<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> 337<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html#getLocalizedMessage()">getLocalizedMessage</a></strong>()</code> </td> 338</tr> 339<tr class="altColor"> 340<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> 341<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html#getMessage()">getMessage</a></strong>()</code> 342<div class="block">Method is overridden so that we can properly inject description 343 of problem path, if such is defined.</div> 344</td> 345</tr> 346<tr class="rowColor"> 347<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.Reference.html" title="class in com.fasterxml.jackson.databind">JsonMappingException.Reference</a>></code></td> 348<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html#getPath()">getPath</a></strong>()</code> 349<div class="block">Method for accessing full structural path within type hierarchy 350 down to problematic property.</div> 351</td> 352</tr> 353<tr class="altColor"> 354<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> 355<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html#getPathReference()">getPathReference</a></strong>()</code> 356<div class="block">Method for accesing description of path that lead to the 357 problem that triggered this exception</div> 358</td> 359</tr> 360<tr class="rowColor"> 361<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/StringBuilder.html?is-external=true" title="class or interface in java.lang">StringBuilder</a></code></td> 362<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html#getPathReference(java.lang.StringBuilder)">getPathReference</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/StringBuilder.html?is-external=true" title="class or interface in java.lang">StringBuilder</a> sb)</code> </td> 363</tr> 364<tr class="altColor"> 365<td class="colFirst"><code>void</code></td> 366<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html#prependPath(com.fasterxml.jackson.databind.JsonMappingException.Reference)">prependPath</a></strong>(<a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.Reference.html" title="class in com.fasterxml.jackson.databind">JsonMappingException.Reference</a> r)</code> </td> 367</tr> 368<tr class="rowColor"> 369<td class="colFirst"><code>void</code></td> 370<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html#prependPath(java.lang.Object,%20int)">prependPath</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> referrer, 371 int index)</code> 372<div class="block">Method called to prepend a reference information in front of 373 current path</div> 374</td> 375</tr> 376<tr class="altColor"> 377<td class="colFirst"><code>void</code></td> 378<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html#prependPath(java.lang.Object,%20java.lang.String)">prependPath</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> referrer, 379 <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> fieldName)</code> 380<div class="block">Method called to prepend a reference information in front of 381 current path</div> 382</td> 383</tr> 384<tr class="rowColor"> 385<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> 386<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html#toString()">toString</a></strong>()</code> </td> 387</tr> 388<tr class="altColor"> 389<td class="colFirst"><code>static <a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code></td> 390<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html#wrapWithPath(java.lang.Throwable,%20com.fasterxml.jackson.databind.JsonMappingException.Reference)">wrapWithPath</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a> src, 391 <a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.Reference.html" title="class in com.fasterxml.jackson.databind">JsonMappingException.Reference</a> ref)</code> 392<div class="block">Method that can be called to either create a new JsonMappingException 393 (if underlying exception is not a JsonMappingException), or augment 394 given exception with given path/reference information.</div> 395</td> 396</tr> 397<tr class="rowColor"> 398<td class="colFirst"><code>static <a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code></td> 399<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html#wrapWithPath(java.lang.Throwable,%20java.lang.Object,%20int)">wrapWithPath</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a> src, 400 <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> refFrom, 401 int index)</code> 402<div class="block">Method that can be called to either create a new JsonMappingException 403 (if underlying exception is not a JsonMappingException), or augment 404 given exception with given path/reference information.</div> 405</td> 406</tr> 407<tr class="altColor"> 408<td class="colFirst"><code>static <a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code></td> 409<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html#wrapWithPath(java.lang.Throwable,%20java.lang.Object,%20java.lang.String)">wrapWithPath</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a> src, 410 <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> refFrom, 411 <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> refFieldName)</code> 412<div class="block">Method that can be called to either create a new JsonMappingException 413 (if underlying exception is not a JsonMappingException), or augment 414 given exception with given path/reference information.</div> 415</td> 416</tr> 417</table> 418<ul class="blockList"> 419<li class="blockList"><a name="methods_inherited_from_class_com.fasterxml.jackson.core.JsonProcessingException"> 420<!-- --> 421</a> 422<h3>Methods inherited from class com.fasterxml.jackson.core.<a href="http://fasterxml.github.com/jackson-core/javadoc/2.7/com/fasterxml/jackson/core/JsonProcessingException.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonProcessingException</a></h3> 423<code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.7/com/fasterxml/jackson/core/JsonProcessingException.html?is-external=true#getLocation()" title="class or interface in com.fasterxml.jackson.core">getLocation</a>, <a href="http://fasterxml.github.com/jackson-core/javadoc/2.7/com/fasterxml/jackson/core/JsonProcessingException.html?is-external=true#getMessageSuffix()" title="class or interface in com.fasterxml.jackson.core">getMessageSuffix</a>, <a href="http://fasterxml.github.com/jackson-core/javadoc/2.7/com/fasterxml/jackson/core/JsonProcessingException.html?is-external=true#getOriginalMessage()" title="class or interface in com.fasterxml.jackson.core">getOriginalMessage</a>, <a href="http://fasterxml.github.com/jackson-core/javadoc/2.7/com/fasterxml/jackson/core/JsonProcessingException.html?is-external=true#getProcessor()" title="class or interface in com.fasterxml.jackson.core">getProcessor</a></code></li> 424</ul> 425<ul class="blockList"> 426<li class="blockList"><a name="methods_inherited_from_class_java.lang.Throwable"> 427<!-- --> 428</a> 429<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a></h3> 430<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true#addSuppressed(java.lang.Throwable)" title="class or interface in java.lang">addSuppressed</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true#fillInStackTrace()" title="class or interface in java.lang">fillInStackTrace</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true#getCause()" title="class or interface in java.lang">getCause</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true#getStackTrace()" title="class or interface in java.lang">getStackTrace</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true#getSuppressed()" title="class or interface in java.lang">getSuppressed</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true#initCause(java.lang.Throwable)" title="class or interface in java.lang">initCause</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true#printStackTrace()" title="class or interface in java.lang">printStackTrace</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true#printStackTrace(java.io.PrintStream)" title="class or interface in java.lang">printStackTrace</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true#printStackTrace(java.io.PrintWriter)" title="class or interface in java.lang">printStackTrace</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true#setStackTrace(java.lang.StackTraceElement[])" title="class or interface in java.lang">setStackTrace</a></code></li> 431</ul> 432<ul class="blockList"> 433<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object"> 434<!-- --> 435</a> 436<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> 437<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait(long,%20int)" title="class or interface in java.lang">wait</a></code></li> 438</ul> 439</li> 440</ul> 441</li> 442</ul> 443</div> 444<div class="details"> 445<ul class="blockList"> 446<li class="blockList"> 447<!-- ============ FIELD DETAIL =========== --> 448<ul class="blockList"> 449<li class="blockList"><a name="field_detail"> 450<!-- --> 451</a> 452<h3>Field Detail</h3> 453<a name="_path"> 454<!-- --> 455</a> 456<ul class="blockList"> 457<li class="blockList"> 458<h4>_path</h4> 459<pre>protected <a href="http://docs.oracle.com/javase/7/docs/api/java/util/LinkedList.html?is-external=true" title="class or interface in java.util">LinkedList</a><<a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.Reference.html" title="class in com.fasterxml.jackson.databind">JsonMappingException.Reference</a>> _path</pre> 460<div class="block">Path through which problem that triggering throwing of 461 this exception was reached.</div> 462</li> 463</ul> 464<a name="_processor"> 465<!-- --> 466</a> 467<ul class="blockListLast"> 468<li class="blockList"> 469<h4>_processor</h4> 470<pre>protected <a href="http://docs.oracle.com/javase/7/docs/api/java/io/Closeable.html?is-external=true" title="class or interface in java.io">Closeable</a> _processor</pre> 471<div class="block">Underlying processor (<a href="http://fasterxml.github.com/jackson-core/javadoc/2.7/com/fasterxml/jackson/core/JsonParser.html?is-external=true" title="class or interface in com.fasterxml.jackson.core"><code>JsonParser</code></a> or <a href="http://fasterxml.github.com/jackson-core/javadoc/2.7/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core"><code>JsonGenerator</code></a>), 472 if known.</div> 473<dl><dt><span class="strong">Since:</span></dt> 474 <dd>2.7</dd></dl> 475</li> 476</ul> 477</li> 478</ul> 479<!-- ========= CONSTRUCTOR DETAIL ======== --> 480<ul class="blockList"> 481<li class="blockList"><a name="constructor_detail"> 482<!-- --> 483</a> 484<h3>Constructor Detail</h3> 485<a name="JsonMappingException(java.lang.String)"> 486<!-- --> 487</a> 488<ul class="blockList"> 489<li class="blockList"> 490<h4>JsonMappingException</h4> 491<pre><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a> 492public JsonMappingException(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> msg)</pre> 493<div class="block"><span class="strong">Deprecated.</span> <i>Since 2.7 Use variant that takes <a href="http://fasterxml.github.com/jackson-core/javadoc/2.7/com/fasterxml/jackson/core/JsonParser.html?is-external=true" title="class or interface in com.fasterxml.jackson.core"><code>JsonParser</code></a> instead</i></div> 494</li> 495</ul> 496<a name="JsonMappingException(java.lang.String, java.lang.Throwable)"> 497<!-- --> 498</a> 499<ul class="blockList"> 500<li class="blockList"> 501<h4>JsonMappingException</h4> 502<pre><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a> 503public JsonMappingException(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> msg, 504 <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a> rootCause)</pre> 505<div class="block"><span class="strong">Deprecated.</span> <i>Since 2.7 Use variant that takes <a href="http://fasterxml.github.com/jackson-core/javadoc/2.7/com/fasterxml/jackson/core/JsonParser.html?is-external=true" title="class or interface in com.fasterxml.jackson.core"><code>JsonParser</code></a> instead</i></div> 506</li> 507</ul> 508<a name="JsonMappingException(java.lang.String, com.fasterxml.jackson.core.JsonLocation)"> 509<!-- --> 510</a> 511<ul class="blockList"> 512<li class="blockList"> 513<h4>JsonMappingException</h4> 514<pre><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a> 515public JsonMappingException(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> msg, 516 <a href="http://fasterxml.github.com/jackson-core/javadoc/2.7/com/fasterxml/jackson/core/JsonLocation.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonLocation</a> loc)</pre> 517<div class="block"><span class="strong">Deprecated.</span> <i>Since 2.7 Use variant that takes <a href="http://fasterxml.github.com/jackson-core/javadoc/2.7/com/fasterxml/jackson/core/JsonParser.html?is-external=true" title="class or interface in com.fasterxml.jackson.core"><code>JsonParser</code></a> instead</i></div> 518</li> 519</ul> 520<a name="JsonMappingException(java.lang.String, com.fasterxml.jackson.core.JsonLocation, java.lang.Throwable)"> 521<!-- --> 522</a> 523<ul class="blockList"> 524<li class="blockList"> 525<h4>JsonMappingException</h4> 526<pre><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a> 527public JsonMappingException(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> msg, 528 <a href="http://fasterxml.github.com/jackson-core/javadoc/2.7/com/fasterxml/jackson/core/JsonLocation.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonLocation</a> loc, 529 <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a> rootCause)</pre> 530<div class="block"><span class="strong">Deprecated.</span> <i>Since 2.7 Use variant that takes <a href="http://fasterxml.github.com/jackson-core/javadoc/2.7/com/fasterxml/jackson/core/JsonParser.html?is-external=true" title="class or interface in com.fasterxml.jackson.core"><code>JsonParser</code></a> instead</i></div> 531</li> 532</ul> 533<a name="JsonMappingException(java.io.Closeable, java.lang.String)"> 534<!-- --> 535</a> 536<ul class="blockList"> 537<li class="blockList"> 538<h4>JsonMappingException</h4> 539<pre>public JsonMappingException(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/Closeable.html?is-external=true" title="class or interface in java.io">Closeable</a> processor, 540 <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> msg)</pre> 541<dl><dt><span class="strong">Since:</span></dt> 542 <dd>2.7</dd></dl> 543</li> 544</ul> 545<a name="JsonMappingException(java.io.Closeable, java.lang.String, java.lang.Throwable)"> 546<!-- --> 547</a> 548<ul class="blockList"> 549<li class="blockList"> 550<h4>JsonMappingException</h4> 551<pre>public JsonMappingException(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/Closeable.html?is-external=true" title="class or interface in java.io">Closeable</a> processor, 552 <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> msg, 553 <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a> problem)</pre> 554<dl><dt><span class="strong">Since:</span></dt> 555 <dd>2.7</dd></dl> 556</li> 557</ul> 558<a name="JsonMappingException(java.io.Closeable, java.lang.String, com.fasterxml.jackson.core.JsonLocation)"> 559<!-- --> 560</a> 561<ul class="blockListLast"> 562<li class="blockList"> 563<h4>JsonMappingException</h4> 564<pre>public JsonMappingException(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/Closeable.html?is-external=true" title="class or interface in java.io">Closeable</a> processor, 565 <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> msg, 566 <a href="http://fasterxml.github.com/jackson-core/javadoc/2.7/com/fasterxml/jackson/core/JsonLocation.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonLocation</a> loc)</pre> 567<dl><dt><span class="strong">Since:</span></dt> 568 <dd>2.7</dd></dl> 569</li> 570</ul> 571</li> 572</ul> 573<!-- ============ METHOD DETAIL ========== --> 574<ul class="blockList"> 575<li class="blockList"><a name="method_detail"> 576<!-- --> 577</a> 578<h3>Method Detail</h3> 579<a name="from(com.fasterxml.jackson.core.JsonParser, java.lang.String)"> 580<!-- --> 581</a> 582<ul class="blockList"> 583<li class="blockList"> 584<h4>from</h4> 585<pre>public static <a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a> from(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.7/com/fasterxml/jackson/core/JsonParser.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonParser</a> p, 586 <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> msg)</pre> 587<dl><dt><span class="strong">Since:</span></dt> 588 <dd>2.7</dd></dl> 589</li> 590</ul> 591<a name="from(com.fasterxml.jackson.core.JsonParser, java.lang.String, java.lang.Throwable)"> 592<!-- --> 593</a> 594<ul class="blockList"> 595<li class="blockList"> 596<h4>from</h4> 597<pre>public static <a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a> from(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.7/com/fasterxml/jackson/core/JsonParser.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonParser</a> p, 598 <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> msg, 599 <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a> problem)</pre> 600<dl><dt><span class="strong">Since:</span></dt> 601 <dd>2.7</dd></dl> 602</li> 603</ul> 604<a name="from(com.fasterxml.jackson.core.JsonGenerator, java.lang.String)"> 605<!-- --> 606</a> 607<ul class="blockList"> 608<li class="blockList"> 609<h4>from</h4> 610<pre>public static <a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a> from(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.7/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a> g, 611 <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> msg)</pre> 612<dl><dt><span class="strong">Since:</span></dt> 613 <dd>2.7</dd></dl> 614</li> 615</ul> 616<a name="from(com.fasterxml.jackson.core.JsonGenerator, java.lang.String, java.lang.Throwable)"> 617<!-- --> 618</a> 619<ul class="blockList"> 620<li class="blockList"> 621<h4>from</h4> 622<pre>public static <a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a> from(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.7/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a> g, 623 <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> msg, 624 <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a> problem)</pre> 625<dl><dt><span class="strong">Since:</span></dt> 626 <dd>2.7</dd></dl> 627</li> 628</ul> 629<a name="from(com.fasterxml.jackson.databind.DeserializationContext, java.lang.String)"> 630<!-- --> 631</a> 632<ul class="blockList"> 633<li class="blockList"> 634<h4>from</h4> 635<pre>public static <a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a> from(<a href="../../../../com/fasterxml/jackson/databind/DeserializationContext.html" title="class in com.fasterxml.jackson.databind">DeserializationContext</a> ctxt, 636 <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> msg)</pre> 637<dl><dt><span class="strong">Since:</span></dt> 638 <dd>2.7</dd></dl> 639</li> 640</ul> 641<a name="from(com.fasterxml.jackson.databind.DeserializationContext, java.lang.String, java.lang.Throwable)"> 642<!-- --> 643</a> 644<ul class="blockList"> 645<li class="blockList"> 646<h4>from</h4> 647<pre>public static <a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a> from(<a href="../../../../com/fasterxml/jackson/databind/DeserializationContext.html" title="class in com.fasterxml.jackson.databind">DeserializationContext</a> ctxt, 648 <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> msg, 649 <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a> t)</pre> 650<dl><dt><span class="strong">Since:</span></dt> 651 <dd>2.7</dd></dl> 652</li> 653</ul> 654<a name="from(com.fasterxml.jackson.databind.SerializerProvider, java.lang.String)"> 655<!-- --> 656</a> 657<ul class="blockList"> 658<li class="blockList"> 659<h4>from</h4> 660<pre>public static <a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a> from(<a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a> ctxt, 661 <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> msg)</pre> 662<dl><dt><span class="strong">Since:</span></dt> 663 <dd>2.7</dd></dl> 664</li> 665</ul> 666<a name="from(com.fasterxml.jackson.databind.SerializerProvider, java.lang.String, java.lang.Throwable)"> 667<!-- --> 668</a> 669<ul class="blockList"> 670<li class="blockList"> 671<h4>from</h4> 672<pre>public static <a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a> from(<a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a> ctxt, 673 <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> msg, 674 <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a> problem)</pre> 675<dl><dt><span class="strong">Since:</span></dt> 676 <dd>2.7</dd></dl> 677</li> 678</ul> 679<a name="fromUnexpectedIOE(java.io.IOException)"> 680<!-- --> 681</a> 682<ul class="blockList"> 683<li class="blockList"> 684<h4>fromUnexpectedIOE</h4> 685<pre>public static <a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a> fromUnexpectedIOE(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a> src)</pre> 686<div class="block">Factory method used when "upgrading" an <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io"><code>IOException</code></a> into 687 <a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind"><code>JsonMappingException</code></a>: usually only needed to comply with 688 a signature.</div> 689<dl><dt><span class="strong">Since:</span></dt> 690 <dd>2.1</dd></dl> 691</li> 692</ul> 693<a name="wrapWithPath(java.lang.Throwable, java.lang.Object, java.lang.String)"> 694<!-- --> 695</a> 696<ul class="blockList"> 697<li class="blockList"> 698<h4>wrapWithPath</h4> 699<pre>public static <a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a> wrapWithPath(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a> src, 700 <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> refFrom, 701 <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> refFieldName)</pre> 702<div class="block">Method that can be called to either create a new JsonMappingException 703 (if underlying exception is not a JsonMappingException), or augment 704 given exception with given path/reference information. 705 706 This version of method is called when the reference is through a 707 non-indexed object, such as a Map or POJO/bean.</div> 708</li> 709</ul> 710<a name="wrapWithPath(java.lang.Throwable, java.lang.Object, int)"> 711<!-- --> 712</a> 713<ul class="blockList"> 714<li class="blockList"> 715<h4>wrapWithPath</h4> 716<pre>public static <a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a> wrapWithPath(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a> src, 717 <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> refFrom, 718 int index)</pre> 719<div class="block">Method that can be called to either create a new JsonMappingException 720 (if underlying exception is not a JsonMappingException), or augment 721 given exception with given path/reference information. 722 723 This version of method is called when the reference is through an 724 index, which happens with arrays and Collections.</div> 725</li> 726</ul> 727<a name="wrapWithPath(java.lang.Throwable, com.fasterxml.jackson.databind.JsonMappingException.Reference)"> 728<!-- --> 729</a> 730<ul class="blockList"> 731<li class="blockList"> 732<h4>wrapWithPath</h4> 733<pre>public static <a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a> wrapWithPath(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a> src, 734 <a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.Reference.html" title="class in com.fasterxml.jackson.databind">JsonMappingException.Reference</a> ref)</pre> 735<div class="block">Method that can be called to either create a new JsonMappingException 736 (if underlying exception is not a JsonMappingException), or augment 737 given exception with given path/reference information.</div> 738</li> 739</ul> 740<a name="getPath()"> 741<!-- --> 742</a> 743<ul class="blockList"> 744<li class="blockList"> 745<h4>getPath</h4> 746<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.Reference.html" title="class in com.fasterxml.jackson.databind">JsonMappingException.Reference</a>> getPath()</pre> 747<div class="block">Method for accessing full structural path within type hierarchy 748 down to problematic property.</div> 749</li> 750</ul> 751<a name="getPathReference()"> 752<!-- --> 753</a> 754<ul class="blockList"> 755<li class="blockList"> 756<h4>getPathReference</h4> 757<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getPathReference()</pre> 758<div class="block">Method for accesing description of path that lead to the 759 problem that triggered this exception</div> 760</li> 761</ul> 762<a name="getPathReference(java.lang.StringBuilder)"> 763<!-- --> 764</a> 765<ul class="blockList"> 766<li class="blockList"> 767<h4>getPathReference</h4> 768<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/StringBuilder.html?is-external=true" title="class or interface in java.lang">StringBuilder</a> getPathReference(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/StringBuilder.html?is-external=true" title="class or interface in java.lang">StringBuilder</a> sb)</pre> 769</li> 770</ul> 771<a name="prependPath(java.lang.Object, java.lang.String)"> 772<!-- --> 773</a> 774<ul class="blockList"> 775<li class="blockList"> 776<h4>prependPath</h4> 777<pre>public void prependPath(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> referrer, 778 <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> fieldName)</pre> 779<div class="block">Method called to prepend a reference information in front of 780 current path</div> 781</li> 782</ul> 783<a name="prependPath(java.lang.Object, int)"> 784<!-- --> 785</a> 786<ul class="blockList"> 787<li class="blockList"> 788<h4>prependPath</h4> 789<pre>public void prependPath(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> referrer, 790 int index)</pre> 791<div class="block">Method called to prepend a reference information in front of 792 current path</div> 793</li> 794</ul> 795<a name="prependPath(com.fasterxml.jackson.databind.JsonMappingException.Reference)"> 796<!-- --> 797</a> 798<ul class="blockList"> 799<li class="blockList"> 800<h4>prependPath</h4> 801<pre>public void prependPath(<a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.Reference.html" title="class in com.fasterxml.jackson.databind">JsonMappingException.Reference</a> r)</pre> 802</li> 803</ul> 804<a name="getLocalizedMessage()"> 805<!-- --> 806</a> 807<ul class="blockList"> 808<li class="blockList"> 809<h4>getLocalizedMessage</h4> 810<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getLocalizedMessage()</pre> 811<dl> 812<dt><strong>Overrides:</strong></dt> 813<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true#getLocalizedMessage()" title="class or interface in java.lang">getLocalizedMessage</a></code> in class <code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a></code></dd> 814</dl> 815</li> 816</ul> 817<a name="getMessage()"> 818<!-- --> 819</a> 820<ul class="blockList"> 821<li class="blockList"> 822<h4>getMessage</h4> 823<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getMessage()</pre> 824<div class="block">Method is overridden so that we can properly inject description 825 of problem path, if such is defined.</div> 826<dl> 827<dt><strong>Overrides:</strong></dt> 828<dd><code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.7/com/fasterxml/jackson/core/JsonProcessingException.html?is-external=true#getMessage()" title="class or interface in com.fasterxml.jackson.core">getMessage</a></code> in class <code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.7/com/fasterxml/jackson/core/JsonProcessingException.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonProcessingException</a></code></dd> 829</dl> 830</li> 831</ul> 832<a name="_buildMessage()"> 833<!-- --> 834</a> 835<ul class="blockList"> 836<li class="blockList"> 837<h4>_buildMessage</h4> 838<pre>protected <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> _buildMessage()</pre> 839</li> 840</ul> 841<a name="toString()"> 842<!-- --> 843</a> 844<ul class="blockList"> 845<li class="blockList"> 846<h4>toString</h4> 847<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> toString()</pre> 848<dl> 849<dt><strong>Overrides:</strong></dt> 850<dd><code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.7/com/fasterxml/jackson/core/JsonProcessingException.html?is-external=true#toString()" title="class or interface in com.fasterxml.jackson.core">toString</a></code> in class <code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.7/com/fasterxml/jackson/core/JsonProcessingException.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonProcessingException</a></code></dd> 851</dl> 852</li> 853</ul> 854<a name="_appendPathDesc(java.lang.StringBuilder)"> 855<!-- --> 856</a> 857<ul class="blockListLast"> 858<li class="blockList"> 859<h4>_appendPathDesc</h4> 860<pre>protected void _appendPathDesc(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/StringBuilder.html?is-external=true" title="class or interface in java.lang">StringBuilder</a> sb)</pre> 861</li> 862</ul> 863</li> 864</ul> 865</li> 866</ul> 867</div> 868</div> 869<!-- ========= END OF CLASS DATA ========= --> 870<!-- ======= START OF BOTTOM NAVBAR ====== --> 871<div class="bottomNav"><a name="navbar_bottom"> 872<!-- --> 873</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> 874<!-- --> 875</a> 876<ul class="navList" title="Navigation"> 877<li><a href="../../../../overview-summary.html">Overview</a></li> 878<li><a href="package-summary.html">Package</a></li> 879<li class="navBarCell1Rev">Class</li> 880<li><a href="class-use/JsonMappingException.html">Use</a></li> 881<li><a href="package-tree.html">Tree</a></li> 882<li><a href="../../../../deprecated-list.html">Deprecated</a></li> 883<li><a href="../../../../index-all.html">Index</a></li> 884<li><a href="../../../../help-doc.html">Help</a></li> 885</ul> 886</div> 887<div class="subNav"> 888<ul class="navList"> 889<li><a href="../../../../com/fasterxml/jackson/databind/JsonDeserializer.None.html" title="class in com.fasterxml.jackson.databind"><span class="strong">Prev Class</span></a></li> 890<li><a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.Reference.html" title="class in com.fasterxml.jackson.databind"><span class="strong">Next Class</span></a></li> 891</ul> 892<ul class="navList"> 893<li><a href="../../../../index.html?com/fasterxml/jackson/databind/JsonMappingException.html" target="_top">Frames</a></li> 894<li><a href="JsonMappingException.html" target="_top">No Frames</a></li> 895</ul> 896<ul class="navList" id="allclasses_navbar_bottom"> 897<li><a href="../../../../allclasses-noframe.html">All Classes</a></li> 898</ul> 899<div> 900<script type="text/javascript"><!-- 901 allClassesLink = document.getElementById("allclasses_navbar_bottom"); 902 if(window==top) { 903 allClassesLink.style.display = "block"; 904 } 905 else { 906 allClassesLink.style.display = "none"; 907 } 908 //--> 909</script> 910</div> 911<div> 912<ul class="subNavList"> 913<li>Summary: </li> 914<li><a href="#nested_class_summary">Nested</a> | </li> 915<li><a href="#field_summary">Field</a> | </li> 916<li><a href="#constructor_summary">Constr</a> | </li> 917<li><a href="#method_summary">Method</a></li> 918</ul> 919<ul class="subNavList"> 920<li>Detail: </li> 921<li><a href="#field_detail">Field</a> | </li> 922<li><a href="#constructor_detail">Constr</a> | </li> 923<li><a href="#method_detail">Method</a></li> 924</ul> 925</div> 926<a name="skip-navbar_bottom"> 927<!-- --> 928</a></div> 929<!-- ======== END OF BOTTOM NAVBAR ======= --> 930<p class="legalCopy"><small>Copyright © 2008–2016 <a href="http://fasterxml.com/">FasterXML</a>. All rights reserved.</small></p> 931</body> 932</html> 933