javax.print

Class PrintException

public class PrintException extends Exception

PrintException is used to report exceptions during the usage of a print service implementation.

This base class only provides the possibility to report a message as exception. A concrete print service implementation may provide specialised subclasses implementing one or more of the following exception interfaces:

Constructor Summary
PrintException()
Construct a print exception.
PrintException(Exception e)
Construct a print exception.
PrintException(String s)
Construct a print exception.
PrintException(String s, Exception e)
Construct a print exception.

Constructor Detail

PrintException

public PrintException()
Construct a print exception.

PrintException

public PrintException(Exception e)
Construct a print exception.

Parameters: e chained exception

PrintException

public PrintException(String s)
Construct a print exception.

Parameters: s detailed message, or null for no message

PrintException

public PrintException(String s, Exception e)
Construct a print exception.

Parameters: s detailed message, or null for no message e chained exception