-
public interface AttributeException
Interface AttributeException is a mixin interface which a subclass ofPrintException
can implement to report an error condition involving one or more printing attributes that a particular Print Service instance does not support. Either the attribute is not supported at all, or the attribute is supported but the particular specified value is not supported. The Print Service API does not define any print exception classes that implement interface AttributeException, that being left to the Print Service implementor's discretion.
-
-
Method Summary
Methods Modifier and Type Method and Description Class[]
getUnsupportedAttributes()
Returns the array of printing attribute classes for which the Print Service instance does not support the attribute at all, or null if there are no such attributes.Attribute[]
getUnsupportedValues()
Returns the array of printing attributes for which the Print Service instance supports the attribute but does not support that particular value of the attribute, or null if there are no such attribute values.
-
-
-
Method Detail
-
getUnsupportedAttributes
Class[] getUnsupportedAttributes()
Returns the array of printing attribute classes for which the Print Service instance does not support the attribute at all, or null if there are no such attributes. The objects in the returned array are classes that extend the base interfaceAttribute
.- Returns:
- unsupported attribute classes
-
getUnsupportedValues
Attribute[] getUnsupportedValues()
Returns the array of printing attributes for which the Print Service instance supports the attribute but does not support that particular value of the attribute, or null if there are no such attribute values.- Returns:
- unsupported attribute values
-
-
Document created the 11/06/2005, last modified the 04/03/2020
Source of the printed document:https://www.gaudry.be/en/java-api-rf-javax/print/AttributeException.html
The infobrol is a personal site whose content is my sole responsibility. The text is available under CreativeCommons license (BY-NC-SA). More info on the terms of use and the author.
References
These references and links indicate documents consulted during the writing of this page, or which may provide additional information, but the authors of these sources can not be held responsible for the content of this page.
The author This site is solely responsible for the way in which the various concepts, and the freedoms that are taken with the reference works, are presented here. Remember that you must cross multiple source information to reduce the risk of errors.