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_10-ea) on Sun Jul 14 20:03:26 PDT 2013 --> 6<title>JsonMappingException (Jackson JSON Processor)</title> 7<meta name="date" content="2013-07-14"> 8<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style"> 9</head> 10<body> 11<script type="text/javascript"><!-- 12 if (location.href.indexOf('is-external=true') == -1) { 13 parent.document.title="JsonMappingException (Jackson JSON Processor)"; 14 } 15//--> 16</script> 17<noscript> 18<div>JavaScript is disabled on your browser.</div> 19</noscript> 20<!-- ========= START OF TOP NAVBAR ======= --> 21<div class="topNav"><a name="navbar_top"> 22<!-- --> 23</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow"> 24<!-- --> 25</a> 26<ul class="navList" title="Navigation"> 27<li><a href="../../../../overview-summary.html">Overview</a></li> 28<li><a href="package-summary.html">Package</a></li> 29<li class="navBarCell1Rev">Class</li> 30<li><a href="class-use/JsonMappingException.html">Use</a></li> 31<li><a href="package-tree.html">Tree</a></li> 32<li><a href="../../../../deprecated-list.html">Deprecated</a></li> 33<li><a href="../../../../index-all.html">Index</a></li> 34<li><a href="../../../../help-doc.html">Help</a></li> 35</ul> 36</div> 37<div class="subNav"> 38<ul class="navList"> 39<li><a href="../../../../org/codehaus/jackson/map/JsonDeserializer.None.html" title="class in org.codehaus.jackson.map"><span class="strong">Prev Class</span></a></li> 40<li><a href="../../../../org/codehaus/jackson/map/JsonMappingException.Reference.html" title="class in org.codehaus.jackson.map"><span class="strong">Next Class</span></a></li> 41</ul> 42<ul class="navList"> 43<li><a href="../../../../index.html?org/codehaus/jackson/map/JsonMappingException.html" target="_top">Frames</a></li> 44<li><a href="JsonMappingException.html" target="_top">No Frames</a></li> 45</ul> 46<ul class="navList" id="allclasses_navbar_top"> 47<li><a href="../../../../allclasses-noframe.html">All Classes</a></li> 48</ul> 49<div> 50<script type="text/javascript"><!-- 51 allClassesLink = document.getElementById("allclasses_navbar_top"); 52 if(window==top) { 53 allClassesLink.style.display = "block"; 54 } 55 else { 56 allClassesLink.style.display = "none"; 57 } 58 //--> 59</script> 60</div> 61<div> 62<ul class="subNavList"> 63<li>Summary: </li> 64<li><a href="#nested_class_summary">Nested</a> | </li> 65<li><a href="#field_summary">Field</a> | </li> 66<li><a href="#constructor_summary">Constr</a> | </li> 67<li><a href="#method_summary">Method</a></li> 68</ul> 69<ul class="subNavList"> 70<li>Detail: </li> 71<li><a href="#field_detail">Field</a> | </li> 72<li><a href="#constructor_detail">Constr</a> | </li> 73<li><a href="#method_detail">Method</a></li> 74</ul> 75</div> 76<a name="skip-navbar_top"> 77<!-- --> 78</a></div> 79<!-- ========= END OF TOP NAVBAR ========= --> 80<!-- ======== START OF CLASS DATA ======== --> 81<div class="header"> 82<div class="subTitle">org.codehaus.jackson.map</div> 83<h2 title="Class JsonMappingException" class="title">Class JsonMappingException</h2> 84</div> 85<div class="contentContainer"> 86<ul class="inheritance"> 87<li><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li> 88<li> 89<ul class="inheritance"> 90<li><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">java.lang.Throwable</a></li> 91<li> 92<ul class="inheritance"> 93<li><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">java.lang.Exception</a></li> 94<li> 95<ul class="inheritance"> 96<li><a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">java.io.IOException</a></li> 97<li> 98<ul class="inheritance"> 99<li><a href="../../../../org/codehaus/jackson/JsonProcessingException.html" title="class in org.codehaus.jackson">org.codehaus.jackson.JsonProcessingException</a></li> 100<li> 101<ul class="inheritance"> 102<li>org.codehaus.jackson.map.JsonMappingException</li> 103</ul> 104</li> 105</ul> 106</li> 107</ul> 108</li> 109</ul> 110</li> 111</ul> 112</li> 113</ul> 114<div class="description"> 115<ul class="blockList"> 116<li class="blockList"> 117<dl> 118<dt>All Implemented Interfaces:</dt> 119<dd><a href="http://docs.oracle.com/javase/6/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a></dd> 120</dl> 121<dl> 122<dt>Direct Known Subclasses:</dt> 123<dd><a href="../../../../org/codehaus/jackson/map/exc/UnrecognizedPropertyException.html" title="class in org.codehaus.jackson.map.exc">UnrecognizedPropertyException</a></dd> 124</dl> 125<hr> 126<br> 127<pre>public class <span class="strong">JsonMappingException</span> 128extends <a href="../../../../org/codehaus/jackson/JsonProcessingException.html" title="class in org.codehaus.jackson">JsonProcessingException</a></pre> 129<div class="block">Checked exception used to signal fatal problems with mapping of 130 content. 131<p> 132 One additional feature is the ability to denote relevant path 133 of references (during serialization/deserialization) to help in 134 troubleshooting.</div> 135<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../serialized-form.html#org.codehaus.jackson.map.JsonMappingException">Serialized Form</a></dd></dl> 136</li> 137</ul> 138</div> 139<div class="summary"> 140<ul class="blockList"> 141<li class="blockList"> 142<!-- ======== NESTED CLASS SUMMARY ======== --> 143<ul class="blockList"> 144<li class="blockList"><a name="nested_class_summary"> 145<!-- --> 146</a> 147<h3>Nested Class Summary</h3> 148<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation"> 149<caption><span>Nested Classes</span><span class="tabEnd"> </span></caption> 150<tr> 151<th class="colFirst" scope="col">Modifier and Type</th> 152<th class="colLast" scope="col">Class and Description</th> 153</tr> 154<tr class="altColor"> 155<td class="colFirst"><code>static class </code></td> 156<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/map/JsonMappingException.Reference.html" title="class in org.codehaus.jackson.map">JsonMappingException.Reference</a></strong></code> 157<div class="block">Simple bean class used to contain references.</div> 158</td> 159</tr> 160</table> 161</li> 162</ul> 163<!-- =========== FIELD SUMMARY =========== --> 164<ul class="blockList"> 165<li class="blockList"><a name="field_summary"> 166<!-- --> 167</a> 168<h3>Field Summary</h3> 169<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation"> 170<caption><span>Fields</span><span class="tabEnd"> </span></caption> 171<tr> 172<th class="colFirst" scope="col">Modifier and Type</th> 173<th class="colLast" scope="col">Field and Description</th> 174</tr> 175<tr class="altColor"> 176<td class="colFirst"><code>protected <a href="http://docs.oracle.com/javase/6/docs/api/java/util/LinkedList.html?is-external=true" title="class or interface in java.util">LinkedList</a><<a href="../../../../org/codehaus/jackson/map/JsonMappingException.Reference.html" title="class in org.codehaus.jackson.map">JsonMappingException.Reference</a>></code></td> 177<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/map/JsonMappingException.html#_path">_path</a></strong></code> 178<div class="block">Path through which problem that triggering throwing of 179 this exception was reached.</div> 180</td> 181</tr> 182</table> 183<ul class="blockList"> 184<li class="blockList"><a name="fields_inherited_from_class_org.codehaus.jackson.JsonProcessingException"> 185<!-- --> 186</a> 187<h3>Fields inherited from class org.codehaus.jackson.<a href="../../../../org/codehaus/jackson/JsonProcessingException.html" title="class in org.codehaus.jackson">JsonProcessingException</a></h3> 188<code><a href="../../../../org/codehaus/jackson/JsonProcessingException.html#mLocation">mLocation</a></code></li> 189</ul> 190</li> 191</ul> 192<!-- ======== CONSTRUCTOR SUMMARY ======== --> 193<ul class="blockList"> 194<li class="blockList"><a name="constructor_summary"> 195<!-- --> 196</a> 197<h3>Constructor Summary</h3> 198<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> 199<caption><span>Constructors</span><span class="tabEnd"> </span></caption> 200<tr> 201<th class="colOne" scope="col">Constructor and Description</th> 202</tr> 203<tr class="altColor"> 204<td class="colOne"><code><strong><a href="../../../../org/codehaus/jackson/map/JsonMappingException.html#JsonMappingException(java.lang.String)">JsonMappingException</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> msg)</code> </td> 205</tr> 206<tr class="rowColor"> 207<td class="colOne"><code><strong><a href="../../../../org/codehaus/jackson/map/JsonMappingException.html#JsonMappingException(java.lang.String, org.codehaus.jackson.JsonLocation)">JsonMappingException</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> msg, 208 <a href="../../../../org/codehaus/jackson/JsonLocation.html" title="class in org.codehaus.jackson">JsonLocation</a> loc)</code> </td> 209</tr> 210<tr class="altColor"> 211<td class="colOne"><code><strong><a href="../../../../org/codehaus/jackson/map/JsonMappingException.html#JsonMappingException(java.lang.String, org.codehaus.jackson.JsonLocation, java.lang.Throwable)">JsonMappingException</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> msg, 212 <a href="../../../../org/codehaus/jackson/JsonLocation.html" title="class in org.codehaus.jackson">JsonLocation</a> loc, 213 <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a> rootCause)</code> </td> 214</tr> 215<tr class="rowColor"> 216<td class="colOne"><code><strong><a href="../../../../org/codehaus/jackson/map/JsonMappingException.html#JsonMappingException(java.lang.String, java.lang.Throwable)">JsonMappingException</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> msg, 217 <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a> rootCause)</code> </td> 218</tr> 219</table> 220</li> 221</ul> 222<!-- ========== METHOD SUMMARY =========== --> 223<ul class="blockList"> 224<li class="blockList"><a name="method_summary"> 225<!-- --> 226</a> 227<h3>Method Summary</h3> 228<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> 229<caption><span>Methods</span><span class="tabEnd"> </span></caption> 230<tr> 231<th class="colFirst" scope="col">Modifier and Type</th> 232<th class="colLast" scope="col">Method and Description</th> 233</tr> 234<tr class="altColor"> 235<td class="colFirst"><code>protected void</code></td> 236<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/map/JsonMappingException.html#_appendPathDesc(java.lang.StringBuilder)">_appendPathDesc</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/StringBuilder.html?is-external=true" title="class or interface in java.lang">StringBuilder</a> sb)</code> </td> 237</tr> 238<tr class="rowColor"> 239<td class="colFirst"><code>static <a href="../../../../org/codehaus/jackson/map/JsonMappingException.html" title="class in org.codehaus.jackson.map">JsonMappingException</a></code></td> 240<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/map/JsonMappingException.html#from(org.codehaus.jackson.JsonParser, java.lang.String)">from</a></strong>(<a href="../../../../org/codehaus/jackson/JsonParser.html" title="class in org.codehaus.jackson">JsonParser</a> jp, 241 <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> msg)</code> </td> 242</tr> 243<tr class="altColor"> 244<td class="colFirst"><code>static <a href="../../../../org/codehaus/jackson/map/JsonMappingException.html" title="class in org.codehaus.jackson.map">JsonMappingException</a></code></td> 245<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/map/JsonMappingException.html#from(org.codehaus.jackson.JsonParser, java.lang.String, java.lang.Throwable)">from</a></strong>(<a href="../../../../org/codehaus/jackson/JsonParser.html" title="class in org.codehaus.jackson">JsonParser</a> jp, 246 <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> msg, 247 <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a> problem)</code> </td> 248</tr> 249<tr class="rowColor"> 250<td class="colFirst"><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> 251<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/map/JsonMappingException.html#getMessage()">getMessage</a></strong>()</code> 252<div class="block">Method is overridden so that we can properly inject description 253 of problem path, if such is defined.</div> 254</td> 255</tr> 256<tr class="altColor"> 257<td class="colFirst"><code><a href="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../org/codehaus/jackson/map/JsonMappingException.Reference.html" title="class in org.codehaus.jackson.map">JsonMappingException.Reference</a>></code></td> 258<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/map/JsonMappingException.html#getPath()">getPath</a></strong>()</code> </td> 259</tr> 260<tr class="rowColor"> 261<td class="colFirst"><code>void</code></td> 262<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/map/JsonMappingException.html#prependPath(org.codehaus.jackson.map.JsonMappingException.Reference)">prependPath</a></strong>(<a href="../../../../org/codehaus/jackson/map/JsonMappingException.Reference.html" title="class in org.codehaus.jackson.map">JsonMappingException.Reference</a> r)</code> </td> 263</tr> 264<tr class="altColor"> 265<td class="colFirst"><code>void</code></td> 266<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/map/JsonMappingException.html#prependPath(java.lang.Object, int)">prependPath</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> referrer, 267 int index)</code> 268<div class="block">Method called to prepend a reference information in front of 269 current path</div> 270</td> 271</tr> 272<tr class="rowColor"> 273<td class="colFirst"><code>void</code></td> 274<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/map/JsonMappingException.html#prependPath(java.lang.Object, java.lang.String)">prependPath</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> referrer, 275 <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> fieldName)</code> 276<div class="block">Method called to prepend a reference information in front of 277 current path</div> 278</td> 279</tr> 280<tr class="altColor"> 281<td class="colFirst"><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> 282<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/map/JsonMappingException.html#toString()">toString</a></strong>()</code> </td> 283</tr> 284<tr class="rowColor"> 285<td class="colFirst"><code>static <a href="../../../../org/codehaus/jackson/map/JsonMappingException.html" title="class in org.codehaus.jackson.map">JsonMappingException</a></code></td> 286<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/map/JsonMappingException.html#wrapWithPath(java.lang.Throwable, org.codehaus.jackson.map.JsonMappingException.Reference)">wrapWithPath</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a> src, 287 <a href="../../../../org/codehaus/jackson/map/JsonMappingException.Reference.html" title="class in org.codehaus.jackson.map">JsonMappingException.Reference</a> ref)</code> 288<div class="block">Method that can be called to either create a new JsonMappingException 289 (if underlying exception is not a JsonMappingException), or augment 290 given exception with given path/reference information.</div> 291</td> 292</tr> 293<tr class="altColor"> 294<td class="colFirst"><code>static <a href="../../../../org/codehaus/jackson/map/JsonMappingException.html" title="class in org.codehaus.jackson.map">JsonMappingException</a></code></td> 295<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/map/JsonMappingException.html#wrapWithPath(java.lang.Throwable, java.lang.Object, int)">wrapWithPath</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a> src, 296 <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> refFrom, 297 int index)</code> 298<div class="block">Method that can be called to either create a new JsonMappingException 299 (if underlying exception is not a JsonMappingException), or augment 300 given exception with given path/reference information.</div> 301</td> 302</tr> 303<tr class="rowColor"> 304<td class="colFirst"><code>static <a href="../../../../org/codehaus/jackson/map/JsonMappingException.html" title="class in org.codehaus.jackson.map">JsonMappingException</a></code></td> 305<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/map/JsonMappingException.html#wrapWithPath(java.lang.Throwable, java.lang.Object, java.lang.String)">wrapWithPath</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a> src, 306 <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> refFrom, 307 <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> refFieldName)</code> 308<div class="block">Method that can be called to either create a new JsonMappingException 309 (if underlying exception is not a JsonMappingException), or augment 310 given exception with given path/reference information.</div> 311</td> 312</tr> 313</table> 314<ul class="blockList"> 315<li class="blockList"><a name="methods_inherited_from_class_org.codehaus.jackson.JsonProcessingException"> 316<!-- --> 317</a> 318<h3>Methods inherited from class org.codehaus.jackson.<a href="../../../../org/codehaus/jackson/JsonProcessingException.html" title="class in org.codehaus.jackson">JsonProcessingException</a></h3> 319<code><a href="../../../../org/codehaus/jackson/JsonProcessingException.html#getLocation()">getLocation</a></code></li> 320</ul> 321<ul class="blockList"> 322<li class="blockList"><a name="methods_inherited_from_class_java.lang.Throwable"> 323<!-- --> 324</a> 325<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a></h3> 326<code><a href="http://docs.oracle.com/javase/6/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/6/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/6/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/6/docs/api/java/lang/Throwable.html?is-external=true#getLocalizedMessage()" title="class or interface in java.lang">getLocalizedMessage</a>, <a href="http://docs.oracle.com/javase/6/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/6/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/6/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/6/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/6/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/6/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/6/docs/api/java/lang/Throwable.html?is-external=true#setStackTrace(java.lang.StackTraceElement[])" title="class or interface in java.lang">setStackTrace</a></code></li> 327</ul> 328<ul class="blockList"> 329<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object"> 330<!-- --> 331</a> 332<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> 333<code><a href="http://docs.oracle.com/javase/6/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/6/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/6/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/6/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/6/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/6/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/6/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/6/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/6/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/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</a></code></li> 334</ul> 335</li> 336</ul> 337</li> 338</ul> 339</div> 340<div class="details"> 341<ul class="blockList"> 342<li class="blockList"> 343<!-- ============ FIELD DETAIL =========== --> 344<ul class="blockList"> 345<li class="blockList"><a name="field_detail"> 346<!-- --> 347</a> 348<h3>Field Detail</h3> 349<a name="_path"> 350<!-- --> 351</a> 352<ul class="blockListLast"> 353<li class="blockList"> 354<h4>_path</h4> 355<pre>protected <a href="http://docs.oracle.com/javase/6/docs/api/java/util/LinkedList.html?is-external=true" title="class or interface in java.util">LinkedList</a><<a href="../../../../org/codehaus/jackson/map/JsonMappingException.Reference.html" title="class in org.codehaus.jackson.map">JsonMappingException.Reference</a>> _path</pre> 356<div class="block">Path through which problem that triggering throwing of 357 this exception was reached.</div> 358</li> 359</ul> 360</li> 361</ul> 362<!-- ========= CONSTRUCTOR DETAIL ======== --> 363<ul class="blockList"> 364<li class="blockList"><a name="constructor_detail"> 365<!-- --> 366</a> 367<h3>Constructor Detail</h3> 368<a name="JsonMappingException(java.lang.String)"> 369<!-- --> 370</a> 371<ul class="blockList"> 372<li class="blockList"> 373<h4>JsonMappingException</h4> 374<pre>public JsonMappingException(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> msg)</pre> 375</li> 376</ul> 377<a name="JsonMappingException(java.lang.String, java.lang.Throwable)"> 378<!-- --> 379</a> 380<ul class="blockList"> 381<li class="blockList"> 382<h4>JsonMappingException</h4> 383<pre>public JsonMappingException(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> msg, 384 <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a> rootCause)</pre> 385</li> 386</ul> 387<a name="JsonMappingException(java.lang.String, org.codehaus.jackson.JsonLocation)"> 388<!-- --> 389</a> 390<ul class="blockList"> 391<li class="blockList"> 392<h4>JsonMappingException</h4> 393<pre>public JsonMappingException(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> msg, 394 <a href="../../../../org/codehaus/jackson/JsonLocation.html" title="class in org.codehaus.jackson">JsonLocation</a> loc)</pre> 395</li> 396</ul> 397<a name="JsonMappingException(java.lang.String, org.codehaus.jackson.JsonLocation, java.lang.Throwable)"> 398<!-- --> 399</a> 400<ul class="blockListLast"> 401<li class="blockList"> 402<h4>JsonMappingException</h4> 403<pre>public JsonMappingException(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> msg, 404 <a href="../../../../org/codehaus/jackson/JsonLocation.html" title="class in org.codehaus.jackson">JsonLocation</a> loc, 405 <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a> rootCause)</pre> 406</li> 407</ul> 408</li> 409</ul> 410<!-- ============ METHOD DETAIL ========== --> 411<ul class="blockList"> 412<li class="blockList"><a name="method_detail"> 413<!-- --> 414</a> 415<h3>Method Detail</h3> 416<a name="from(org.codehaus.jackson.JsonParser, java.lang.String)"> 417<!-- --> 418</a> 419<ul class="blockList"> 420<li class="blockList"> 421<h4>from</h4> 422<pre>public static <a href="../../../../org/codehaus/jackson/map/JsonMappingException.html" title="class in org.codehaus.jackson.map">JsonMappingException</a> from(<a href="../../../../org/codehaus/jackson/JsonParser.html" title="class in org.codehaus.jackson">JsonParser</a> jp, 423 <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> msg)</pre> 424</li> 425</ul> 426<a name="from(org.codehaus.jackson.JsonParser, java.lang.String, java.lang.Throwable)"> 427<!-- --> 428</a> 429<ul class="blockList"> 430<li class="blockList"> 431<h4>from</h4> 432<pre>public static <a href="../../../../org/codehaus/jackson/map/JsonMappingException.html" title="class in org.codehaus.jackson.map">JsonMappingException</a> from(<a href="../../../../org/codehaus/jackson/JsonParser.html" title="class in org.codehaus.jackson">JsonParser</a> jp, 433 <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> msg, 434 <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a> problem)</pre> 435</li> 436</ul> 437<a name="wrapWithPath(java.lang.Throwable, java.lang.Object, java.lang.String)"> 438<!-- --> 439</a> 440<ul class="blockList"> 441<li class="blockList"> 442<h4>wrapWithPath</h4> 443<pre>public static <a href="../../../../org/codehaus/jackson/map/JsonMappingException.html" title="class in org.codehaus.jackson.map">JsonMappingException</a> wrapWithPath(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a> src, 444 <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> refFrom, 445 <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> refFieldName)</pre> 446<div class="block">Method that can be called to either create a new JsonMappingException 447 (if underlying exception is not a JsonMappingException), or augment 448 given exception with given path/reference information. 449 450 This version of method is called when the reference is through a 451 non-indexed object, such as a Map or POJO/bean.</div> 452</li> 453</ul> 454<a name="wrapWithPath(java.lang.Throwable, java.lang.Object, int)"> 455<!-- --> 456</a> 457<ul class="blockList"> 458<li class="blockList"> 459<h4>wrapWithPath</h4> 460<pre>public static <a href="../../../../org/codehaus/jackson/map/JsonMappingException.html" title="class in org.codehaus.jackson.map">JsonMappingException</a> wrapWithPath(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a> src, 461 <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> refFrom, 462 int index)</pre> 463<div class="block">Method that can be called to either create a new JsonMappingException 464 (if underlying exception is not a JsonMappingException), or augment 465 given exception with given path/reference information. 466 467 This version of method is called when the reference is through an 468 index, which happens with arrays and Collections.</div> 469</li> 470</ul> 471<a name="wrapWithPath(java.lang.Throwable, org.codehaus.jackson.map.JsonMappingException.Reference)"> 472<!-- --> 473</a> 474<ul class="blockList"> 475<li class="blockList"> 476<h4>wrapWithPath</h4> 477<pre>public static <a href="../../../../org/codehaus/jackson/map/JsonMappingException.html" title="class in org.codehaus.jackson.map">JsonMappingException</a> wrapWithPath(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a> src, 478 <a href="../../../../org/codehaus/jackson/map/JsonMappingException.Reference.html" title="class in org.codehaus.jackson.map">JsonMappingException.Reference</a> ref)</pre> 479<div class="block">Method that can be called to either create a new JsonMappingException 480 (if underlying exception is not a JsonMappingException), or augment 481 given exception with given path/reference information.</div> 482</li> 483</ul> 484<a name="getPath()"> 485<!-- --> 486</a> 487<ul class="blockList"> 488<li class="blockList"> 489<h4>getPath</h4> 490<pre>public <a href="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../org/codehaus/jackson/map/JsonMappingException.Reference.html" title="class in org.codehaus.jackson.map">JsonMappingException.Reference</a>> getPath()</pre> 491</li> 492</ul> 493<a name="prependPath(java.lang.Object, java.lang.String)"> 494<!-- --> 495</a> 496<ul class="blockList"> 497<li class="blockList"> 498<h4>prependPath</h4> 499<pre>public void prependPath(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> referrer, 500 <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> fieldName)</pre> 501<div class="block">Method called to prepend a reference information in front of 502 current path</div> 503</li> 504</ul> 505<a name="prependPath(java.lang.Object, int)"> 506<!-- --> 507</a> 508<ul class="blockList"> 509<li class="blockList"> 510<h4>prependPath</h4> 511<pre>public void prependPath(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> referrer, 512 int index)</pre> 513<div class="block">Method called to prepend a reference information in front of 514 current path</div> 515</li> 516</ul> 517<a name="prependPath(org.codehaus.jackson.map.JsonMappingException.Reference)"> 518<!-- --> 519</a> 520<ul class="blockList"> 521<li class="blockList"> 522<h4>prependPath</h4> 523<pre>public void prependPath(<a href="../../../../org/codehaus/jackson/map/JsonMappingException.Reference.html" title="class in org.codehaus.jackson.map">JsonMappingException.Reference</a> r)</pre> 524</li> 525</ul> 526<a name="getMessage()"> 527<!-- --> 528</a> 529<ul class="blockList"> 530<li class="blockList"> 531<h4>getMessage</h4> 532<pre>public <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getMessage()</pre> 533<div class="block">Method is overridden so that we can properly inject description 534 of problem path, if such is defined.</div> 535<dl> 536<dt><strong>Overrides:</strong></dt> 537<dd><code><a href="../../../../org/codehaus/jackson/JsonProcessingException.html#getMessage()">getMessage</a></code> in class <code><a href="../../../../org/codehaus/jackson/JsonProcessingException.html" title="class in org.codehaus.jackson">JsonProcessingException</a></code></dd> 538</dl> 539</li> 540</ul> 541<a name="toString()"> 542<!-- --> 543</a> 544<ul class="blockList"> 545<li class="blockList"> 546<h4>toString</h4> 547<pre>public <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> toString()</pre> 548<dl> 549<dt><strong>Overrides:</strong></dt> 550<dd><code><a href="../../../../org/codehaus/jackson/JsonProcessingException.html#toString()">toString</a></code> in class <code><a href="../../../../org/codehaus/jackson/JsonProcessingException.html" title="class in org.codehaus.jackson">JsonProcessingException</a></code></dd> 551</dl> 552</li> 553</ul> 554<a name="_appendPathDesc(java.lang.StringBuilder)"> 555<!-- --> 556</a> 557<ul class="blockListLast"> 558<li class="blockList"> 559<h4>_appendPathDesc</h4> 560<pre>protected void _appendPathDesc(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/StringBuilder.html?is-external=true" title="class or interface in java.lang">StringBuilder</a> sb)</pre> 561</li> 562</ul> 563</li> 564</ul> 565</li> 566</ul> 567</div> 568</div> 569<!-- ========= END OF CLASS DATA ========= --> 570<!-- ======= START OF BOTTOM NAVBAR ====== --> 571<div class="bottomNav"><a name="navbar_bottom"> 572<!-- --> 573</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> 574<!-- --> 575</a> 576<ul class="navList" title="Navigation"> 577<li><a href="../../../../overview-summary.html">Overview</a></li> 578<li><a href="package-summary.html">Package</a></li> 579<li class="navBarCell1Rev">Class</li> 580<li><a href="class-use/JsonMappingException.html">Use</a></li> 581<li><a href="package-tree.html">Tree</a></li> 582<li><a href="../../../../deprecated-list.html">Deprecated</a></li> 583<li><a href="../../../../index-all.html">Index</a></li> 584<li><a href="../../../../help-doc.html">Help</a></li> 585</ul> 586</div> 587<div class="subNav"> 588<ul class="navList"> 589<li><a href="../../../../org/codehaus/jackson/map/JsonDeserializer.None.html" title="class in org.codehaus.jackson.map"><span class="strong">Prev Class</span></a></li> 590<li><a href="../../../../org/codehaus/jackson/map/JsonMappingException.Reference.html" title="class in org.codehaus.jackson.map"><span class="strong">Next Class</span></a></li> 591</ul> 592<ul class="navList"> 593<li><a href="../../../../index.html?org/codehaus/jackson/map/JsonMappingException.html" target="_top">Frames</a></li> 594<li><a href="JsonMappingException.html" target="_top">No Frames</a></li> 595</ul> 596<ul class="navList" id="allclasses_navbar_bottom"> 597<li><a href="../../../../allclasses-noframe.html">All Classes</a></li> 598</ul> 599<div> 600<script type="text/javascript"><!-- 601 allClassesLink = document.getElementById("allclasses_navbar_bottom"); 602 if(window==top) { 603 allClassesLink.style.display = "block"; 604 } 605 else { 606 allClassesLink.style.display = "none"; 607 } 608 //--> 609</script> 610</div> 611<div> 612<ul class="subNavList"> 613<li>Summary: </li> 614<li><a href="#nested_class_summary">Nested</a> | </li> 615<li><a href="#field_summary">Field</a> | </li> 616<li><a href="#constructor_summary">Constr</a> | </li> 617<li><a href="#method_summary">Method</a></li> 618</ul> 619<ul class="subNavList"> 620<li>Detail: </li> 621<li><a href="#field_detail">Field</a> | </li> 622<li><a href="#constructor_detail">Constr</a> | </li> 623<li><a href="#method_detail">Method</a></li> 624</ul> 625</div> 626<a name="skip-navbar_bottom"> 627<!-- --> 628</a></div> 629<!-- ======== END OF BOTTOM NAVBAR ======= --> 630</body> 631</html> 632