|
Préférences
Moteurs de recherche
|
||||||||||||||
JavaTM 2 Platform Std. Ed. v1.5.0
java.awt.print
|
Constructor Summary | |
---|---|
PrinterIOException(IOException exception)
Constructs a new PrinterIOException
with the string representation of the specified
IOException . |
Method Summary | |
---|---|
Throwable |
getCause()
Returns the the cause of this exception (the IOException
that terminated the print job). |
IOException |
getIOException()
Returns the IOException that terminated
the print job. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PrinterIOException(IOException exception)
PrinterIOException
with the string representation of the specified
IOException
.
exception
- the specified IOException
Method Detail |
---|
public IOException getIOException()
IOException
that terminated
the print job.
This method predates the general-purpose exception chaining facility.
The Throwable.getCause()
method is now the preferred means of
obtaining this information.
IOException
that terminated
the print job.IOException
public Throwable getCause()
IOException
that terminated the print job).