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:20 PDT 2013 --> 6<title>JsonParseException (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="JsonParseException (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/JsonParseException.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/JsonNode.html" title="class in org.codehaus.jackson"><span class="strong">Prev Class</span></a></li> 40<li><a href="../../../org/codehaus/jackson/JsonParser.html" title="class in org.codehaus.jackson"><span class="strong">Next Class</span></a></li> 41</ul> 42<ul class="navList"> 43<li><a href="../../../index.html?org/codehaus/jackson/JsonParseException.html" target="_top">Frames</a></li> 44<li><a href="JsonParseException.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>Nested | </li> 65<li><a href="#fields_inherited_from_class_org.codehaus.jackson.JsonProcessingException">Field</a> | </li> 66<li><a href="#constructor_summary">Constr</a> | </li> 67<li><a href="#methods_inherited_from_class_org.codehaus.jackson.JsonProcessingException">Method</a></li> 68</ul> 69<ul class="subNavList"> 70<li>Detail: </li> 71<li>Field | </li> 72<li><a href="#constructor_detail">Constr</a> | </li> 73<li>Method</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</div> 83<h2 title="Class JsonParseException" class="title">Class JsonParseException</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.JsonParseException</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<hr> 122<br> 123<pre>public class <span class="strong">JsonParseException</span> 124extends <a href="../../../org/codehaus/jackson/JsonProcessingException.html" title="class in org.codehaus.jackson">JsonProcessingException</a></pre> 125<div class="block">Exception type for parsing problems, used when non-well-formed content 126 (content that does not conform to JSON syntax as per specification) 127 is encountered.</div> 128<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../serialized-form.html#org.codehaus.jackson.JsonParseException">Serialized Form</a></dd></dl> 129</li> 130</ul> 131</div> 132<div class="summary"> 133<ul class="blockList"> 134<li class="blockList"> 135<!-- =========== FIELD SUMMARY =========== --> 136<ul class="blockList"> 137<li class="blockList"><a name="field_summary"> 138<!-- --> 139</a> 140<h3>Field Summary</h3> 141<ul class="blockList"> 142<li class="blockList"><a name="fields_inherited_from_class_org.codehaus.jackson.JsonProcessingException"> 143<!-- --> 144</a> 145<h3>Fields inherited from class org.codehaus.jackson.<a href="../../../org/codehaus/jackson/JsonProcessingException.html" title="class in org.codehaus.jackson">JsonProcessingException</a></h3> 146<code><a href="../../../org/codehaus/jackson/JsonProcessingException.html#mLocation">mLocation</a></code></li> 147</ul> 148</li> 149</ul> 150<!-- ======== CONSTRUCTOR SUMMARY ======== --> 151<ul class="blockList"> 152<li class="blockList"><a name="constructor_summary"> 153<!-- --> 154</a> 155<h3>Constructor Summary</h3> 156<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> 157<caption><span>Constructors</span><span class="tabEnd"> </span></caption> 158<tr> 159<th class="colOne" scope="col">Constructor and Description</th> 160</tr> 161<tr class="altColor"> 162<td class="colOne"><code><strong><a href="../../../org/codehaus/jackson/JsonParseException.html#JsonParseException(java.lang.String, org.codehaus.jackson.JsonLocation)">JsonParseException</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, 163 <a href="../../../org/codehaus/jackson/JsonLocation.html" title="class in org.codehaus.jackson">JsonLocation</a> loc)</code> </td> 164</tr> 165<tr class="rowColor"> 166<td class="colOne"><code><strong><a href="../../../org/codehaus/jackson/JsonParseException.html#JsonParseException(java.lang.String, org.codehaus.jackson.JsonLocation, java.lang.Throwable)">JsonParseException</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, 167 <a href="../../../org/codehaus/jackson/JsonLocation.html" title="class in org.codehaus.jackson">JsonLocation</a> loc, 168 <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> root)</code> </td> 169</tr> 170</table> 171</li> 172</ul> 173<!-- ========== METHOD SUMMARY =========== --> 174<ul class="blockList"> 175<li class="blockList"><a name="method_summary"> 176<!-- --> 177</a> 178<h3>Method Summary</h3> 179<ul class="blockList"> 180<li class="blockList"><a name="methods_inherited_from_class_org.codehaus.jackson.JsonProcessingException"> 181<!-- --> 182</a> 183<h3>Methods inherited from class org.codehaus.jackson.<a href="../../../org/codehaus/jackson/JsonProcessingException.html" title="class in org.codehaus.jackson">JsonProcessingException</a></h3> 184<code><a href="../../../org/codehaus/jackson/JsonProcessingException.html#getLocation()">getLocation</a>, <a href="../../../org/codehaus/jackson/JsonProcessingException.html#getMessage()">getMessage</a>, <a href="../../../org/codehaus/jackson/JsonProcessingException.html#toString()">toString</a></code></li> 185</ul> 186<ul class="blockList"> 187<li class="blockList"><a name="methods_inherited_from_class_java.lang.Throwable"> 188<!-- --> 189</a> 190<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> 191<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> 192</ul> 193<ul class="blockList"> 194<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object"> 195<!-- --> 196</a> 197<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> 198<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> 199</ul> 200</li> 201</ul> 202</li> 203</ul> 204</div> 205<div class="details"> 206<ul class="blockList"> 207<li class="blockList"> 208<!-- ========= CONSTRUCTOR DETAIL ======== --> 209<ul class="blockList"> 210<li class="blockList"><a name="constructor_detail"> 211<!-- --> 212</a> 213<h3>Constructor Detail</h3> 214<a name="JsonParseException(java.lang.String, org.codehaus.jackson.JsonLocation)"> 215<!-- --> 216</a> 217<ul class="blockList"> 218<li class="blockList"> 219<h4>JsonParseException</h4> 220<pre>public JsonParseException(<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, 221 <a href="../../../org/codehaus/jackson/JsonLocation.html" title="class in org.codehaus.jackson">JsonLocation</a> loc)</pre> 222</li> 223</ul> 224<a name="JsonParseException(java.lang.String, org.codehaus.jackson.JsonLocation, java.lang.Throwable)"> 225<!-- --> 226</a> 227<ul class="blockListLast"> 228<li class="blockList"> 229<h4>JsonParseException</h4> 230<pre>public JsonParseException(<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, 231 <a href="../../../org/codehaus/jackson/JsonLocation.html" title="class in org.codehaus.jackson">JsonLocation</a> loc, 232 <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> root)</pre> 233</li> 234</ul> 235</li> 236</ul> 237</li> 238</ul> 239</div> 240</div> 241<!-- ========= END OF CLASS DATA ========= --> 242<!-- ======= START OF BOTTOM NAVBAR ====== --> 243<div class="bottomNav"><a name="navbar_bottom"> 244<!-- --> 245</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> 246<!-- --> 247</a> 248<ul class="navList" title="Navigation"> 249<li><a href="../../../overview-summary.html">Overview</a></li> 250<li><a href="package-summary.html">Package</a></li> 251<li class="navBarCell1Rev">Class</li> 252<li><a href="class-use/JsonParseException.html">Use</a></li> 253<li><a href="package-tree.html">Tree</a></li> 254<li><a href="../../../deprecated-list.html">Deprecated</a></li> 255<li><a href="../../../index-all.html">Index</a></li> 256<li><a href="../../../help-doc.html">Help</a></li> 257</ul> 258</div> 259<div class="subNav"> 260<ul class="navList"> 261<li><a href="../../../org/codehaus/jackson/JsonNode.html" title="class in org.codehaus.jackson"><span class="strong">Prev Class</span></a></li> 262<li><a href="../../../org/codehaus/jackson/JsonParser.html" title="class in org.codehaus.jackson"><span class="strong">Next Class</span></a></li> 263</ul> 264<ul class="navList"> 265<li><a href="../../../index.html?org/codehaus/jackson/JsonParseException.html" target="_top">Frames</a></li> 266<li><a href="JsonParseException.html" target="_top">No Frames</a></li> 267</ul> 268<ul class="navList" id="allclasses_navbar_bottom"> 269<li><a href="../../../allclasses-noframe.html">All Classes</a></li> 270</ul> 271<div> 272<script type="text/javascript"><!-- 273 allClassesLink = document.getElementById("allclasses_navbar_bottom"); 274 if(window==top) { 275 allClassesLink.style.display = "block"; 276 } 277 else { 278 allClassesLink.style.display = "none"; 279 } 280 //--> 281</script> 282</div> 283<div> 284<ul class="subNavList"> 285<li>Summary: </li> 286<li>Nested | </li> 287<li><a href="#fields_inherited_from_class_org.codehaus.jackson.JsonProcessingException">Field</a> | </li> 288<li><a href="#constructor_summary">Constr</a> | </li> 289<li><a href="#methods_inherited_from_class_org.codehaus.jackson.JsonProcessingException">Method</a></li> 290</ul> 291<ul class="subNavList"> 292<li>Detail: </li> 293<li>Field | </li> 294<li><a href="#constructor_detail">Constr</a> | </li> 295<li>Method</li> 296</ul> 297</div> 298<a name="skip-navbar_bottom"> 299<!-- --> 300</a></div> 301<!-- ======== END OF BOTTOM NAVBAR ======= --> 302</body> 303</html> 304