javax.xml.registry
Class SaveException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--javax.xml.registry.JAXRException
|
+--javax.xml.registry.SaveException
- All Implemented Interfaces:
- JAXRResponse, java.io.Serializable
- public class SaveException
- extends JAXRException
- See Also:
- Serialized Form
Constructor Summary |
SaveException()
Constructs a JAXRException object with no
reason or embedded Throwable. |
SaveException(java.lang.String reason)
Constructs a JAXRException object with the given
String as the reason for the exception being thrown. |
SaveException(java.lang.String reason,
java.lang.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. |
SaveException(java.lang.Throwable cause)
Constructs a JAXRException object initialized
with the given Exception object. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, printStackTrace, printStackTrace, printStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
SaveException
public SaveException()
- Constructs a
JAXRException
object with no
reason or embedded Throwable.
SaveException
public SaveException(java.lang.String reason)
- Constructs a
JAXRException
object with the given
String
as the reason for the exception being thrown.
- Parameters:
reason
- a description of what caused the exception
SaveException
public SaveException(java.lang.String reason,
java.lang.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
- a description of what caused the exceptionThrowable
- a Throwable
object that is to
be embedded in this JAXRException
object
SaveException
public SaveException(java.lang.Throwable cause)
- Constructs a
JAXRException
object initialized
with the given Exception
object.
getErrorObjectKey
public Key getErrorObjectKey()
throws JAXRException
setErrorObjectKey
public void setErrorObjectKey(Key key)
throws JAXRException