Top Description Fields Constructors Methods
javax.xml.registry

public Class RegistryException

extends JAXRException
Class Inheritance
Known Direct Subclasses
javax.xml.registry.SaveException, javax.xml.registry.DeleteException, javax.xml.registry.FindException
Imports
javax.xml.registry.infomodel.*

This is the common base class for all Exceptions that are detected on the registry provider side rather than the JAXR client side.
Author
Farrukh S. Najmi

Field Summary

Modifier and TypeField and Description
private Key
Inherited from javax.xml.registry.JAXRException:
cause

Constructor Summary

AccessConstructor and Description
public
RegistryException()

Constructs a JAXRException object with no reason or embedded Throwable.

public
RegistryException(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
RegistryException(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
RegistryException(Throwable
the Throwable that caused this Exception
cause
)

Constructs a JAXRException object initialized with the given Throwable object.

Method Summary

Modifier and TypeMethod and Description
public Key

Returns:

the key to the first object in error
getErrorObjectKey
()

Gets the Key to the first object that encountered an error in the registry.

public void
setErrorObjectKey(Key
the key to the first object in error
key
)

Sets the Key to the first object that encountered an error in the registry.

Inherited from javax.xml.registry.JAXRException:
getCausegetMessagegetRequestIdgetStatusinitCauseisAvailable

Field Detail

errorObjectKeyback to summary
private Key errorObjectKey

Constructor Detail

RegistryExceptionback to summary
public RegistryException()

Constructs a JAXRException object with no reason or embedded Throwable.

RegistryExceptionback to summary
public RegistryException(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

RegistryExceptionback to summary
public RegistryException(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

RegistryExceptionback to summary
public RegistryException(Throwable cause)

Constructs a JAXRException object initialized with the given Throwable object.

Parameters
cause:Throwable

the Throwable that caused this Exception

Method Detail

getErrorObjectKeyback to summary
public Key getErrorObjectKey() throws JAXRException

Gets the Key to the first object that encountered an error in the registry.

Returns:Key

the key to the first object in error

setErrorObjectKeyback to summary
public void setErrorObjectKey(Key key) throws JAXRException

Sets the Key to the first object that encountered an error in the registry.

Parameters
key:Key

the key to the first object in error