InvalidRequestException (Java EE 5 SDK)

Java

Java EE 5 SDK

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


javax.xml.registry Class InvalidRequestException

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

public class InvalidRequestException
extends JAXRException

This exception is thrown when a JAXR client attempts to invoke an API method that is not valid for some reason.

作者:
Farrukh S. Najmi
另请参见:
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
 
构造器摘要
InvalidRequestException()
          Constructs a JAXRException object with no reason or embedded Throwable.
InvalidRequestException(String reason)
          Constructs a JAXRException object with the given String as the reason for the exception being thrown.
InvalidRequestException(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.
InvalidRequestException(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
 

构造器详细信息

InvalidRequestException

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


InvalidRequestException

public InvalidRequestException(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


InvalidRequestException

public InvalidRequestException(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


InvalidRequestException

public InvalidRequestException(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. 保留所有权利。 请遵守许可证条款。深圳电信培训中心.徐海蛟老师教学参考.