Wiki Markup |
---|
Some errors, such as out-of-range values, mightcan be the result of erroneous user input. Interactive programs typically handle such errors by rejecting the input and prompting the user for an acceptable value. Servers reject invalid user input by indicating an error to the client while at the same continuing to respond to other clients. All robust programs must be prepared to gracefully handle resource exhaustion such as low memory or disk space conditions, at a minimum by preventing the loss of user data kept in volatile storage. Interactive programs may give the user the option to save data on an alternate medium, while network servers may respond by reducing throughput or otherwise degrading the quality of service. However, when certain kinds of errors are detected, such as irrecoverable logic errors, rather than risk data corruption by continuing to execute in an indeterminate state, the appropriate strategy may be for the system to quickly shut down, allowing the operator to start it afresh in a determinate state. \[[ISO/IEC PDTR 24772|AA. Bibliography#ISO/IEC PDTR 24772]\] Section 6.47, "REU Termination strategy," says: |
...
In contrast with C and C++, Java does not flush unwritten buffered data or close open files when it exits, so programs must do perform this manually. Programs must also do perform any other cleanup that involves external resources, such as releasing shared locks.
...
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="a6f2d74ce1def765-8d249b63-42424b00-9e639dd3-a286c5277c3ba224cc83ddbd"><ac:plain-text-body><![CDATA[ | [[MITRE 07 | AA. Bibliography#MITRE 07]] | [CWE ID 705 | http://cwe.mitre.org/data/definitions/705.html], "Incorrect Control Flow Scoping" | ]]></ac:plain-text-body></ac:structured-macro> |
...
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="3cb0f97bc805fe05-1f214e45-4aa14430-a5c09f69-e7e47f747712dde2a76abaa4"><ac:plain-text-body><![CDATA[ | [[ISO/IEC PDTR 24772 | AA. Bibliography#ISO/IEC PDTR 24772]] | "REU Termination strategy" | ]]></ac:plain-text-body></ac:structured-macro> |
...