Class SimpleJSONParserException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.json.simple.parser.ParseException
-
- org.wso2.carbon.mediator.datamapper.engine.core.exceptions.SimpleJSONParserException
-
- All Implemented Interfaces:
Serializable
public class SimpleJSONParserException extends org.json.simple.parser.ParseException
This exception is thrown when engine gets an error parsing json with simple json- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SimpleJSONParserException(String message)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getMessage()
String
toString()
-
Methods inherited from class org.json.simple.parser.ParseException
getErrorType, getPosition, getUnexpectedObject, setErrorType, setPosition, setUnexpectedObject
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
-
-
-
Constructor Detail
-
SimpleJSONParserException
public SimpleJSONParserException(String message)
-
-
Method Detail
-
toString
public String toString()
- Overrides:
toString
in classorg.json.simple.parser.ParseException
-
getMessage
public String getMessage()
- Overrides:
getMessage
in classThrowable
-
-