Top Description Fields Constructors
java.awt.print

public Class PrinterException

extends Exception
Class Inheritance
Known Direct Subclasses
java.awt.print.PrinterIOException, java.awt.print.PrinterAbortException
Imports
java.io.Serial

The PrinterException class and its subclasses are used to indicate that an exceptional condition has occurred in the print system.

Field Summary

Modifier and TypeField and Description
private static final long
serialVersionUID

Hides java.lang.Exception.serialVersionUID.

Use serialVersionUID from JDK 9 for interoperability.

Constructor Summary

AccessConstructor and Description
public
PrinterException()

Constructs a new PrinterException object without a detail message.

public
PrinterException(String
the message to generate when a PrinterException is thrown
msg
)

Constructs a new PrinterException object with the specified detail message.

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.lang.Exception.serialVersionUID.

Use serialVersionUID from JDK 9 for interoperability.

Annotations
@Serial

Constructor Detail

PrinterExceptionback to summary
public PrinterException()

Constructs a new PrinterException object without a detail message.

PrinterExceptionback to summary
public PrinterException(String msg)

Constructs a new PrinterException object with the specified detail message.

Parameters
msg:String

the message to generate when a PrinterException is thrown