JavaTM 2 Platform
Standard Ed. 5.0

java.text
Ŭ·¡½º ParseException

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

public class ParseException
extends Exception

Çؼ®Áß¿¡ ¿¹»ó¿ÜÀÇ ¿¡·¯°¡ ¹ß»ýÇÑ °ÍÀ» ³ªÅ¸³»´Â ½Ã±×³ÎÀÔ´Ï´Ù.

°ü·Ã Ç׸ñ:
Exception, Format, FieldPosition, Á÷·ÄÈ­ µÈ Çü½Ä

»ý¼ºÀÚ °³¿ä
ParseException (String  s, int errorOffset)
          ÁöÁ¤µÈ »ó¼¼ ¸Þ¼¼Áö¿Í ¿ÀÇÁ¼Â(offset)¸¦ °¡Áö´Â ParseExceptionÀ» ±¸ÃàÇÕ´Ï´Ù.
 
¸Þ¼­µå °³¿ä
 int getErrorOffset ()
          ¿¡·¯°¡ °ËÃâµÈ À§Ä¡¸¦ ¸®ÅÏÇÕ´Ï´Ù.
 
Ŭ·¡½º 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
 

»ý¼ºÀÚ »ó¼¼

ParseException

public ParseException(String  s,
                      int errorOffset)
ÁöÁ¤µÈ »ó¼¼ ¸Þ¼¼Áö¿Í ¿ÀÇÁ¼Â(offset)¸¦ °¡Áö´Â ParseExceptionÀ» ±¸ÃàÇÕ´Ï´Ù. »ó¼¼ ¸Þ¼¼Áö¶õ ÀÌ Æ¯Á¤ÀÇ ¿¹¿Ü¸¦ ±â¼úÇÏ´Â String ÀÔ´Ï´Ù.

ÆĶó¹ÌÅÍ:
s - »ó¼¼ ¸Þ¼¼Áö
errorOffset - Çؼ®Áß¿¡ ¿¡·¯°¡ °ËÃâµÈ À§Ä¡
¸Þ¼­µåÀÇ »ó¼¼

getErrorOffset

public int getErrorOffset()
¿¡·¯°¡ °ËÃâµÈ À§Ä¡¸¦ ¸®ÅÏÇÕ´Ï´Ù.


JavaTM 2 Platform
Standard Ed. 5.0

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