|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
ÀÌÀü Ŭ·¡½º ´ÙÀ½ Ŭ·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
°³¿ä: NESTED | Çʵå | constructor | ¸Þ¼µå | »ó¼¼: Çʵå | »ý¼ºÀÚ | ¸Þ¼µå |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.io.IOException
javax.security.sasl.SaslException
public class SaslException
ÀÌ Å¬·¡½º´Â SASL »ç¿ë½Ã¿¡ ¹ß»ýÇÑ ¿¡·¯¸¦ ³ªÅ¸³À´Ï´Ù.
»ý¼ºÀÚ °³¿ä | |
---|---|
SaslException ()
SaslException »õ·Î¿î ÀνºÅϽº¸¦ ±¸ÃàÇÕ´Ï´Ù. |
|
SaslException (String detail)
»ó¼¼ ¸Þ¼¼Áö¸¦ Æ÷ÇÔÇÑ SaslException »õ·Î¿î ÀνºÅϽº¸¦ ±¸ÃàÇÕ´Ï´Ù. |
|
SaslException (String detail,
Throwable ex)
»ó¼¼ ¸Þ¼¼Áö¿Í ·çÆ® ¿¹¿Ü¸¦ Æ÷ÇÔÇÑ SaslException »õ·Î¿î ÀνºÅϽº¸¦ ±¸ÃàÇÕ´Ï´Ù. |
¸Þ¼µå °³¿ä | |
---|---|
Throwable |
getCause ()
¿øÀÎÀÌ Á¸ÀçÇÏÁö ¾Ê´Â°¡ ºÒ¸íÇÑ °æ¿ì¿¡ ÀÌ Throwable ¶Ç´Â null
¿øÀÎÀ» ¸®ÅÏÇÕ´Ï´Ù. |
Throwable |
initCause (Throwable cause)
ÁöÁ¤µÈ °ª¿¡ ´ëÇÑ ÀÌ Throwable ¡¸¿øÀΡ¹À» ÃʱâÈÇÕ´Ï´Ù. |
String |
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 SaslException()
public SaslException(String detail)
detail
- ÀÌ ¿¹¿Ü¿¡ °üÇÑ »ó¼¼ Á¤º¸¸¦ Æ÷ÇÔÇÑ Ä³¸¯ÅÍ ¶óÀÎ. nullÀÎ °æ¿ìµµ ÀÖ´ÂThrowable.getMessage()
public SaslException(String detail, Throwable ex)
detail
- ÀÌ ¿¹¿Ü¿¡ °üÇÑ »ó¼¼ Á¤º¸¸¦ Æ÷ÇÔÇÑ Ä³¸¯ÅÍ ¶óÀÎ. nullÀÎ °æ¿ìµµ ÀÖ´Âex
- ÀÌ ¿¹¿Ü°¡ ¹ß»ýµÇ´Â ¿øÀÎÀÌ µÈ ·çÆ® ¿¹¿Ü. nullÀÎ °æ¿ìµµ ÀÖ´ÂThrowable.getMessage()
,
getCause()
¸Þ¼µåÀÇ »ó¼¼ |
---|
public Throwable getCause()
Throwable
񃬣: null
¿øÀÎÀ» ¸®ÅÏÇÕ´Ï´Ù. ¿øÀÎÀº ÀÌ Throwable¸¦ Throw ½ÃŲ Throwable ÀÔ´Ï´Ù.
ÀÌ ±¸ÇöÀº, Throwable¸¦ ¿ä±¸ÇÏ´Â ¸î°³ÀÇ »ý¼ºÀÚ
°æÀ¯·Î Á¦°øµÈ ¿øÀÎ, ¶Ç´Â Throwable.initCause(Throwable)
¸Þ¼µå¸¦ »ç¿ëÇØ ÀÛ¼º ÈÄ·Î ¼³Á¤µÈ ¿øÀÎÀ» ¸®ÅÏÇÕ´Ï´Ù. º¸Åë, ÀÌ ¸Þ¼µå¸¦ ¿À¹ö¶óÀ̵å(override) ÇÒ ÇÊ¿ä´Â ¾ø½À´Ï´Ù¸¸, ¼ºê Ŭ·¡½º´Â ÀÌ ¸Þ¼µå¸¦ ¿À¹ö¶óÀ̵å(override) ÇØ, ´Ù¸¥ ¾î¶°ÇÑ ¹æ¹ýÀ¸·Î ¼³Á¤µÈ ¿øÀÎÀ» µ¹·ÁÁÙ ¼ö°¡ ÀÖ½À´Ï´Ù. À̰ÍÀº üÀÎ µÈ ¿¹¿ÜÀÇ Throwable¿¡
ÀÇ Ãß°¡Àü¿¡ ½ÇÇàµÇ´Â ¡¸À¯»ê ¿¬¼â Throw °¡´É °´Ã¼¡¹ÀÇ °æ¿ì¿¡ ÀûÀýÇÑ µ¿ÀÛÀÔ´Ï´Ù. PrintStackTrace ¸Þ¼µåÀÇ ¾î´ÀÂÊÀ̵çÀ» ¿À¹ö¶óÀ̵å(override) ÇÒ ÇÊ¿ä´Â ¾ø½À´Ï´Ù. ÀÌ·¯ÇÑ ¸Þ¼µå´Â ¸ðµÎ getCause ¸Þ¼µå¸¦ È£ÃâÇØ, Throw °¡´É °´Ã¼ÀÇ ¿øÀÎÀ» ÆÇº°ÇÕ´Ï´Ù.
Throwable
³»ÀÇ getCause
null
public Throwable initCause(Throwable cause)
Throwable
±â¼ú: ÀÌ ¸Þ¼µå´Â 1ȸ
¸¸ È£ÃâÇÒ ¼ö ÀÖ½À´Ï´Ù
. º¸Åë, ÀÌ ¸Þ¼µå´Â »ý¼ºÀÚ
³»ºÎ·ÎºÎÅÍ È£ÃâµÇ´ÂÁö, Throw °¡´É °´Ã¼ÀÇ ÀÛ¼º ÈÄ °ð¹Ù·Î È£ÃâÇÕ´Ï´Ù. Throwable.Throwable(Throwable)
¶Ç´Â Throwable.Throwable(String, Throwable)
¸¦
»ç¿ëÇØ ÀÌ Throw °¡´É °´Ã¼¸¦ ÀÛ¼ºÇßÀ» °æ¿ì, ÀÌ ¸Þ¼µå¸¦ Çѹøµµ È£ÃâÇÒ ¼ö ¾ø½À´Ï´Ù.
Throwable
³»ÀÇ initCause
cause
- ¿øÀÎ (³ªÁß¿¡ Throwable.getCause()
¸Þ¼µå·Î ÃëµæÇϱâ À§Çؼ º¸Á¸µÈ´Ù). null °ªÀÌ Çã°¡µÇ°í ÀÖ¾î ¿øÀÎÀÌ Á¸ÀçÇÏÁö ¾Ê´Â°¡ ºÒ¸íÇÑ °ÍÀ» ³ªÅ¸³½´Ù
Throwable
ÀνºÅϽº¿¡ÀÇ ÂüÁ¶public String toString()
Throwable
³»ÀÇ toString
Throwable.getMessage()
|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
ÀÌÀü Ŭ·¡½º ´ÙÀ½ Ŭ·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
°³¿ä: NESTED | Çʵå | constructor | ¸Þ¼µå | »ó¼¼: Çʵå | »ý¼ºÀÚ | ¸Þ¼µå |
Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy µµ ÂüÁ¶ÇϽʽÿÀ.