Top Description Fields Constructors Methods
javax.xml.registry

public Class InvalidRequestException

extends JAXRException
Class Inheritance

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

Field Summary

Inherited from javax.xml.registry.JAXRException:
cause

Constructor Summary

AccessConstructor and Description
public
InvalidRequestException()

Constructs a JAXRException object with no reason or embedded Throwable.

public
InvalidRequestException(String
a description of what caused the exception
reason
)

Constructs a JAXRException object with the given String as the reason for the exception being thrown.

public
InvalidRequestException(String
a description of what caused the exception
reason
,
Throwable
a Throwable object that is to be embedded in this JAXRException object
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.

public
InvalidRequestException(Throwable
the Throwable that caused this Exception
cause
)

Constructs a JAXRException object initialized with the given Throwable object.

Method Summary

Inherited from javax.xml.registry.JAXRException:
getCausegetMessagegetRequestIdgetStatusinitCauseisAvailable

Constructor Detail

InvalidRequestExceptionback to summary
public InvalidRequestException()

Constructs a JAXRException object with no reason or embedded Throwable.

InvalidRequestExceptionback to summary
public InvalidRequestException(String reason)

Constructs a JAXRException object with the given String as the reason for the exception being thrown.

Parameters
reason:String

a description of what caused the exception

InvalidRequestExceptionback to summary
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.

Parameters
reason:String

a description of what caused the exception

cause:Throwable

a Throwable object that is to be embedded in this JAXRException object

InvalidRequestExceptionback to summary
public InvalidRequestException(Throwable cause)

Constructs a JAXRException object initialized with the given Throwable object.

Parameters
cause:Throwable

the Throwable that caused this Exception