Exceptions Flashcards
A problem with asynchronous operation
AsyncException
Problem with a web service operation
CalloutException
Problem with a DML statement like insert or delete
DmlException
Problem with email, such as delivery failure
EmailException
Problem with external object records
ExternalObjectException
Invalid method parameter problem
InvalidParameterValueException
Uncatchable exception when a governor limit has been exceeded
LimitException
Problem with JSON serialization and deserialization
JsonException
Problem with lists, such as trying to access an index out of bounds
ListException
Problem with math operations such as div by 0
MathException
Problem related to unauthorized access to objects
NoAccessException
Problem that occurs when data does not exist
NoDataFoundException
Problem when trying to access a list item that is out of bounds
NoSuchElementException
Problem with dereferencing a null variable
NullPointerException
Problem with using SOQL query for assignment
QueryException
Problem when code requires a feature that has not been enabled
RequiredFeatureException
Problem with SOSL queries using search call
Search exception
Problem with static methods in Crypto class
SecurityException
Problem with data serialization in visualforce
Serialization exception
Problem with inserting or updating sObject records
SObjectException
Problem with string usage and operations
StringException
Problem with type conversion of variables
TypeException
Problem related to a visualforce page or controller
VisualforceException
Problem with XmlStream classes, such as failure to read XML
XmlException