JavaTM 2 Platform
Standard Ed. 6

java.awt.print
类 PrinterException

java.lang.Object
  继承者 java.lang.Throwable
      继承者 java.lang.Exception
          继承者 java.awt.print.PrinterException
所有已实现的接口:
Serializable
直接已知子类:
PrinterAbortException, PrinterIOException

public class PrinterException
extends Exception

PrinterException 类及其子类用于指示打印系统中发生的异常情况。

另请参见:
序列化表格

构造方法摘要
PrinterException()
          构造不带详细信息的新 PrinterException 对象。
PrinterException(String msg)
          构造带指定详细信息的新 PrinterException 对象。
 
方法摘要
 
从类 java.lang.Throwable 继承的方法
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

构造方法详细信息

PrinterException

public PrinterException()
构造不带详细信息的新 PrinterException 对象。


PrinterException

public PrinterException(String msg)
构造带指定详细信息的新 PrinterException 对象。

参数:
msg - 抛出 PrinterException 时生成的信息

JavaTM 2 Platform
Standard Ed. 6

提交错误或意见

版权所有 2008 Sun Microsystems, Inc. 保留所有权利。请遵守GNU General Public License, version 2 only