JavaTM 2 Platform
Standard Ed. 5.0

javax.naming
Ŭ·¡½º NotContextException

java.lang.Object 
  »óÀ§¸¦ È®Àå java.lang.Throwable 
      »óÀ§¸¦ È®Àå java.lang.Exception 
          »óÀ§¸¦ È®Àå javax.naming.NamingException 
              »óÀ§¸¦ È®Àå javax.naming.NotContextException
¸ðµç ±¸ÇöµÈ ÀÎÅÍÆäÀ̽º:
Serializable

public class NotContextException
extends NamingException

³×ÀÌ¹Ö Á¶ÀÛÀ» °è¼ÓÇϱâ À§Çؼ­ ÄÁÅؽºÆ®ÀÌ ÇÊ¿äÇÑ ÁöÁ¡¿¡¼­ ÇØ°áµÈ °´Ã¼°¡ ÄÁÅؽºÆ®ÀÌ ¾Æ´Ñ °æ¿ì¿¡ ÀÌ ¿¹¿Ü´Â ¹ß»ý µË´Ï´Ù. ¿¹¸¦ µé¾î Context.destroy()¿¡¼­´Â ÁöÁ¤ÇÑ °´Ã¼°¡ ÄÁÅؽºÆ® ÀÏ ÇÊ¿ä°¡ ÀÖ½À´Ï´Ù. ÄÁÅؽºÆ®ÀÌ ¾Æ´Ñ °æ¿ì, NotContextException°¡ ¹ß»ý µË´Ï´Ù. ´Ù¸¥ ¿¹·Î¼­ Context ¸Þ¼­µåÀÇ ÇØ°áÁß¿¡ ¹ß»ýÇÑ ºñÄÁÅؽºÆ®ÀÌ ÀÖ½À´Ï´Ù.

¶Ç, ÀÌ ¿¹¿Ü°¡ ¹ß»ýµÇ´Â °ÍÀº DirContext µîÀÇ, ÄÁÅؽºÆ® ÀÇ Æ¯Á¤ÀÇ ¾Æ·ùÇüÀÌ ÇÊ¿äÇÑ ¶§¿¡ ÇØ°áµÈ °´Ã¼°¡ ÄÁÅؽºÆ®À̾ ÇÊ¿äÇÑ ¾Æ·ùÇüÀÌ ¾Æ´Ñ °æ¿ìÀÔ´Ï´Ù.

NamingException¿¡ Àû¿ëµÇ´Â µ¿±â ¹× Á÷·ÄÈ­´Â ¿©±â¼­ Á÷Á¢ Àû¿ëµË´Ï´Ù.

µµÀÔµÈ ¹öÀü :
1.3
°ü·Ã Ç׸ñ:
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
 

»ý¼ºÀÚ »ó¼¼

NotContextException

public NotContextException(String  explanation)
¼³¸íÀ» »ç¿ëÇØ, NotContextException »õ·Î¿î ÄÁÅؽºÆ®¸¦ ±¸ÃàÇÕ´Ï´Ù. ´Ù¸¥ ÇʵåÀÇ µðÆúÆ®´Â ¸ðµÎ nullÀÌ µË´Ï´Ù.

ÆĶó¹ÌÅÍ:
explanation - null °¡´É¼ºÀÌ ÀÖ´Â ÀÌ ¿¹¿Ü¿¡ °üÇÑ Ãß°¡ÀÇ »ó¼¼ Á¤º¸
°ü·Ã Ç׸ñ:
Throwable.getMessage()

NotContextException

public NotContextException()
NotContextException »õ·Î¿î ÀνºÅϽº¸¦ ±¸ÃàÇÕ´Ï´Ù. ÇʵåÀÇ µðÆúÆ®´Â ¸ðµÎ nullÀÌ µË´Ï´Ù.


JavaTM 2 Platform
Standard Ed. 5.0

Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy µµ ÂüÁ¶ÇϽʽÿÀ.