Exceptions Flashcards

1
Q

A problem with asynchronous operation

A

AsyncException

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Problem with a web service operation

A

CalloutException

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Problem with a DML statement like insert or delete

A

DmlException

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Problem with email, such as delivery failure

A

EmailException

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Problem with external object records

A

ExternalObjectException

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Invalid method parameter problem

A

InvalidParameterValueException

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Uncatchable exception when a governor limit has been exceeded

A

LimitException

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Problem with JSON serialization and deserialization

A

JsonException

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Problem with lists, such as trying to access an index out of bounds

A

ListException

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Problem with math operations such as div by 0

A

MathException

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Problem related to unauthorized access to objects

A

NoAccessException

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Problem that occurs when data does not exist

A

NoDataFoundException

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Problem when trying to access a list item that is out of bounds

A

NoSuchElementException

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Problem with dereferencing a null variable

A

NullPointerException

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Problem with using SOQL query for assignment

A

QueryException

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Problem when code requires a feature that has not been enabled

A

RequiredFeatureException

17
Q

Problem with SOSL queries using search call

A

Search exception

18
Q

Problem with static methods in Crypto class

A

SecurityException

19
Q

Problem with data serialization in visualforce

A

Serialization exception

20
Q

Problem with inserting or updating sObject records

A

SObjectException

21
Q

Problem with string usage and operations

A

StringException

22
Q

Problem with type conversion of variables

A

TypeException

23
Q

Problem related to a visualforce page or controller

A

VisualforceException

24
Q

Problem with XmlStream classes, such as failure to read XML

A

XmlException