Index (Frames) | Index (No Frames) | Package | Package Tree | Tree
java.awt.print

Class PrinterIOException

java.lang.Object
|
+--java.lang.Throwable
   |
   +--java.lang.Exception
      |
      +--java.awt.print.PrinterException
         |
         +--java.awt.print.PrinterIOException


public class PrinterIOException

extends PrinterException

This exception is thrown when the print job encounters an I/O problem of some kind.

Authors:

Constructor Summary

PrinterIOException(java.io.IOException mException)

Initializes a new instance with the given cause.

Method Summary

java.lang.ThrowablegetCause()

Gets the cause.
java.io.IOExceptiongetIOException()

Gets the underlying IOException that caused this exception.

Constructor Details

PrinterIOException

public PrinterIOException(java.io.IOException mException)

Initializes a new instance with the given cause.

Parameters:


Method Details

getCause

public Throwable getCause()

Gets the cause.

Returns:


getIOException

public IOException getIOException()

Gets the underlying IOException that caused this exception. This legacy method has been replaced by #getCause().

Returns: