Class TimeLimitExceededException
Class TimeLimitExceededException
public class TimeLimitExceededException
extends LimitExceededException
메서드가 지정된 시간 한계 내에 종료되지 않을 때 던져지는 예외예요. 예를 들어 사용자가 메서드가 10초를 넘지 말아야 한다고 지정했는데, 메서드가 10초 안에 완료되지 못할 때 발생할 수 있어요. NamingException에 적용되는 동기화·직렬화 문제가 그대로 여기에도 적용돼요.
TimeLimitExceededException
public TimeLimitExceededException()
TimeLimitExceededException의 새 인스턴스를 생성해요. 모든 필드는 기본값인 null로 남아요.
TimeLimitExceededException
public TimeLimitExceededException(String explanation)
제공된 인자를 사용해 TimeLimitExceededException의 새 인스턴스를 생성해요.
- Parameters: explanation - 이 예외에 대한, null일 수 있는 세부 정보
- See Also: Throwable.getMessage()