public interface URIException
接口
URIException
是一个混合接口,
PrintException
的子类可以实现它来报告涉及
URI
地址的错误条件。打印服务API没有定义任何实现接口
URIException
的打印异常类,这取决于打印服务实现者的自行决定。
-
Field Summary 
Fields
static final int
static final int
static final int
表示打印机不支持URI
地址中的URI
方案("http","ftp"等)。
-
Method Summary 
-
Field Details 
-
URIInaccessible 
static final int URIInaccessible
表示打印机无法访问URI
地址。例如,如果打印机尝试获取打印数据并且甚至无法建立到URI
地址的连接,则可能会报告此错误。
-
参见:
-
-
URISchemeNotSupported 
static final int URISchemeNotSupported
表示打印机不支持URI
地址中的URI
方案("http","ftp"等)。
-
参见:
-
-
URIOtherProblem 
static final int URIOtherProblem
表示其他未被其他原因明确定义的任何问题。
-
参见:
-
-
Method Details 
-
getUnsupportedURI 
返回URI
。
-
返回:
-
导致此异常的
URI
-
getReason 
int getReason()
返回此异常的原因。
-
返回:
-
此接口中枚举的预定义原因之一