javax.servlet.jsp
Ŭ·¡½º JspException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--javax.servlet.jsp.JspException
- ¸ðµç ½ÇÀå ÀÎÅÍÆäÀ̽º:
- java.io.Serializable
- Á÷°èÀÇ ±âÁ¸ÀÇ ¼ºê Ŭ·¡½º:
- JspTagException
- public class JspException
- extends java.lang.Exception
JSP ¿£ÁøÀ¸·Î Ãë±ÞµÇ´Â ¹ü¿ëÀûÀÎ ¿¹¿ÜÀÔ´Ï´Ù. JspException ¸¦ ijġ ÇÒ ¼ö ¾ø´Â °æ¿ì, errorpage ±â±¸°¡ ºÒ·Á °©´Ï´Ù.
- °ü·Ã Ç׸ñ:
- Á÷·ÄÈ µÈ Çü½Ä
constructor¡¡ ¡¡ ÀÇ °³¿ä |
JspException ()
JspException ¸¦ ±¸ÃàÇÕ´Ï´Ù. |
JspException (java.lang.String msg)
ÁöÁ¤µÈ ¸Þ¼¼Áö ÷ºÎÀÇ JSP ¿¹¿Ü¸¦ »õ·Ó°Ô ±¸ÃàÇÕ´Ï´Ù. |
JspException (java.lang.String message,
java.lang.Throwable rootCause)
JSP °¡ ¿¹¿Ü¸¦ ½½·Î¿ì ÇÒ Çʿ䰡 ÀÖ´Â °æ¿ì, JSP ¿¹¿Ü¸¦ »õ·Ó°Ô ±¸ÃàÇØ, Åë»óÀÇ Ã³¸®¸¦ ¹æÇØÇÑ ¡¸±Ùº» ¿øÀΡ¹ÀÇ ¿¹¿Ü¿¡ ´ëÇÑ ¸Þ¼¼Áö¸¦, ¼³¸í¿ëÀÇ ¸Þ¼¼Áö¿Í ÇÔ²² °Ý³³ÇÕ´Ï´Ù. |
JspException (java.lang.Throwable rootCause)
JSP °¡ ¿¹¿Ü¸¦ ½½·Î¿ì ÇÒ Çʿ䰡 ÀÖ´Â °æ¿ì, JSP ¿¹¿Ü¸¦ »õ·Ó°Ô ±¸ÃàÇØ, Åë»óÀÇ Ã³¸®¸¦ ¹æÇØÇÑ ¡¸±Ùº» ¿øÀΡ¹ÀÇ ¿¹¿Ü¿¡ ´ëÇÑ ¸Þ¼¼Áö¸¦ °Ý³³ÇÕ´Ï´Ù. |
¸Þ¼ÒµåÀÇ °³¿ä |
java.lang.Throwable |
getRootCause ()
ÀÌ JSP ¿¹¿ÜÀÇ ¿øÀÎÀÌ µÈ ¿¹¿Ü¸¦ µ¹·ÁÁÝ´Ï´Ù. |
Ŭ·¡½º java.lang.Throwable ·ÎºÎÅÍ °è½ÂÇÑ ¸Þ¼Òµå |
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString |
Ŭ·¡½º java.lang.Object ·ÎºÎÅÍ °è½ÂÇÑ ¸Þ¼Òµå |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
JspException
public JspException()
- JspException ¸¦ ±¸ÃàÇÕ´Ï´Ù.
JspException
public JspException(java.lang.String msg)
- ÁöÁ¤µÈ ¸Þ¼¼Áö ÷ºÎÀÇ JSP ¿¹¿Ü¸¦ »õ·Ó°Ô ±¸ÃàÇÕ´Ï´Ù. ¸Þ¼¼Áö´Â, ¼¹ö ·Î±×¿¡ ½á³»´ÂÁö, À¯Àú¿¡°Ô Ç¥½ÃÇÒ ¼ö ÀÖ½À´Ï´Ù. ¶Ç´Â, ±× ¾çÂÊ ¸ðµÎ°¡ °¡´ÉÇÕ´Ï´Ù.
- ÆÄ¶ó¹ÌÅÍ:
msg
- ¿¹¿Ü ¸Þ¼¼ÁöÀÇ ÅØ½ºÆ®¸¦ ÁöÁ¤ÇÏ´Â String
JspException
public JspException(java.lang.String message,
java.lang.Throwable rootCause)
- JSP °¡ ¿¹¿Ü¸¦ ½½·Î¿ì ÇÒ Çʿ䰡 ÀÖ´Â °æ¿ì, JSP ¿¹¿Ü¸¦ »õ·Ó°Ô ±¸ÃàÇØ, Åë»óÀÇ Ã³¸®¸¦ ¹æÇØÇÑ ¡¸±Ùº» ¿øÀΡ¹ÀÇ ¿¹¿Ü¿¡ ´ëÇÑ ¸Þ¼¼Áö¸¦, ¼³¸í¿ëÀÇ ¸Þ¼¼Áö¿Í ÇÔ²² °Ý³³ÇÕ´Ï´Ù.
- ÆÄ¶ó¹ÌÅÍ:
message
- ¿¹¿Ü ¸Þ¼¼ÁöÀÇ ÅØ½ºÆ®¸¦ °Ý³³ÇÑ String
rootCause
- ÀÌ ¼ºê ·¿ ¿¹¿ÜÀÇ ±Ùº» ¿øÀÎÀÎ, ¼ºê ·¿ÀÇ Åë»óÀÇ Ã³¸®¸¦ ¹æÇØÇÑ Throwable
¿¹¿Ü
JspException
public JspException(java.lang.Throwable rootCause)
- JSP °¡ ¿¹¿Ü¸¦ ½½·Î¿ì ÇÒ Çʿ䰡 ÀÖ´Â °æ¿ì, JSP ¿¹¿Ü¸¦ »õ·Ó°Ô ±¸ÃàÇØ, Åë»óÀÇ Ã³¸®¸¦ ¹æÇØÇÑ ¡¸±Ùº» ¿øÀΡ¹ÀÇ ¿¹¿Ü¿¡ ´ëÇÑ ¸Þ¼¼Áö¸¦ °Ý³³ÇÕ´Ï´Ù. ¿¹¿ÜÀÇ ¸Þ¼¼Áö´Â, ¿øÀÎÀÌ µÈ ¿¹¿ÜÀÇ ·ÎÄöóÀÌÁî µÈ ¸Þ¼¼Áö¿¡ ±Ù°ÅÇÕ´Ï´Ù.
ÀÌ ¸Þ¼Òµå´Â, ·ÎÄöóÀÌÁî µÈ ¿¹¿Ü ¸Þ¼¼Áö¸¦ ÃëµæÇϱâ À§Çؼ,Throwable
¿¹¿Ü·Î getLocalizedMessage
¸Þ¼Òµå¸¦ È£ÃâÇÕ´Ï´Ù. JspException
¸¦ ¼ºê Ŭ·¡½ºÈÇÒ ¶§¿¡, ÀÌ ¸Þ¼Òµå¸¦ ¿À¹ö¶óÀ̵å(override) ÇØ, ƯÁ¤ÀÇ ·ÎÄÉÀÏÀü¿ëÀÇ ¿¹¿Ü ¸Þ¼¼Áö¸¦ ÀÛ¼ºÇÒ ¼ö°¡ ÀÖ½À´Ï´Ù.
- ÆÄ¶ó¹ÌÅÍ:
rootCause
- ÀÌ JSP ¿¹¿ÜÀÇ ±Ùº» ¿øÀÎÀÎ, ¼ºê ·¿ÀÇ Åë»óÀÇ Ã³¸®¸¦ ¹æÇØÇÑ Throwable
¿¹¿Ü
getRootCause
public java.lang.Throwable getRootCause()
- ÀÌ JSP ¿¹¿ÜÀÇ ¿øÀÎÀÌ µÈ ¿¹¿Ü¸¦ µ¹·ÁÁÝ´Ï´Ù.
- ¹Ýȯ°ª:
- ÀÌ JSP ¿¹¿ÜÀÇ ¿øÀÎÀÌ µÈ
Throwable
Copyright 2002 Sun Microsystems, Inc. All rights reserved.
»ç¿ë¿¡´Â»ç¿ë Çã¶ô °è¾àÀÌ Àû¿ëµË´Ï´Ù.