PrinterIOException class is a subclass of
PrinterException and is used to indicate that an IO error
of some sort has occurred while printing.
As of release 1.4, this exception has been retrofitted to conform to
the general purpose exception-chaining mechanism. The
"IOException that terminated the print job"
that is provided at construction time and accessed via the
method is now known as the cause,
and may be accessed via the getIOException() method,
as well as the aforementioned "legacy method."
java.lang.Throwable.getCause()
PrinterIOException
with the string representation of the specified
java.io.IOException.
exception the specified IOExceptionIOException that terminated
the print job.
This method predates the general-purpose exception chaining facility.
The method is now the preferred means of
obtaining this information.
java.lang.Throwable.getCause()
IOException that terminated
the print job.java.io.IOException