APIdia Launch Partner
Top Description Fields Constructors
java.awt.print

public Class PrinterAbortException

extends PrinterException
Class Inheritance
Imports
java.io.Serial

The PrinterAbortException class is a subclass of PrinterException and is used to indicate that a user or application has terminated the print job while it was in the process of printing.

Field Summary

Modifier and TypeField and Description
private static final long
serialVersionUID

Hides java.awt.print.PrinterException.serialVersionUID.

Use serialVersionUID from JDK 9 for interoperability.

Constructor Summary

AccessConstructor and Description
public
PrinterAbortException()

Constructs a new PrinterAbortException with no detail message.

public
PrinterAbortException(String
the message to be generated when a PrinterAbortException is thrown
msg
)

Constructs a new PrinterAbortException with the specified detail message.

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.awt.print.PrinterException.serialVersionUID.

Use serialVersionUID from JDK 9 for interoperability.

Annotations
@Serial

Constructor Detail

PrinterAbortExceptionback to summary
public PrinterAbortException()

Constructs a new PrinterAbortException with no detail message.

PrinterAbortExceptionback to summary
public PrinterAbortException(String msg)

Constructs a new PrinterAbortException with the specified detail message.

Parameters
msg:String

the message to be generated when a PrinterAbortException is thrown