|
JavaTM Platform Standard Ed. 6 |
|||||||||
앞의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
개요: 상자 | 필드 | 생성자 | 메소드 | 상세: 필드 | 생성자 | 메소드 |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
javax.naming.NamingException
javax.naming.NotContextException
public class NotContextException
네이밍 조작을 계속하기 위해서 문맥이 필요한 지점에서, 해결된 객체가 문맥이 아닌 경우에, 이 예외는 throw 됩니다. 예를 들어, Context.destroy()에서는, 지정한 객체가 문맥일 필요가 있습니다. 문맥이 아닌 경우, NotContextException 가 throw 됩니다. 다른 예로서 Context 메소드의 해결중에 발생한 비문맥이 있습니다.
또, 이 예외가 throw 되는 것은 DirContext 등의, 문맥의 특정의 subtype이 필요한 때에, 해결된 객체가 문맥이어도 필요한 subtype이 아닌 경우입니다.
NamingException 에 적용되는 동기 및 직렬화는, 여기서 직접 적용됩니다.
Context.destroySubcontext(javax.naming.Name)
,
직렬화 된 형식 필드의 개요 |
---|
클래스 javax.naming. NamingException 로부터 상속된 필드 |
---|
remainingName , resolvedName , resolvedObj , rootException |
생성자 의 개요 | |
---|---|
NotContextException ()
NotContextException 의 새로운 인스턴스를 구축합니다. |
|
NotContextException (String explanation)
설명을 사용해, NotContextException 의 새로운 문맥을 구축합니다. |
메소드의 개요 |
---|
클래스 javax.naming. NamingException 로부터 상속된 메소드 |
---|
appendRemainingComponent , appendRemainingName , getCause , getExplanation , getRemainingName , getResolvedName , getResolvedObj , getRootCause , initCause , setRemainingName , setResolvedName , setResolvedObj , setRootCause , toString , toString |
클래스 java.lang. Throwable 로부터 상속된 메소드 |
---|
fillInStackTrace , getLocalizedMessage , getMessage , getStackTrace , printStackTrace , printStackTrace , printStackTrace , setStackTrace |
클래스 java.lang. Object 로부터 상속된 메소드 |
---|
clone , equals , finalize , getClass , hashCode , notify , notifyAll , wait , wait , wait |
생성자 의 상세 |
---|
public NotContextException(String explanation)
explanation
- null 의 가능성이 있는, 이 예외에 관한 추가의 상세 정보Throwable.getMessage()
public NotContextException()
|
JavaTM Platform Standard Ed. 6 |
|||||||||
앞의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
개요: 상자 | 필드 | 생성자 | 메소드 | 상세: 필드 | 생성자 | 메소드 |
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy 도 참조해 주세요.