public class JsonParseException extends JsonException
Constructor and Description |
---|
JsonParseException()
Creates a new JsonParseException.
|
JsonParseException(String message)
Creates a new JsonParseException.
|
JsonParseException(String message,
int line,
int column)
Creates a new JsonParseException.
|
JsonParseException(String message,
Throwable cause)
Creates a new JsonParseException.
|
JsonParseException(String message,
Throwable cause,
int line,
int column)
Creates a new JsonParseException.
|
JsonParseException(Throwable cause)
Creates a new JsonParseException.
|
Modifier and Type | Method and Description |
---|---|
int |
getColumn()
Returns the approximate column where the parse failed.
|
int |
getLine()
Returns the approximate line where the parse failed.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public JsonParseException()
public JsonParseException(String message)
message
- Reason for the exception.public JsonParseException(String message, int line, int column)
message
- Reason for the exception.line
- The approximate line where the parse failed.column
- The approximate column where the parse failed.public JsonParseException(String message, Throwable cause)
message
- Reason for the exception.cause
- The exception causing the MongoDbException.public JsonParseException(String message, Throwable cause, int line, int column)
message
- Reason for the exception.cause
- The exception causing the MongoDbException.line
- The approximate line where the parse failed.column
- The approximate column where the parse failed.public JsonParseException(Throwable cause)
cause
- The exception causing the MongoDbException.public int getColumn()
public int getLine()
Copyright © 2011–2014 Allanbank Consulting, Inc.. All rights reserved.