FileDocCategorySizeDatePackage
PrinterException.javaAPI DocExample763Thu Nov 08 00:22:44 GMT 2001com.ora.rmibook.chapter12.printer

PrinterException

public class PrinterException extends Exception

Fields Summary
private int
_numberOfPagesPrinted
private String
_humanReadableErrorDescription
Constructors Summary
public PrinterException()

        // zero arg constructor needed for serialization
    
public PrinterException(int numberOfPagesPrinted, String humanReadableErrorDescription)

        _numberOfPagesPrinted = numberOfPagesPrinted;
        _humanReadableErrorDescription = humanReadableErrorDescription;
    
Methods Summary
public java.lang.StringgetHumanReadableErrorDescription()

        return _humanReadableErrorDescription;
    
public intgetNumberOfPagesPrinted()

        return _numberOfPagesPrinted;