| Exception Thrown By: | Cause | |
| Class | Method | |
| AsynchronousFileChannel | public abstract AsynchronousFileChannel truncate(long size) | If this channel was not opened for writing. |
| FileChannel | public abstract FileChannel truncate(long size) | If this channel was not opened for writing. |