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, toStringpublic 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.