JavaTM Platform
Standard Ed. 6

javax.naming
클래스 AuthenticationNotSupportedException

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


public class AuthenticationNotSupportedException
extends NamingSecurityException

이 예외는, 요구된 인증의 특정의 후레이바가 지원되어 있지 않은 경우에 throw 됩니다. 예를 들어, 프로그램으로 강한 인증을 사용하려고 하고 있는데 단순한 인증 밖에 지원되어 있지 않은 경우에, 이 예외가 throw 됩니다. 인증의 특정의 후레이바의 ID 는, 프로바이더 및 서버에 고유합니다. SASL 를 사용해 식별되는 인증 schema등의 특정의 인증 schema, 또는 범용 인증 지시자 (simple, strong 등)를 사용해 지정됩니다.

이 예외를 특별히 프로그램으로 처리하는 경우는, NamingException 을 캐치 하기 전에 AuthenticationNotSupportedException 을 명시적으로 캐치 할 필요가 있습니다. AuthenticationNotSupportedException 를 캐치 하면(자), 거기에 따라 벌써 해결된 문맥의 환경 프로퍼티을 갱신하는 것으로, 다른 인증 후레이바를 사용해 프로그램으로 인증이 재시행됩니다.

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

도입된 버젼:
1.3
관련 항목:
직렬화 된 형식

필드의 개요
 
클래스 javax.naming. NamingException 로부터 상속된 필드
remainingName , resolvedName , resolvedObj , rootException
 
생성자 의 개요
AuthenticationNotSupportedException ()
          이름 해석 필드 및 설명이 모두 null 에 초기화된, AuthenticationNotSupportedException 의 새로운 인스턴스를 구축합니다.
AuthenticationNotSupportedException (String  explanation)
          설명을 사용해, AuthenticationNotSupportedException 의 새로운 인스턴스를 구축합니다.
 
메소드의 개요
 
클래스 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
 

생성자 의 상세

AuthenticationNotSupportedException

public AuthenticationNotSupportedException(String  explanation)
설명을 사용해, AuthenticationNotSupportedException 의 새로운 인스턴스를 구축합니다. 다른 필드의 디폴트는 모두 null 가 됩니다.

파라미터:
explanation - null 의 가능성이 있는, 이 예외에 관한 추가의 상세 정보를 포함한 캐릭터 라인
관련 항목:
Throwable.getMessage()

AuthenticationNotSupportedException

public AuthenticationNotSupportedException()
이름 해석 필드 및 설명이 모두 null 에 초기화된, AuthenticationNotSupportedException 의 새로운 인스턴스를 구축합니다.


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 도 참조해 주세요.