public class PrinterException extends Exception
PrinterException class and its subclasses are used to indicate that an exceptional condition has occurred in the print system.
| Constructor and Description |
|---|
PrinterException()
Constructs a new
PrinterException object without a detail message.
|
PrinterException(String
Constructs a new
PrinterException object with the specified detail message.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic PrinterException()
PrinterException object without a detail message.
public PrinterException(Stringmsg)
PrinterException object with the specified detail message.
msg - the message to generate when a
PrinterException is thrown