FileDocCategorySizeDatePackage
PrinterException.javaAPI DocExample654Thu Nov 08 00:23:46 GMT 2001com.ora.rmibook.chapter4

PrinterException

public class PrinterException extends Exception

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

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

        return _humanReadableErrorDescription;
    
public intgetNumberOfPagesPrinted()

        return _numberOfPagesPrinted;