public class URIReferenceException extends 异常
URIReference
扔。
一个URIReferenceException
可以包含另一个原因:错误导致URIReferenceException
被扔。
Constructor and Description |
---|
URIReferenceException()
构建与新
URIReferenceException
null 的详细信息。
|
URIReferenceException(String message)
构建指定详细信息的一个新的
URIReferenceException 。
|
URIReferenceException(String message, Throwable cause)
构建指定详细信息和产生新的
URIReferenceException 。
|
URIReferenceException(String message, Throwable cause, URIReference uriReference)
构建指定详细信息的一个新的
URIReferenceException ,原因和
URIReference 。
|
URIReferenceException(Throwable cause)
构建与指定的原因和
(cause==null ? null : cause.toString()) 详细信息的新
URIReferenceException (通常包含
cause 类和详细信息)。
|
Modifier and Type | Method and Description |
---|---|
Throwable |
getCause()
返回该
URIReferenceException 或
null 原因如果原因是不存在的或未知的。
|
URIReference |
getURIReference()
返回
URIReference 被引用时,抛出异常。
|
void |
printStackTrace()
这
URIReferenceException 版画,其回溯和原因的回溯到标准错误流。
|
void |
printStackTrace(PrintStream s)
这
URIReferenceException 版画,其回溯和原因的回溯到指定的打印流。
|
void |
printStackTrace(PrintWriter s)
这
URIReferenceException 版画,其回溯和原因的回溯到指定打印的作家。
|
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, setStackTrace, toString
public URIReferenceException()
URIReferenceException
null
的详细信息。
public URIReferenceException(String message)
URIReferenceException
。
message
-详细信息
public URIReferenceException(String message, Throwable cause)
URIReferenceException
。
值得注意的是,与cause
的详细信息不自动纳入该异常的详细信息。
message
-详细信息
cause
的原因(一
null值是允许的,并指出原因是不存在的或未知的。)
public URIReferenceException(String message, Throwable cause, URIReference uriReference)
URIReferenceException
,原因和
URIReference
。
值得注意的是,与cause
的详细信息不自动纳入该异常的详细信息。
message
-详细信息
cause
的原因(一
null值是允许的,并指出原因是不存在的或未知的。)
uriReference
-
URIReference
被引用错误时遇到
null
uriReference
NullPointerException
public URIReferenceException(Throwable cause)
(cause==null ? null : cause.toString())
详细信息的新
URIReferenceException
(通常包含
cause
类和详细信息)。
cause
的原因(一
null值是允许的,并指出原因是不存在的或未知的。)
public URIReference getURIReference()
URIReference
被引用时,抛出异常。
URIReference
被引用时抛出异常,或
null
如果未指定
public Throwable getCause()
URIReferenceException
或
null
原因如果原因是不存在的或未知的。(原因是造成这
URIReferenceException
被扔,扔)
public void printStackTrace()
URIReferenceException
版画,其回溯和原因的回溯到标准错误流。
printStackTrace
方法重写,继承类
Throwable
public void printStackTrace(PrintStream s)
URIReferenceException
版画,其回溯和原因的回溯到指定的打印流。
printStackTrace
方法重写,继承类
Throwable
s
-
PrintStream
用于输出
public void printStackTrace(PrintWriter s)
URIReferenceException
版画,其回溯和原因的回溯到指定打印的作家。
printStackTrace
方法重写,继承类
Throwable
s
-
PrintWriter
用于输出
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.