|
JavaTM Platform Standard Ed. 6 |
|||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
javax.xml.crypto.URIReferenceException
public class URIReferenceException
指示取消引用 URIReference 时抛出的异常条件。
URIReferenceException 可以包含一个 cause:另一个导致抛出此 URIReferenceException 的 throwable。
URIDereferencer.dereference(URIReference, XMLCryptoContext),
RetrievalMethod.dereference(XMLCryptoContext),
序列化表格| 构造方法摘要 | |
|---|---|
URIReferenceException()
构造使用 null 作为其详细消息的新 URIReferenceException。 |
|
URIReferenceException(String message)
构造带指定详细消息的新 URIReferenceException。 |
|
URIReferenceException(String message,
Throwable cause)
构造带指定详细消息和 cause 的新 URIReferenceException。 |
|
URIReferenceException(String message,
Throwable cause,
URIReference uriReference)
构造带指定详细消息、cause 和 URIReference 的新 URIReferenceException。 |
|
URIReferenceException(Throwable cause)
构造带指定的 cause 和详细消息 (cause==null ? null :cause.toString()) 的新 URIReferenceException(它通常包含 cause 的类和详细消息)。 |
|
| 方法摘要 | |
|---|---|
Throwable |
getCause()
返回此 URIReferenceException 的 cause,如果 cause 不存在或未知,则返回 null。 |
URIReference |
getURIReference()
返回抛出异常时正被取消引用的 URIReference。 |
void |
printStackTrace()
将此 URIReferenceException、它的追踪 (backtrace) 和 cause 的追踪打印到标准错误流中。 |
void |
printStackTrace(PrintStream s)
将此 URIReferenceException、它的追踪 (backtrace) 和 cause 的追踪打印到指定的打印流。 |
void |
printStackTrace(PrintWriter s)
将此 URIReferenceException、它的追踪 (backtrace) 和 cause 的追踪打印到指定的打印编写器。 |
| 从类 java.lang.Throwable 继承的方法 |
|---|
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| 构造方法详细信息 |
|---|
public URIReferenceException()
null 作为其详细消息的新 URIReferenceException。
public URIReferenceException(String message)
URIReferenceException。
message - 详细消息
public URIReferenceException(String message,
Throwable cause)
URIReferenceException。
注意,与 cause 相关的详细消息不是自动合并到此异常的详细消息中的。
message - 详细消息cause - cause(允许为 null 值,指示 cause 不存在或未知。)
public URIReferenceException(String message,
Throwable cause,
URIReference uriReference)
URIReference 的新 URIReferenceException。
注意,与 cause 相关的详细消息不是自动合并到此异常的详细消息中的。
message - 详细消息cause - cause(允许为 null 值,指示 cause 不存在或未知。)uriReference - 遇到错误时正被取消引用的 URIReference
NullPointerException - 如果 uriReference 为 nullpublic URIReferenceException(Throwable cause)
(cause==null ? null :cause.toString()) 的新 URIReferenceException(它通常包含 cause 的类和详细消息)。
cause - cause(允许为 null 值,指示 cause 不存在或未知。)| 方法详细信息 |
|---|
public URIReference getURIReference()
URIReference。
URIReference;如果未指定 URIReference,则返回 nullpublic Throwable getCause()
URIReferenceException 的 cause,如果 cause 不存在或未知,则返回 null。(cause 是导致抛出此 URIReferenceException 的 throwable。)
Throwable 中的 getCauseURIReferenceException 的 cause,如果 cause 不存在或未知,则返回 null。public void printStackTrace()
URIReferenceException、它的追踪 (backtrace) 和 cause 的追踪打印到标准错误流中。
Throwable 中的 printStackTracepublic void printStackTrace(PrintStream s)
URIReferenceException、它的追踪 (backtrace) 和 cause 的追踪打印到指定的打印流。
Throwable 中的 printStackTraces - 用于输出的 PrintStreampublic void printStackTrace(PrintWriter s)
URIReferenceException、它的追踪 (backtrace) 和 cause 的追踪打印到指定的打印编写器。
Throwable 中的 printStackTraces - 用于输出的 PrintWriter
|
JavaTM Platform Standard Ed. 6 |
|||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。另请参阅文档重新分发政策。