javax.print
Interface URIException


public interface URIException

URIException specifies methods a specific subclass of PrintException may implement to provide further informations of printing errors if URI problems are involved.

There exists no PrintException class implementing this interface. Providing this extension in PrintException subclasses is left to the concrete print service implementation.


Field Summary
static int URIInaccessible
          Indicates that the provided URI is not accessible.
static int URIOtherProblem
          Indicates any other problem which is not defined by the other reason constants.
static int URISchemeNotSupported
          Indicates that the print service does not support a specific uri scheme (for example the ftp scheme).
 
Method Summary
 int getReason()
          Returns the reason for this exception as predefined constants in this interface.
 URI getUnsupportedURI()
          Returns the unsupported URI which caused this exception.
 

Field Detail

URIInaccessible

static final int URIInaccessible
Indicates that the provided URI is not accessible.

See Also:
Constant Field Values

URIOtherProblem

static final int URIOtherProblem
Indicates any other problem which is not defined by the other reason constants.

See Also:
Constant Field Values

URISchemeNotSupported

static final int URISchemeNotSupported
Indicates that the print service does not support a specific uri scheme (for example the ftp scheme).

See Also:
Constant Field Values
Method Detail

getReason

int getReason()
Returns the reason for this exception as predefined constants in this interface.

Returns:
The reason.

getUnsupportedURI

URI getUnsupportedURI()
Returns the unsupported URI which caused this exception.

Returns:
The unsupported URI.