java.awt.print
Class PrinterIOException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.awt.print.PrinterException
java.awt.print.PrinterIOException
- All Implemented Interfaces:
- Serializable
public class PrinterIOException
- extends PrinterException
This exception is thrown when the print job encounters an I/O problem
of some kind.
- See Also:
- Serialized Form
PrinterIOException
public PrinterIOException(IOException mException)
- Initializes a new instance with the given cause.
- Parameters:
mException
- the cause
getIOException
public IOException getIOException()
- Gets the underlying
IOException
that caused this exception.
This legacy method has been replaced by getCause()
.
- Returns:
- the cause
getCause
public Throwable getCause()
- Gets the cause.
- Overrides:
getCause
in class Throwable
- Returns:
- the cause