JavaTM 2
Platform
Std.  Ed.  v1. 4.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 , getExplanation , getRemainingName , getResolvedName , getResolvedObj , getRootCause , printStackTrace , printStackTrace , printStackTrace , setRemainingName , setResolvedName , setResolvedObj , setRootCause , toString , toString
 
Ŭ·¡½º java.lang. Throwable ¿¡¼­ »ó¼Ó¹ÞÀº ¸Þ¼Òµå
fillInStackTrace , getCause , getLocalizedMessage , getMessage , getStackTrace , initCause , 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
Std.  Ed.  v1. 4.0

¹ö±×ÀÇ º¸°í¿Í ±â´ÉÀÇ ¸®Äù½ºÆ®
ÀÌ¿ÜÀÇ API ·¹ÆÛ·±½º ¹× °³¹ßÀÚ¿ë ¹®¼­¿¡ ´ëÇØ¼­´Â Java 2 SDK SE °³¹ßÀÚ¿ë ¹®¼­¸¦ ÂüÁ¶ÇØ ÁÖ¼¼¿ä. °³¹ßÀÚÀü¿ëÀÇ »ó¼¼ÇÑ ÇØ¼³, °³³äÀÇ °³¿ä, ¿ë¾îÀÇ Á¤ÀÇ, ¹ö±×ÀÇ È¸ÇÇÃ¥, ¹× ÄÚµå ½Ç·Ê°¡ Æ÷ÇԵǾî ÀÖ½À´Ï´Ù.

Java, Java 2 D, ¹× JDBC ´Â ¹Ì±¹ ¹× ±× ¿ÜÀÇ ³ª¶ó¿¡ À־ÀÇ ¹Ì±¹ Sun Microsystems, Inc. ÀÇ »óÇ¥ ȤÀº µî·Ï»óÇ¥ÀÔ´Ï´Ù.
Copyright 1993-2002 Sun Microsystems, Inc. 901 San Antonio Road
Palo Alto, California, 94303, U.S.A. All Rights Reserved.