JAXRPCException (Java EE 5)

Java EE API


javax.xml.rpc Class JAXRPCException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by javax.xml.rpc.JAXRPCException
All Implemented Interfaces:
Serializable

public class JAXRPCException
extends RuntimeException

Extends: Throwable > Exception > RuntimeException

javax.xml.rpc.JAXRPCException 是从核心 JAX-RPC API 中抛出的,指示与 JAX-RPC 运行时机制有关的异常。
英文文档:

The javax.xml.rpc.JAXRPCException is thrown from the core JAX-RPC APIs to indicate an exception related to the JAX-RPC runtime mechanisms.

Version:
1.0
Author:
Rahul Sharma
See Also:
Serialized Form

Constructor Summary
 
Method Summary
 Throwable
 
Methods inherited from class java.lang.Throwable
 
Methods inherited from class java.lang.Object
 

Constructor Detail

public JAXRPCException()
构造一个新异常,它的详细消息为 null。cause 没有初始化。
英文文档:

JAXRPCException

public JAXRPCException()
Constructs a new exception with null as its detail message. The cause is not initialized.


public JAXRPCException(String message)
构造具有指定详细消息的新异常。cause 没有初始化。
message 详细消息,以后可使用 getMessage 方法检索
英文文档:

JAXRPCException

public JAXRPCException(String message)
Constructs a new exception with the specified detail message. The cause is not initialized.

Parameters:
message - The detail message which is later retrieved using the getMessage method


public JAXRPCException(String message, Throwable cause)
构造一个具有指定详细消息和 cause 的新异常。
message 详细消息,以后可使用 getMessage 方法检索
cause 保存此 cause,以便以后通过 getCause 方法检索
英文文档:

JAXRPCException

public JAXRPCException(String message,
                       Throwable cause)
Constructs a new exception with the specified detail message and cause.

Parameters:
message - The detail message which is later retrieved using the getMessage method
cause - The cause which is saved for the later retrieval throw by the getCause method


public JAXRPCException(Throwable cause)
构造一个新的 JAXRPCException,其指定 cause 和详细消息满足 (cause==null ? null :cause.toString())(通常包含 cause 的类和详细消息)。
cause 保存此 cause,以便以后通过 getCause 方法检索。(允许 null 值,指示 cause 是不存在的或是未知的。)
英文文档:

JAXRPCException

public JAXRPCException(Throwable cause)
Constructs a new JAXRPCException with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause).

Parameters:
cause - The cause which is saved for the later retrieval throw by the getCause method. (A null value is permitted, and indicates that the cause is nonexistent or unknown.)

Method Detail

public Throwable getLinkedCause()
获取链接的 cause。
return 此异常的 cause;如果 cause 不存在或未知,则返回 null
英文文档:

getLinkedCause

public Throwable getLinkedCause()
Gets the Linked cause

Returns:
The cause of this Exception or null if the cause is noexistent or unknown


Submit a bug or feature

Copyright 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.

一看就知道只有菜鸟才干这么无知的事啦。

PS : 未经我党受权你也可自由散发此文档。 如有任何错误请自行修正;若因此而造成任何损失请直接找人民主席,请勿与本人联系。谢谢!