채널 그룹 종료 예외
채널 그룹 종료 예외 (ShutdownChannelGroupException)
종료된 채널 그룹에서 채널을 만들거나, 종료된 그룹의 완료 핸들러를 호출하려 할 때 던져지는 unchecked 예외예요.
본문
ShutdownChannelGroupException은 종료된 채널 그룹에서 채널을 만들려 하거나, 채널 그룹이 종료되어 I/O 연산의 완료 핸들러를 호출할 수 없을 때 던져지는 unchecked exception이에요.
public class ShutdownChannelGroupException extends IllegalStateException
채널 그룹이 shutdown()이나 shutdownNow()로 종료된 뒤에는 새 채널을 만들 수 없고, 진행 중이던 연산의 완료 처리도 어려워질 수 있습니다. IllegalStateException을 상속하므로 RuntimeException 계열이에요.