|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
javax.xml.ws Class WebServiceException
java.lang.Object java.lang.Throwable java.lang.Exception java.lang.RuntimeException javax.xml.ws.WebServiceException
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- ProtocolException
public class WebServiceException
- extends RuntimeException
Extends:
Throwable > Exception > RuntimeException
Extended by:
ProtocolException
WebServiceException
类是所有 JAX-WS API 运行时异常的基本异常类。
since | JAX-WS 2.0 |
The WebServiceException
class is the base
exception class for all JAX-WS API runtime exceptions.
- Since:
- JAX-WS 2.0
- See Also:
- Serialized Form
Constructor Summary | |
---|---|
WebServiceException()
Constructs a new exception with null as its
detail message. |
|
WebServiceException(String message)
Constructs a new exception with the specified detail message. |
|
WebServiceException(String message,
Throwable cause)
Constructs a new exception with the specified detail message and cause. |
|
WebServiceException(Throwable cause)
Constructs a new WebServiceException with the specified cause and a detail message of (cause==null ? |
Method Summary |
---|
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public
WebServiceException()
构造一个新异常,它的详细消息为 null
。cause 没有初始化。
英文文档:
WebServiceException
public WebServiceException()
- Constructs a new exception with
null
as its detail message. The cause is not initialized.
public
WebServiceException(String message)
构造具有指定详细消息的新异常。cause 没有初始化。
message | 详细消息,以后可使用 getMessage 方法检索 |
WebServiceException
public WebServiceException(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
WebServiceException(String message, Throwable cause)
构造一个具有指定详细消息和 cause 的新异常。
message | 详细消息,以后可使用 getMessage 方法检索 |
cause | 保存此 cause,以便以后通过 getCause 方法检索 |
WebServiceException
public WebServiceException(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 methodcause
- The cause which is saved for the later retrieval throw by the getCause method
public
WebServiceException(Throwable cause)
构造具有指定 cause 和详细信息 (cause==null ? null :cause.toString())(它通常包含 cause 的类和详细消息)的新 WebServiceException。
cause | 保存此 cause,以便以后通过 getCause 方法检索。(允许 null 值,指示 cause 是不存在的或是未知的。) |
WebServiceException
public WebServiceException(Throwable cause)
- Constructs a new WebServiceException 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.)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Submit a bug or feature
Copyright 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.
PS : 未经我党受权你也可自由散发此文档。 如有任何错误请自行修正;若因此而造成任何损失请直接找人民主席,请勿与本人联系。谢谢!