Class OperationNotSupportedException
Class OperationNotSupportedException
public class OperationNotSupportedException
extends NamingException
컨텍스트 구현이 호출된 연산을 지원하지 않을 때 던져지는 예외예요. 예를 들어 서버가 Context.bind() 메서드를 지원하지 않는다면, 그 서버에서 bind() 메서드를 호출했을 때 OperationNotSupportedException을 던져요. NamingException에 적용되는 동기화·직렬화 문제가 그대로 여기에도 적용돼요.
OperationNotSupportedException
public OperationNotSupportedException()
OperationNotSupportedException의 새 인스턴스를 생성해요. 모든 필드는 기본값인 null로 남아요.
OperationNotSupportedException
public OperationNotSupportedException(String explanation)
설명(explanation)을 사용해 OperationNotSupportedException의 새 인스턴스를 생성해요. 다른 모든 필드는 기본값인 null로 남아요.
- Parameters: explanation - 이 예외에 대한, null일 수 있는 추가 세부 정보
- See Also: Throwable.getMessage()