JavaTM Platform
Standard Ed. 6

java.awt.print
클래스 PrinterIOException

java.lang.Object 
  상위를 확장 java.lang.Throwable 
      상위를 확장 java.lang.Exception 
          상위를 확장 java.awt.print.PrinterException 
              상위를 확장 java.awt.print.PrinterIOException
모든 구현된 인터페이스:
Serializable


public class PrinterIOException
extends PrinterException

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
 

생성자 의 상세

PrinterIOException

public PrinterIOException(IOException  exception)
지정된 IOException 의 캐릭터 라인 표현으로 새로운 PrinterIOException 를 구축합니다.

파라미터:
exception - 지정된 IOException
메소드의 상세

getIOException

public IOException  getIOException()
인쇄 작업을 중단시키는 IOException 를 돌려줍니다.  

이 메소드는 범용적인 예외 체인 기능에 선행합니다. 이 정보를 취득하기 위해서,Throwable.getCause() 메소드를 사용하는 것을 추천합니다.

반환값:
인쇄 작업을 중단시킨다 IOException
관련 항목:
IOException

getCause

public Throwable  getCause()
이 예외의 cause 메소드 (인쇄 작업을 중단시키는 IOException)를 돌려줍니다.

오버라이드(override):
클래스 Throwable 내의 getCause
반환값:
이 예외의 원인
도입된 버젼:
1.4

JavaTM Platform
Standard Ed. 6

버그의 보고와 기능의 요청
한층 더 자세한 API 레퍼런스 및 개발자 문서에 대해서는,Java SE 개발자용 문서를 참조해 주세요. 개발자전용의 상세한 해설, 개념의 개요, 용어의 정의, 버그의 회피책, 및 코드 실례가 포함되어 있습니다.

Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy 도 참조해 주세요.