URIException is a mixin interface which a subclass of
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.
| Modifier and Type | Field and Description |
|---|---|
| public static final int | URIInaccessible
Indicates that the printer cannot access the |
| public static final int | URIOtherProblem
Indicates any kind of problem not specifically identified by the other reasons. |
| public static final int | URISchemeNotSupported
Indicates that the printer does not support the |
| Modifier and Type | Method and Description |
|---|---|
| public int | Returns: one of the predefined reasons enumerated in this interfaceReturns the reason of this exception. |
| public URI |
| URIInaccessible | back to summary |
|---|---|
| public static final int URIInaccessible Indicates that the printer cannot access the | |
| URIOtherProblem | back to summary |
|---|---|
| public static final int URIOtherProblem Indicates any kind of problem not specifically identified by the other reasons. | |
| URISchemeNotSupported | back to summary |
|---|---|
| public static final int URISchemeNotSupported Indicates that the printer does not support the | |
| getReason | back to summary |
|---|---|
| public int getReason() Returns the reason of this exception.
| |
| getUnsupportedURI | back to summary |
|---|---|
| public URI getUnsupportedURI() Returns the
| |