javax.print
Class PrintException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by javax.print.PrintException
All Implemented Interfaces:
Serializable

public class PrintException
extends Exception

PrintException is used to report exceptions during the usage of a print service implementation.

This base class only provides the possibility to report a message as exception. A concrete print service implementation may provide specialised subclasses implementing one or more of the following exception interfaces:

See Also:
Serialized Form

Constructor Summary
PrintException()
          Construct a print exception.
PrintException(Exception e)
          Construct a print exception.
PrintException(String s)
          Construct a print exception.
PrintException(String s, Exception e)
          Construct a print exception.
 
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
 

Constructor Detail

PrintException

public PrintException()
Construct a print exception.


PrintException

public PrintException(Exception e)
Construct a print exception.

Parameters:
e - chained exception

PrintException

public PrintException(String s)
Construct a print exception.

Parameters:
s - detailed message, or null for no message

PrintException

public PrintException(String s,
                      Exception e)
Construct a print exception.

Parameters:
s - detailed message, or null for no message
e - chained exception