JavaTM 2
Platform
Std.  Ed.  v1. 4.0

java.util.regex
Ŭ·¡½º PatternSyntaxException

java.lang.Object 
  |
  +--java.lang.Throwable 
        |
        +--java.lang.Exception 
              |
              +--java.lang.RuntimeException 
                    |
                    +--java.lang.IllegalArgumentException 
                          |
                          +--java.util.regex.PatternSyntaxException
¸ðµç ±¸Çö ÀÎÅÍÆäÀ̽º:
Serializable

public class PatternSyntaxException
extends IllegalArgumentException

Á¤±Ô Ç¥Çö ÆÐÅÏÀÇ ±¸¹® ¿¡·¯¸¦ ³ªÅ¸³»±â À§Çؼ­(¶§¹®¿¡) ½½·Î¿ì µÇ´Â ¹Ìüũ ¿¹¿ÜÀÔ´Ï´Ù.

µµÀÔµÈ ¹öÁ¯:
1.4
°ü·Ã Ç׸ñ:
Á÷·ÄÈ­ µÈ Çü½Ä

»ý¼ºÀÚÀÇ °³¿ä
PatternSyntaxException (String  desc, String  regex, int index)
          ÀÌ Å¬·¡½ºÀÇ »õ·Î¿î ÀνºÅϽº¸¦ »ý¼ºÇÕ´Ï´Ù.
 
¸Þ¼ÒµåÀÇ °³¿ä
 String getDescription ()
          ¿¡·¯ÀÇ ¼³¸íÀ» ²¨³À´Ï´Ù.
 int getIndex ()
          ¿¡·¯ À妽º¸¦ ²¨³À´Ï´Ù.
 String getMessage ()
          º¹¼öÇàÀ¸·Î ±¸¼ºµÇ´Â ij¸¯ÅÍ ¶óÀÎÀ» µ¹·ÁÁÝ´Ï´Ù.
 String getPattern ()
          ¿¡·¯°¡ ¹ß»ýÇÑ Á¤±Ô Ç¥Çö ÆÐÅÏÀ» ²¨³À´Ï´Ù.
 
Ŭ·¡½º java.lang. Throwable ¿¡¼­ »ó¼Ó¹ÞÀº ¸Þ¼Òµå
fillInStackTrace , getCause , getLocalizedMessage , getStackTrace , initCause , printStackTrace , printStackTrace , printStackTrace , setStackTrace , toString
 
Ŭ·¡½º java.lang. Object ¿¡¼­ »ó¼Ó¹ÞÀº ¸Þ¼Òµå
clone , equals , finalize , getClass , hashCode , notify , notifyAll , wait , wait , wait
 

»ý¼ºÀÚÀÇ »ó¼¼

PatternSyntaxException

public PatternSyntaxException(String  desc,
                              String  regex,
                              int index)
ÀÌ Å¬·¡½ºÀÇ »õ·Î¿î ÀνºÅϽº¸¦ »ý¼ºÇÕ´Ï´Ù.

ÆÄ¶ó¹ÌÅÍ:
desc - ¿¡·¯ÀÇ ¼³¸í
regex - ¿¡·¯°¡ ¹ß»ýÇÑ ÆÐÅÏ
index - ¿¡·¯°¡ ¹ß»ýÇÑ ÆÐÅϳ»ÀÇ À妽º (°³¼ö). À妽º°¡ ºÒ¸íÀÇ °æ¿ì´Â -1
¸Þ¼ÒµåÀÇ »ó¼¼

getIndex

public int getIndex()
¿¡·¯ À妽º¸¦ ²¨³À´Ï´Ù.

¹Ýȯ°ª:
¿¡·¯°¡ ¹ß»ýÇÑ ÆÐÅϳ»ÀÇ À妽º (°³¼ö). À妽º°¡ ºÒ¸íÀÇ °æ¿ì´Â -1

getDescription

public String  getDescription()
¿¡·¯ÀÇ ¼³¸íÀ» ²¨³À´Ï´Ù.

¹Ýȯ°ª:
¿¡·¯ÀÇ ¼³¸í

getPattern

public String  getPattern()
¿¡·¯°¡ ¹ß»ýÇÑ Á¤±Ô Ç¥Çö ÆÐÅÏÀ» ²¨³À´Ï´Ù.

¹Ýȯ°ª:
¿¡·¯°¡ ¹ß»ýÇÑ ÆÐÅÏ

getMessage

public String  getMessage()
º¹¼öÇàÀ¸·Î ±¸¼ºµÇ´Â ij¸¯ÅÍ ¶óÀÎÀ» µ¹·ÁÁÝ´Ï´Ù. ±¸¹® ¿¡·¯ÀÇ ¼³¸í°ú ±× À妽º, ¹× ¿¡·¯°¡ ¹ß»ýÇÑ Á¤±Ô Ç¥Çö ÆÐÅÏ ¿Ü¿¡, ÆÐÅϳ»ÀÇ ¿¡·¯ À妽º¸¦ ½Ã°¢ÀûÀ¸·Î Ç¥ÇöÇÑ Ä³¸¯ÅÍ ¶óÀεµ µ¹·ÁÁÝ´Ï´Ù.

¿À¹ö¶óÀ̵å(override):
Ŭ·¡½º Throwable ³»ÀÇ getMessage
¹Ýȯ°ª:
¿ÏÀüÇÑ »ó¼¼ ¸Þ¼¼Áö

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.