This documentation differs from the official API.
Jadeite adds
extra features to the API including:
variable font sizes,
constructions examples,
placeholders for classes and methods, and auto-generated “See Also” links.
Additionally it
is missing some items found in standard Javadoc documentation, including:
generics type information,
“Deprecated” tags and comments,
“See Also” links,
along with other minor differences.
Please send any questions or feedback to
bam@cs.cmu.edu.
java.awt.print
exception PrinterIOException
- All Implemented Interfaces:
- Serializable
public exception PrinterIOException
extends PrinterException
The PrinterIOException
class is a subclass of
{@link 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
{@link #getIOException()} method is now known as the cause,
and may be accessed via the {@link Throwable#getCause()} method,
as well as the aforementioned "legacy method."
Constructor Summary |
Constructs a new PrinterIOException
with the string representation of the specified
java.io.IOException.
|
Method Summary |
Throwable |
Returns the the cause of this exception (the IOException
that terminated the print job).
|
IOException |
Returns the IOException that terminated
the print job.
|
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PrinterIOException
public PrinterIOException(IOException exception)
-
Constructs a new
PrinterIOException
with the string representation of the specified
{@link IOException}.
- Parameters:
exception
- the specified IOException
getCause
public Throwable getCause()
-
Returns the the cause of this exception (the
IOException
that terminated the print job).
- Overrides:
getCause
in class Throwable
- Returns:
- the cause of this exception.
getIOException
public IOException getIOException()
-
Returns the
IOException
that terminated
the print job.
This method predates the general-purpose exception chaining facility.
The {@link Throwable#getCause()} method is now the preferred means of
obtaining this information.
- Returns:
- the
IOException
that terminated
the print job.
This documentation differs from the official API.
Jadeite adds
extra features to the API including:
variable font sizes,
constructions examples,
placeholders for classes and methods, and auto-generated “See Also” links.
Additionally it
is missing some items found in standard Javadoc documentation, including:
generics type information,
“Deprecated” tags and comments,
“See Also” links,
along with other minor differences.
Please send any questions or feedback to
bam@cs.cmu.edu.
This page displays the
Jadeite version of the documention, which is derived from the offical documentation that contains this copyright notice:
The official Sun™ documentation can be found here at
http://java.sun.com/javase/6/docs/api/.