ArrayIndexOutOfBoundsExceptionArrayIndexOutOfBoundsException
An array is accessed with an index that is negative or greater than or equal to the array length.
FileAlreadyExistsExceptionA file creation or move operation fails because the target file already exists.
Files.createFile(), Files.createDirectory(), or Files.move() found that the target path already exists. The operation does not overwrite by default.
Check if the file exists before creating. Use StandardCopyOption.REPLACE_EXISTING for move/copy operations. Delete the existing file first if overwriting is intended.
ArrayIndexOutOfBoundsExceptionAn array is accessed with an index that is negative or greater than or equal to the array length.
ClassNotFoundExceptionA class cannot be found on the classpath at runtime.
UnsupportedOperationExceptionAn operation is not supported by the implementation.
NoSuchFieldErrorA field is referenced at runtime but does not exist in the class.
NoClassDefFoundErrorA class was found at compile time but cannot be loaded at runtime.
RejectedExecutionExceptionA task cannot be accepted by the executor for execution.