javax.print
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.
Modifier and Type | Field and Description |
---|---|
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).
|
Modifier and Type | Method and Description |
---|---|
int |
getReason()
Returns the reason for this exception as
predefined constants in this interface.
|
URI |
getUnsupportedURI()
Returns the unsupported
URI which caused this exception. |
static final int URIInaccessible
URI
is not accessible.static final int URIOtherProblem
static final int URISchemeNotSupported
int getReason()
URI getUnsupportedURI()
URI
which caused this exception.URI
.