Java Exceptions Flashcards

1
Q

Throwable Constructors

A
  1. Throwable()
  2. Throwable(String message)
  3. Throwable(String message, Throwable cause)
  4. Throwable(String message, Throwable cause, boolean enableSuppression, boolean
    writableStackTrace)
  5. Throwable(Throwable cause)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Throwable Subclasses

A
  1. public class Error
  2. public class Exception
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Throwable implements

A

Serializable

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

Unchecked exception subclasses

A
  1. Error
  2. RuntimeException [extends Exception]
How well did you know this?
1
Not at all
2
3
4
5
Perfectly