/**
* Test method for {@link javax.print.PrintException#PrintException(java.lang.Exception)}.
*/
public void testPrintExceptionException() {
NullPointerException npe = new NullPointerException("npe");
PrintException pe = new PrintException(npe);
assertNotNull(pe.getMessage());
assertSame(npe, pe.getCause());
pe = new PrintException((Exception)null);
assertNull(pe.getMessage());
assertNull(pe.getCause());
}