| public class java.awt.print PrinterIOException
|
Java SE 6 |
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
#getIOException() method is now known as the cause,
and may be accessed via the Throwable#getCause() method,
as well as the aforementioned "legacy method."
| Constructors | |||
|---|---|---|---|
| public | PrinterIOException(IOException exception) Details
Constructs a new PrinterIOException
with the string representation of the specified
IOException.
| ||
| Properties | |||||
|---|---|---|---|---|---|
| public Throwable | getCause() Details
Returns the the cause of this exception (the IOException
that terminated the print job).
| ||||
| public IOException | getIOException() Details
Returns the IOException that terminated
the print job.
This method predates the general-purpose exception chaining facility.
The
| ||||
| About DocWeb · Bundles · Export · Export All | Top 10 · Statistics · Login |
| About Sun · Contact · Privacy · Terms of Use · Trademarks | Java SE 6 · Copyright © 1994-2009 Sun Microsystems, Inc.All rights reserved. Use is subject to license terms |
![]() |
![]() |
|