Package de.xima.fc.workflow.itemlist
Class InvalidJsonValueException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- de.xima.fc.workflow.itemlist.InvalidJsonValueException
-
- All Implemented Interfaces:
Serializable
public final class InvalidJsonValueException extends Exception
Thrown byFcForEachLoopItemListJson.evaluate()
when the value is not a valid string representation of a JSON value as defined by theListItemSourcePropsCharacterSeparatedValues
.- Since:
- 8.2.0
- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InvalidJsonValueException(String jsonString, Exception cause)
Constructs a new exception for a given invalid JSON string.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getJsonString()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
InvalidJsonValueException
public InvalidJsonValueException(String jsonString, Exception cause)
Constructs a new exception for a given invalid JSON string.- Parameters:
jsonString
- The invalid string representation of a JSON value that caused the error.cause
- Underlying exception that caused the error, usually some kind of parser exception.
-
-
Method Detail
-
getJsonString
public String getJsonString()
- Returns:
- The invalid string representation of a JSON value that caused the error.
-
-