This documentation differs from the official API. Jadeite adds extra features to the API including: variable font sizes, constructions examples, placeholders for classes and methods, and auto-generated “See Also” links. Additionally it is missing some items found in standard Javadoc documentation, including: generics type information, “Deprecated” tags and comments, “See Also” links, along with other minor differences. Please send any questions or feedback to bam@cs.cmu.edu.


javax.print
interface URIException


public interface URIException

Interface URIException is a mixin interface which a subclass of {@link PrintException PrintException} can implement to report an error condition involving a URI address. The Print Service API does not define any print exception classes that implement interface URIException, that being left to the Print Service implementor's discretion.


Field Summary
static int URIInaccessible
          Indicates that the printer cannot access the URI address.
static int URIOtherProblem
          Indicates any kind of problem not specifically identified by the other reasons.
static int URISchemeNotSupported
          Indicates that the printer does not support the URI scheme ("http", "ftp", etc.) in the URI address.
 
Method Summary
 int

          Return the reason for the event.
 URI

          Return the URI.
 

Field Detail

URIInaccessible

public static final int URIInaccessible
Indicates that the printer cannot access the URI address. For example, the printer might report this error if it goes to get the print data and cannot even establish a connection to the URI address.

URIOtherProblem

public static final int URIOtherProblem
Indicates any kind of problem not specifically identified by the other reasons.

URISchemeNotSupported

public static final int URISchemeNotSupported
Indicates that the printer does not support the URI scheme ("http", "ftp", etc.) in the URI address.
Method Detail

getReason

public int getReason()
Return the reason for the event.

Returns:
one of the predefined reasons enumerated in this interface.

getUnsupportedURI

public URI getUnsupportedURI()
Return the URI.

Returns:
the URI that is the cause of this exception.


This documentation differs from the official API. Jadeite adds extra features to the API including: variable font sizes, constructions examples, placeholders for classes and methods, and auto-generated “See Also” links. Additionally it is missing some items found in standard Javadoc documentation, including: generics type information, “Deprecated” tags and comments, “See Also” links, along with other minor differences. Please send any questions or feedback to bam@cs.cmu.edu.
This page displays the Jadeite version of the documention, which is derived from the offical documentation that contains this copyright notice:
Copyright 2008 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.
The official Sun™ documentation can be found here at http://java.sun.com/javase/6/docs/api/.