edu.uci.ics.inf111.dvdvendor.exceptions
Class PrinterException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by edu.uci.ics.inf111.dvdvendor.exceptions.PrinterException
All Implemented Interfaces:
java.io.Serializable

public class PrinterException
extends java.lang.Exception

An exception which is thrown when the Printer device fails because the file path is not valid, the data to print is null or contain nulls, or there was an error writing on the output file.

See Also:
Serialized Form

Field Summary
private static long serialVersionUID
           
 
Constructor Summary
PrinterException()
           
PrinterException(java.lang.String message)
           
PrinterException(java.lang.String message, java.lang.Throwable cause)
           
PrinterException(java.lang.Throwable cause)
           
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values
Constructor Detail

PrinterException

public PrinterException()

PrinterException

public PrinterException(java.lang.String message)

PrinterException

public PrinterException(java.lang.String message,
                        java.lang.Throwable cause)

PrinterException

public PrinterException(java.lang.Throwable cause)