APIdia Launch Partner
Top Fields Constructors Methods
sun.print

pack-priv Class PrintJobAttributeException

extends PrintException
implements AttributeException
Class Inheritance
All Implemented Interfaces
javax.print.AttributeException
Annotations
@SuppressWarnings:serial
Imports
javax.print.AttributeException, .PrintException, javax.print.attribute.Attribute

Field Summary

Modifier and TypeField and Description
private Attribute
private Class<?>

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public Class<?>[]
getUnsupportedAttributes()

Implements javax.print.AttributeException.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.

public Attribute[]
getUnsupportedValues()

Implements javax.print.AttributeException.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.

Field Detail

attrback to summary
private Attribute attr
categoryback to summary
private Class<?> category

Constructor Detail

PrintJobAttributeExceptionback to summary
pack-priv PrintJobAttributeException(String s, Class<?> cat, Attribute attrval)

Method Detail

getUnsupportedAttributesback to summary
public Class<?>[] getUnsupportedAttributes()

Implements javax.print.AttributeException.getUnsupportedAttributes.

Doc from javax.print.AttributeException.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 interface Attribute.

getUnsupportedValuesback to summary
public Attribute[] getUnsupportedValues()

Implements javax.print.AttributeException.getUnsupportedValues.

Doc from javax.print.AttributeException.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.