FormatterClosedException
FormatterClosedException (Formatter 닫힘 예외)
Formatter가 닫힌 뒤에 메서드가 호출됐을 때 던져지는 unchecked 예외예요.
본문
Formatter.format() 같은 메서드를 close() 이후에 호출하면 FormatterClosedException이 던져져요. Formatter는 Formatter가 Closeable과 Flushable, AutoCloseable을 구현하므로 닫힌 상태에서는 더 이상 사용할 수 없어요.
public class FormatterClosedException
extends IllegalStateException
이 클래스의 메서드나 생성자에 null 인자를 넘기면 명시되지 않은 경우 NullPointerException이 던져져요. 코드와 시그니처는 원문 그대로 보존돼요.