|
Java EE 5 SDK 深圳电信培训中心.徐海蛟老师. |
||||||||
上一个类 下一个类 | 框架 无框架 | ||||||||
摘要: 嵌套 | 字段 | 构造器 | 方法 | 详细信息: 字段 | 构造器 | 方法 |
javax.xml.ws Class ProtocolException
java.lang.Object java.lang.Throwable java.lang.Exception java.lang.RuntimeException javax.xml.ws.WebServiceException javax.xml.ws.ProtocolException
- 所有已实现的接口:
- Serializable
- 直接已知子类:
- HTTPException, SOAPFaultException
public class ProtocolException
- extends WebServiceException
The ProtocolException
class is a
base class for exceptions related to a specific protocol binding. Subclasses
are used to communicate protocol level fault information to clients and may
be used on the server to control the protocol specific fault representation.
- 从以下版本开始:
- JAX-WS 2.0
- 另请参见:
- Serialized Form
构造器摘要 | |
---|---|
ProtocolException()
Constructs a new protocol exception with null as its detail message. |
|
ProtocolException(String message)
Constructs a new protocol exception with the specified detail message. |
|
ProtocolException(String message,
Throwable cause)
Constructs a new runtime exception with the specified detail message and cause. |
|
ProtocolException(Throwable cause)
Constructs a new runtime exception with the specified cause and a detail message of (cause==null ? |
方法摘要 |
---|
类方法继承 java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
类方法继承 java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
构造器详细信息 |
---|
ProtocolException
public ProtocolException()
- Constructs a new protocol exception with null as its detail message. The
cause is not initialized, and may subsequently be initialized by a call
to Throwable.initCause(java.lang.Throwable).
ProtocolException
public ProtocolException(String message)
- Constructs a new protocol exception with the specified detail message.
The cause is not initialized, and may subsequently be initialized by a
call to Throwable.initCause(java.lang.Throwable).
- 参数:
message
- the detail message. The detail message is saved for later retrieval by the Throwable.getMessage() method.
ProtocolException
public ProtocolException(String message, Throwable cause)
- Constructs a new runtime exception with the specified detail message and
cause.
Note that the detail message associated with cause is not automatically
incorporated in this runtime exception's detail message.
- 参数:
message
- the detail message (which is saved for later retrieval by the Throwable.getMessage() method).cause
- the cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
ProtocolException
public ProtocolException(Throwable cause)
- Constructs a new runtime exception with the specified cause and a detail
message of (cause==null ? null : cause.toString()) (which typically
contains the class and detail message of cause). This constructor is
useful for runtime exceptions that are little more than wrappers for
other throwables.
- 参数:
cause
- the cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
|
Java EE 5 SDK 深圳电信培训中心.徐海蛟老师. |
||||||||
上一个类 下一个类 | 框架 无框架 | ||||||||
摘要: 嵌套 | 字段 | 构造器 | 方法 | 详细信息: 字段 | 构造器 | 方法 |
提交错误或意见
版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。深圳电信培训中心.徐海蛟老师教学参考.