java.awt.print
Class PrinterException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.awt.print.PrinterException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
PrinterAbortException, PrinterIOException

public class PrinterException
extends Exception

This is the generic toplevel exception for printing errors. Subclasses provide more detailed descriptions of the problem.

See Also:
Serialized Form

Constructor Summary
PrinterException()
          Create a new instance with no detailed error message.
PrinterException(String message)
          Create a new instance with a descriptive error message.
 
Method Summary
 
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, wait, wait, wait
 

Constructor Detail

PrinterException

public PrinterException()
Create a new instance with no detailed error message.


PrinterException

public PrinterException(String message)
Create a new instance with a descriptive error message.

Parameters:
message - the descriptive error message