|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
ÀÌÀü Ŭ·¡½º ´ÙÀ½ Ŭ·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
°³¿ä: NESTED | Çʵå | constructor | ¸Þ¼µå | »ó¼¼: Çʵå | »ý¼ºÀÚ | ¸Þ¼µå |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IndexOutOfBoundsException
java.lang.StringIndexOutOfBoundsException
public class StringIndexOutOfBoundsException
String
¸Þ¼µå¿¡ ÀÇÇØ ¿¹¿Ü°¡ ¹ß»ýµÇ¾î
À妽º°¡ ºÎ ¶Ç´Â ij¸¯ÅÍ ¶óÀÎÀÇ »çÀÌÁ´Ù Å« ÀÏÀ» ³ªÅ¸³À´Ï´Ù. charAt µîÀÇ ¸î°³ÀÇ ¸Þ¼µå¿¡¼´Â À妽º°¡ ij¸¯ÅÍ ¶óÀÎÀÇ »çÀÌÁî¿Í µ¿ÀÏÇÑ °æ¿ì¿¡µµ, ÀÌ ¿¹¿Ü°¡ ¹ß»ý µË´Ï´Ù.
String.charAt(int)
,
Á÷·ÄÈ µÈ Çü½Ä »ý¼ºÀÚ °³¿ä | |
---|---|
StringIndexOutOfBoundsException ()
»ó¼¼ ¸Þ¼¼Áö¸¦ ÁöÁ¤ÇÏÁö ¾Ê°í StringIndexOutOfBoundsException À»
±¸ÃàÇÕ´Ï´Ù. |
|
StringIndexOutOfBoundsException (int index)
ºÎÁ¤ÇÑ À妽º¸¦ ³ªÅ¸³»´Â Àμö¸¦ °¡Áö´Â »õ·Î¿î StringIndexOutOfBoundsException Ŭ·¡½º¸¦ »ý¼ºÇÕ´Ï´Ù. |
|
StringIndexOutOfBoundsException (String s)
ÁöÁ¤µÈ »ó¼¼ ¸Þ¼¼Áö¸¦ °¡Áö´Â StringIndexOutOfBoundsException À»
±¸ÃàÇÕ´Ï´Ù. |
¸Þ¼µå °³¿ä |
---|
Ŭ·¡½º java.lang. Throwable ·ÎºÎÅÍ »ó¼ÓµÈ ¸Þ¼µå |
---|
fillInStackTrace,
getCause,
getLocalizedMessage,
getMessage,
getStackTrace,
initCause,
printStackTrace,
printStackTrace,
printStackTrace,
setStackTrace,
toString |
Ŭ·¡½º java.lang. Object ·ÎºÎÅÍ »ó¼ÓµÈ ¸Þ¼µå |
---|
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
»ý¼ºÀÚ »ó¼¼ |
---|
public StringIndexOutOfBoundsException()
StringIndexOutOfBoundsException
À»
±¸ÃàÇÕ´Ï´Ù.
public StringIndexOutOfBoundsException(String s)
StringIndexOutOfBoundsException
À»
±¸ÃàÇÕ´Ï´Ù.
s
- »ó¼¼ ¸Þ¼¼Áöpublic StringIndexOutOfBoundsException(int index)
StringIndexOutOfBoundsException
Ŭ·¡½º¸¦ »ý¼ºÇÕ´Ï´Ù.
index
- ºÎÁ¤ÇÑ À妽º
|
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 µµ ÂüÁ¶ÇϽʽÿÀ.