...
- invalid user input (including command-line arguments and environment variables)
- file errors (for example, errors opening, reading, or writing files)
- network errors (including network protocol errors)
out-of-memory conditions (when the Java Virtual Machine \ [JVM\] cannot allocate space for a new object and the garbage collector cannot make sufficient space available)Wiki Markup - system resource exhaustion (for example, out-of-file descriptors, processes, threads)
- system call errors (for example, errors executing files, locking or unlocking mutexes)
- invalid permissions (for example, file, memory, user)
...
This guideline is based on MSC11-C. Incorporate diagnostic tests using assertions and MSC11-CPP. Incorporate diagnostic tests using assertions.
Bibliography
...
[ [JLS 2011AA. References#JLS 11]] | Section 14.10 The |