com.centrasite.jaxr.exceptions
Class ImportValidationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
javax.xml.registry.JAXRException
com.centrasite.jaxr.exceptions.ImportValidationException
- All Implemented Interfaces:
- java.io.Serializable, javax.xml.registry.JAXRResponse
- Direct Known Subclasses:
- CannotReplaceException, ConflictingLifecycleStageException, ConflictingStateException, DanglingReferenceException, InvalidReferenceException
public abstract class ImportValidationException
- extends javax.xml.registry.JAXRException
Exception used for reporting import validation problems. All exceptions
returned by ImportValidator.validate().getExceptions() are ImportValidationExceptions.
- See Also:
- Serialized Form
Field Summary |
static java.lang.String |
rcs_id
|
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 |
Constructor Summary |
protected |
ImportValidationException(javax.xml.registry.infomodel.RegistryObject ro)
Construct a new ImportValidationException |
Method Summary |
javax.xml.registry.infomodel.RegistryObject |
getObject()
Return the object that is affected by the current problem, which is the
object from the import set that cannot be imported. |
java.lang.String |
toString()
|
Methods inherited from class javax.xml.registry.JAXRException |
getCause, getMessage, getRequestId, getStatus, initCause, isAvailable |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getStackTrace, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
rcs_id
public static final java.lang.String rcs_id
- See Also:
- Constant Field Values
ImportValidationException
protected ImportValidationException(javax.xml.registry.infomodel.RegistryObject ro)
- Construct a new ImportValidationException
- Parameters:
ro
- the object that cannot be imported
getObject
public javax.xml.registry.infomodel.RegistryObject getObject()
- Return the object that is affected by the current problem, which is the
object from the import set that cannot be imported.
- Returns:
- the object that is affected by this conflict
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Throwable