java.awt.print

Class PrinterIOException

public class PrinterIOException extends PrinterException

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

UNKNOWN: updated to 1.4

Constructor Summary
PrinterIOException(IOException mException)
Initializes a new instance with the given cause.
Method Summary
ThrowablegetCause()
Gets the cause.
IOExceptiongetIOException()
Gets the underlying IOException that caused this exception.

Constructor Detail

PrinterIOException

public PrinterIOException(IOException mException)
Initializes a new instance with the given cause.

Parameters: mException the cause

Method Detail

getCause

public Throwable getCause()
Gets the cause.

Returns: the cause

getIOException

public IOException getIOException()
Gets the underlying IOException that caused this exception. This legacy method has been replaced by {@link #getCause()}.

Returns: the cause