JavaTM Platform
Standard Ed. 6

javax.naming.directory
클래스 SchemaViolationException

java.lang.Object 
  상위를 확장 java.lang.Throwable 
      상위를 확장 java.lang.Exception 
          상위를 확장 javax.naming.NamingException 
              상위를 확장 javax.naming.directory.SchemaViolationException
모든 구현된 인터페이스:
Serializable


public class SchemaViolationException
extends NamingException

이 예외는, 메소드가 어떠한 형태로 schema에 위반했을 경우에 throw 됩니다. schema 위반의 일례는 객체의 속성을 변경하는 것으로, 이것은 객체의 schema 정의에 위반합니다. 다른 예로서는, 객체의 이름 변경, 또는 객체를 이름 공간의 일부에 이동시키는 경우를 들 수 있어 이것은 이름 공간의 schema 정의에 위반합니다.

NamingException 에 적용되는 동기 및 직렬화는, 여기서 직접 적용됩니다.

도입된 버젼:
1.3
관련 항목:
Context.bind(javax.naming.Name, java.lang.Object) , DirContext.bind(javax.naming.Name, java.lang.Object, javax.naming.directory.Attributes) , Context.rebind(javax.naming.Name, java.lang.Object) , DirContext.rebind(javax.naming.Name, java.lang.Object, javax.naming.directory.Attributes) , DirContext.createSubcontext(javax.naming.Name, javax.naming.directory.Attributes) , Context.createSubcontext(javax.naming.Name) , DirContext.modifyAttributes(javax.naming.Name, int, javax.naming.directory.Attributes) , 직렬화 된 형식

필드의 개요
 
클래스 javax.naming. NamingException 로부터 상속된 필드
remainingName , resolvedName , resolvedObj , rootException
 
생성자 의 개요
SchemaViolationException ()
          SchemaViolationException 의 새로운 인스턴스를 구축합니다.
SchemaViolationException (String  explanation)
          지정된 설명을 사용해, SchemaViolationException 의 인스턴스를 새롭게 구축합니다.
 
메소드의 개요
 
클래스 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
 

생성자 의 상세

SchemaViolationException

public SchemaViolationException()
SchemaViolationException 의 새로운 인스턴스를 구축합니다. 다른 필드는 모두 null 로 설정됩니다.


SchemaViolationException

public SchemaViolationException(String  explanation)
지정된 설명을 사용해, SchemaViolationException 의 인스턴스를 새롭게 구축합니다. 다른 필드는 모두 null 로 설정됩니다.

파라미터:
explanation - 이 예외에 관한 상세. null 도 가능
관련 항목:
Throwable.getMessage()

JavaTM Platform
Standard Ed. 6

버그의 보고와 기능의 요청
한층 더 자세한 API 레퍼런스 및 개발자 문서에 대해서는,Java SE 개발자용 문서를 참조해 주세요. 개발자전용의 상세한 해설, 개념의 개요, 용어의 정의, 버그의 회피책, 및 코드 실례가 포함되어 있습니다.

Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy 도 참조해 주세요.