|
JavaTM 2 Platform Std. Ed. v1. 4.0 |
||||||||||
| ÀüÀÇ Å¬·¡½º ´ÙÀ½ÀÇ Å¬·¡½º | ÇÁ·¹ÀÓ ÀÖ¾î ÇÁ·¹ÀÓ ¾øÀ½ | ||||||||||
| °³¿ä: »óÀÚ | Çʵå | constructor | ¸Þ¼Òµå | »ó¼¼: Çʵå | constructor | ¸Þ¼Òµå | ||||||||||
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--java.awt.print.PrinterException
|
+--java.awt.print.PrinterIOException
PrinterIOException Ŭ·¡½º´Â PrinterException ÀÇ ¼ºê Ŭ·¡½º¿¡¼, ÀμâÁß¿¡ ÇϵîÀÇ IO ¿¡·¯°¡ ¹ß»ýÇÑ °ÍÀ» ³ªÅ¸³»±â À§Çؼ(¶§¹®¿¡) »ç¿ëµË´Ï´Ù.
1.4 ¸±¸®½º¿¡¼´Â ÀÌ ¿¹¿Ü´Â ¹ü¿ëÀûÀÎ ¿¹¿Ü üÀÎ ±â±¸¿¡ ÀûÇÕÇϵµ·Ï(µíÀÌ) °³·®µÇ°í ÀÖ½À´Ï´Ù. ±¸Ãà½Ã¿¡ Á¦°øµÇ¾îgetIOException() ¸¦ °³ÀÔ½ÃÄÑ ¾×¼¼½º µÇ´Â ¡¸Àμâ ÀÛ¾÷À» ÁߴܽÃŰ´Â IOException¡¹´Â ÇöÀç ¡¸cause¡¹¸Þ¼Òµå·Î¼ ¾Ë·ÁÁ® ÀÖ½À´Ï´Ù. ¶Ç, À̰ÍÀº Àü¼úÇÑ ¡¸Á¾·¡ÀÇ ¸Þ¼Òµå¡¹¶ó°í¿Í °°ÀÌ Throwable.getCause() ¸¦ °³ÀÔ½ÃÄÑ ¾×¼¼½º ÇÒ ¼ö ÀÖ½À´Ï´Ù.
| »ý¼ºÀÚÀÇ °³¿ä | |
PrinterIOException (IOException exception)
ÁöÁ¤µÈ IOException ÀÇ Ä³¸¯ÅÍ ¶óÀΠǥÇöÀ» °¡Áö´Â »õ·Î¿î PrinterIOException ¸¦ ±¸ÃàÇÕ´Ï´Ù. |
|
| ¸Þ¼ÒµåÀÇ °³¿ä | |
Throwable |
getCause ()
ÀÌ ¿¹¿ÜÀÇ cause ¸Þ¼Òµå (Àμâ ÀÛ¾÷À» ÁߴܽÃŰ´Â IOException)¸¦ µ¹·ÁÁÝ´Ï´Ù. |
IOException |
getIOException ()
Àμâ ÀÛ¾÷À» ÁߴܽÃŰ´Â IOException ¸¦ µ¹·ÁÁÝ´Ï´Ù.
|
| Ŭ·¡½º java.lang. Throwable ¿¡¼ »ó¼Ó¹ÞÀº ¸Þ¼Òµå |
fillInStackTrace , getLocalizedMessage , getMessage , getStackTrace , initCause , printStackTrace , printStackTrace , printStackTrace , setStackTrace , toString |
| Ŭ·¡½º java.lang. Object ¿¡¼ »ó¼Ó¹ÞÀº ¸Þ¼Òµå |
clone , equals , finalize , getClass , hashCode , notify , notifyAll , wait , wait , wait |
| »ý¼ºÀÚÀÇ »ó¼¼ |
public PrinterIOException(IOException exception)
IOException ÀÇ Ä³¸¯ÅÍ ¶óÀΠǥÇöÀ» °¡Áö´Â »õ·Î¿î PrinterIOException ¸¦ ±¸ÃàÇÕ´Ï´Ù.
exception - ÁöÁ¤µÈ IOException| ¸Þ¼ÒµåÀÇ »ó¼¼ |
public IOException getIOException()
IOException ¸¦ µ¹·ÁÁÝ´Ï´Ù.
ÀÌ ¸Þ¼Òµå´Â ¹ü¿ëÀûÀÎ ¿¹¿Ü üÀÎ ±â´É¿¡ ¼±ÇàÇÕ´Ï´Ù. ÀÌ Á¤º¸¸¦ ÃëµæÇϱâ À§Çؼ,Throwable.getCause() ¸Þ¼Òµå¸¦ »ç¿ëÇÏ´Â °ÍÀ» ÃßõÇÕ´Ï´Ù.
IOExceptionIOException public Throwable getCause()
IOException)¸¦ µ¹·ÁÁÝ´Ï´Ù.
Throwable ³»ÀÇ getCause
|
JavaTM 2 Platform Std. Ed. v1. 4.0 |
||||||||||
| ÀüÀÇ Å¬·¡½º ´ÙÀ½ÀÇ Å¬·¡½º | ÇÁ·¹ÀÓ ÀÖ¾î ÇÁ·¹ÀÓ ¾øÀ½ | ||||||||||
| °³¿ä: »óÀÚ | Çʵå | constructor | ¸Þ¼Òµå | »ó¼¼: Çʵå | constructor | ¸Þ¼Òµå | ||||||||||
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.