|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
| ÀÌÀü Ŭ·¡½º ´ÙÀ½ Ŭ·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
| °³¿ä: NESTED | Çʵå | constructor | ¸Þ¼µå | »ó¼¼: Çʵå | »ý¼ºÀÚ | ¸Þ¼µå | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.awt.print.PrinterException
java.awt.print.PrinterIOException
public class PrinterIOException
PrinterIOException Ŭ·¡½º´Â PrinterException
¼ºê Ŭ·¡½º¿¡¼
ÀμâÁß¿¡ ÇϵîÀÇ IO ¿¡·¯°¡ ¹ß»ýÇÑ °ÍÀ» ³ªÅ¸³»±â À§Çؼ »ç¿ëµË´Ï´Ù.
1.4 ¸±¸®½º¿¡¼´Â ÀÌ ¿¹¿Ü´Â ¹ü¿ëÀûÀÎ ¿¹¿Ü üÀÎ µµ±¸¿¡ ÀûÇÕÇϵµ·Ï °³·®µÇ°í ÀÖ½À´Ï´Ù. ±¸Ãà½Ã¿¡ Á¦°øµÇ¾îgetIOException() ¸Þ¼µå¸¦ °³ÀÔ½ÃÄÑ ¾×¼¼½º µÇ´Â ¡¸Àμâ ÀÛ¾÷À» ÁߴܽÃŰ´Â IOException¡¹´Â ÇöÀç ¡¸cause¡¹¸Þ¼µå·Î¼ ¾Ë·ÁÁ® ÀÖ½À´Ï´Ù. ¶Ç, À̰ÍÀº Àü¼úÇÑ ¡¸Á¾·¡ÀÇ ¸Þ¼µå¡¹¶ó°í¿Í °°ÀÌ Throwable.getCause() ¸Þ¼µå¸¦ °³ÀÔ½ÃÄÑ ¾×¼¼½º ÇÒ ¼ö ÀÖ½À´Ï´Ù.
| »ý¼ºÀÚ °³¿ä | |
|---|---|
PrinterIOException (IOException exception)
ÁöÁ¤µÈ IOException
ij¸¯ÅÍ ¶óÀΠǥÇöÀ¸·Î »õ·Î¿î 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
ij¸¯ÅÍ ¶óÀΠǥÇöÀ¸·Î »õ·Î¿î PrinterIOExceptionÀ»
±¸ÃàÇÕ´Ï´Ù.
exception - ÁöÁ¤µÈ IOException| ¸Þ¼µåÀÇ »ó¼¼ |
|---|
public IOException getIOException()
IOExceptionÀ»
¸®ÅÏÇÕ´Ï´Ù.
ÀÌ ¸Þ¼µå´Â ¹ü¿ëÀûÀÎ ¿¹¿Ü üÀÎ ±â´É¿¡ ¼±ÇàÇÕ´Ï´Ù. ÀÌ Á¤º¸¸¦ ÃëµæÇϱâ À§Çؼ
Throwable.getCause() ¸Þ¼µå¸¦ »ç¿ëÇÏ´Â °ÍÀ» ÃßõÇÕ´Ï´Ù.
IOExceptionIOException public Throwable getCause()
IOException)¸¦ ¸®ÅÏÇÕ´Ï´Ù.
Throwable ³»ÀÇ getCause
|
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 µµ ÂüÁ¶ÇϽʽÿÀ.