java.awt.print
Class PrinterIOException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.awt.print.PrinterException
              extended by 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

Constructor Summary
PrinterIOException(IOException mException)
          Initializes a new instance with the given cause.
 
Method Summary
 Throwable getCause()
          Gets the cause.
 IOException getIOException()
          Gets the underlying IOException that caused this exception.
 
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

PrinterIOException

public PrinterIOException(IOException mException)
Initializes a new instance with the given cause.

Parameters:
mException - the cause
Method Detail

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