AtomicMoveNotSupportedException — 파일을 원자적 파일 시스템 연산으로 이동할 수 없을 때 발생하는 예외
AtomicMoveNotSupportedException — 파일을 원자적 파일 시스템 연산으로 이동할 수 없을 때 발생하는 예외
AtomicMoveNotSupportedException은 파일을 원자적(atomic) 파일 시스템 연산으로 이동할 수 없을 때 발생하는 확인된(checked) 예외예요.
본문
public class AtomicMoveNotSupportedException extends FileSystemException
파일을 원자적 파일 시스템 연산으로 이동할 수 없을 때 발생하는 checked 예외예요. Files.move에서 ATOMIC_MOVE 옵션을 사용할 때 대상 파일 시스템이 원자적 이동을 지원하지 않으면 이 예외가 발생해요. Java 1.7부터 사용할 수 있어요.
생성자
public AtomicMoveNotSupportedException(String source, String target, String reason)
이 클래스의 인스턴스를 구성해요.
매개변수: source — 원본 파일을 식별하는 문자열, 알 수 없으면 null, target — 대상 파일을 식별하는 문자열, 알 수 없으면 null, reason — 추가 정보가 있는 이유 메시지, 없으면 null
선언된 메서드
FileSystemException에 선언된 메서드: getFile, getMessage, getOtherFile, getReason