- All Implemented Interfaces:
- Serializable
public class MetaDataException
extends RuntimeException
An exception with a JSONObject
(map) of fieldName and error value or message.
Note: Though a map it follows JSON convention; which means adding a null value will result in no key-pair. Etc.
Some errors we may want to supply more details in DATA (JSON format by default).
Example: Field level errors where we can mention the field name. Or multi-lingual where in a Map per language we specify the error if need be etc.
- Author:
- Arjun Dhar
- See Also:
PartialTransactionException
,
JSONObject
,
Serialized Form