Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Furthermore, any exception that prevents doSomething() from obtaining the Future value can be handled as required.

Exceptions

TPS03-EX1EX0: This rule may be violated only when the code for all runnable and callable tasks has been audited to ensure that exceptional conditions are impossible. Nonetheless, it remains good practice to install a task-specific or global exception handler to initiate recovery or log any exceptional conditions.

...

Tasklist
To-Do
To-Do
 
||Completed||Priority||Locked||CreatedDate||CompletedDate||Assignee||Name|| 

Related

...

Search for vulnerabilities resulting from the violation of this rule on the CERT website.

Related Guidelines

MITRE CWE

CWE ID 392, "Missing Report of Error Condition"

...

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="d451fd945b2b54e3-72536fe9-4065439c-a99c961d-3951bcd5f228099fd4e9f6f5"><ac:plain-text-body><![CDATA[

[[API 2006

AA. Bibliography#API 06]]

interfaces ExecutorService, ThreadFactory and class Thread

]]></ac:plain-text-body></ac:structured-macro>

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="bec2317186688726-a17be293-42c04be5-b46685c3-74aff0fe28b97b41eaa0fe98"><ac:plain-text-body><![CDATA[

[[Goetz 2006

AA. Bibliography#Goetz 06]]

Chapter 7.3: Handling abnormal thread termination

]]></ac:plain-text-body></ac:structured-macro>

...