Package pascal.taie.analysis.exception
Class CatchResult
java.lang.Object
pascal.taie.analysis.exception.CatchResult
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetCaughtExplicitOf
(Stmt stmt) getCaughtImplicitOf
(Stmt stmt) getCaughtOf
(Stmt stmt) getUncaughtExplicitOf
(Stmt stmt) getUncaughtImplicitOf
(Stmt stmt) getUncaughtOf
(Stmt stmt)
-
Constructor Details
-
CatchResult
public CatchResult()
-
-
Method Details
-
getCaughtImplicitOf
- Returns:
- all exception types that may be implicitly thrown by given Stmt and caught by its containing method. The result of the call is a map from Catch statements to set of exception types that are caught by the Catches.
-
getUncaughtImplicitOf
- Returns:
- the set of exception types that may be implicitly thrown by given Stmt but not caught by its containing method.
-
getCaughtExplicitOf
- Returns:
- all exception types that may be explicitly thrown by given Stmt and caught by its containing method. The result of the call is a map from Catch statements to set of exception types that are caught by the Catches.
-
getUncaughtExplicitOf
- Returns:
- the set of exception types that may be explicitly thrown by given Stmt but not caught by its containing method.
-
getCaughtOf
- Returns:
- all exception types that may be implicitly or explicitly thrown by given Stmt and caught by its containing method. The result of the call is a map from Catch statements to set of exception types that are caught by the Catches.
-
getUncaughtOf
- Returns:
- all exception types that may be implicitly or explicitly thrown by given Stmt and cannot be caught by its containing method.
-