UnsupportedCapabilityException (Java EE 5 SDK)

Java

Java EE 5 SDK

深圳电信培训中心.徐海蛟老师.


javax.xml.registry Class UnsupportedCapabilityException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by javax.xml.registry.JAXRException
              extended by javax.xml.registry.UnsupportedCapabilityException
所有已实现的接口:
Serializable, JAXRResponse

public class UnsupportedCapabilityException
extends JAXRException

This exception must be thrown when a JAXR client attempts to invoke an API method that is not supported by the capability profile that is supported by the JAXR provider.

作者:
Farrukh S. Najmi
另请参见:
RegistryService, Serialized Form

字段摘要
 
Fields inherited from class javax.xml.registry.JAXRException
cause
 
Fields inherited from interface javax.xml.registry.JAXRResponse
STATUS_FAILURE, STATUS_SUCCESS, STATUS_UNAVAILABLE, STATUS_WARNING
 
构造器摘要
UnsupportedCapabilityException()
          Constructs a JAXRException object with no reason or embedded Throwable.
UnsupportedCapabilityException(String reason)
          Constructs a JAXRException object with the given String as the reason for the exception being thrown.
UnsupportedCapabilityException(String reason, Throwable cause)
          Constructs a JAXRException object with the given String as the reason for the exception being thrown and the given Throwable object as an embedded Throwable.
UnsupportedCapabilityException(Throwable cause)
          Constructs a JAXRException object initialized with the given Throwable object.
 
方法摘要
 
类方法继承 javax.xml.registry.JAXRException
getCause, getMessage, getRequestId, getStatus, initCause, isAvailable
 
类方法继承 java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getStackTrace, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
类方法继承 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

构造器详细信息

UnsupportedCapabilityException

public UnsupportedCapabilityException()
Constructs a JAXRException object with no reason or embedded Throwable.


UnsupportedCapabilityException

public UnsupportedCapabilityException(String reason)
Constructs a JAXRException object with the given String as the reason for the exception being thrown.

参数:
reason - a description of what caused the exception


UnsupportedCapabilityException

public UnsupportedCapabilityException(String reason,
                                      Throwable cause)
Constructs a JAXRException object with the given String as the reason for the exception being thrown and the given Throwable object as an embedded Throwable.

参数:
reason - a description of what caused the exception
cause - a Throwable object that is to be embedded in this JAXRException object


UnsupportedCapabilityException

public UnsupportedCapabilityException(Throwable cause)
Constructs a JAXRException object initialized with the given Throwable object.

参数:
cause - the Throwable that caused this Exception


Java EE 5 SDK

深圳电信培训中心.徐海蛟老师.


提交错误或意见

版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。深圳电信培训中心.徐海蛟老师教学参考.