public interface AttributeException
PrintException
涉及一个或多个打印属性,特定的打印服务实例不支持错误情况的报告。要么属性不支持所有,要么支持属性,但不支持特定的指定值。打印服务API没有定义任何打印异常类实现接口attributeexception,被留下来的打印服务实现者的自由裁量权。
Modifier and Type | Method and Description |
---|---|
类[] |
getUnsupportedAttributes()
返回打印服务实例不支持属性的打印属性类的数组,或者如果没有这样的属性,则为空。
|
Attribute[] |
getUnsupportedValues()
返回打印服务实例支持该属性的打印属性的数组,但不支持该属性的特定值,或者如果没有这样的属性值,或为空。
|
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.