Interface URIException
public interface URIException
Interface 
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.- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final intIndicates that the printer cannot access theURIaddress.static final intIndicates any kind of problem not specifically identified by the other reasons.static final intIndicates that the printer does not support theURIscheme ("http", "ftp", etc.) in theURIaddress.
- 
Method SummaryModifier and TypeMethodDescriptionintReturns the reason of this exception.Returns theURI.
- 
Field Details- 
URIInaccessiblestatic final int URIInaccessibleIndicates that the printer cannot access theURIaddress. For example, the printer might report this error if it goes to get the print data and cannot even establish a connection to theURIaddress.- See Also:
 
- 
URISchemeNotSupportedstatic final int URISchemeNotSupportedIndicates that the printer does not support theURIscheme ("http", "ftp", etc.) in theURIaddress.- See Also:
 
- 
URIOtherProblemstatic final int URIOtherProblemIndicates any kind of problem not specifically identified by the other reasons.- See Also:
 
 
- 
- 
Method Details- 
getUnsupportedURI
- 
getReasonint getReason()Returns the reason of this exception.- Returns:
- one of the predefined reasons enumerated in this interface
 
 
-