public class InvalidSubscriberDataImportErrorException extends OperationFailureErrorException
The XML APIs specify the following XSD fragment:
XSD Fragment
<xs:element name="invalidSubscriberDataImportFault">
<xs:complexType>
<xs:sequence>
<xs:element ref="cause" minOccurs="1" maxOccurs="1"/>
<xs:element ref="causedBy" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute name="category" type="InvalidSubscriberDataImportCategoryType" use="required"/>
<xs:attribute name="id" type="xs:string" use="optional"/>
</xs:complexType>
</xs:element>
<xs:simpleType name="InvalidSubscriberDataImportCategoryType">
<xs:restriction base="xs:string">
<xs:enumeration value="invalid"/>
<xs:enumeration value="doesNotExist"/>
</xs:restriction>
</xs:simpleType>
| Modifier and Type | Class and Description |
|---|---|
static class |
InvalidSubscriberDataImportErrorException.InvalidSubscriberDataImportCategory
This enumeration represents the categories of errors which can occur when importing
subscriber data. |
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
TAG_NAME
The name of the exception.
|
CAUSE_TAG_NAME, CAUSED_BY_TAG_NAME, MESSAGE_TAG_NAME| Constructor and Description |
|---|
InvalidSubscriberDataImportErrorException()
Builds an empty
InvalidSubscriberDataImportErrorException. |
InvalidSubscriberDataImportErrorException(InvalidSubscriberDataImportErrorException.InvalidSubscriberDataImportCategory category,
IError error)
Builds an
InvalidSubscriberDataImportErrorException with a category and an error. |
InvalidSubscriberDataImportErrorException(InvalidSubscriberDataImportErrorException.InvalidSubscriberDataImportCategory category,
java.lang.String id,
IError error)
Builds an
InvalidSubscriberDataImportErrorException with a category, an object identifier and an error. |
| Modifier and Type | Method and Description |
|---|---|
void |
addCharacterData(java.lang.String cData)
Adds character data to the content element.
|
InvalidSubscriberDataImportErrorException.InvalidSubscriberDataImportCategory |
getCategory()
Gets the
category of the exception. |
java.lang.String |
getId()
Gets the identifier of the object which cannot be imported.
|
java.lang.String |
getTagName()
Gets the XML tag name of the HCI model.
|
void |
marshalAttributes(XMLOutputter output)
Gives an XML representation of the attributes of an object.
|
void |
setAttributes(XMLAttributes atts)
Sets the attributes of the XML representation of the element being
processed.
|
void |
setCategory(InvalidSubscriberDataImportErrorException.InvalidSubscriberDataImportCategory category)
Sets the
category of the exception. |
void |
setId(java.lang.String id)
Sets the identifier of the object which cannot be imported.
|
addChild, getError, getMessage, marshal, marshalChildren, marshalIError, setError, unmarshalIErrorgetOperandReferencepublic static final java.lang.String TAG_NAME
public InvalidSubscriberDataImportErrorException()
InvalidSubscriberDataImportErrorException.public InvalidSubscriberDataImportErrorException(InvalidSubscriberDataImportErrorException.InvalidSubscriberDataImportCategory category, java.lang.String id, IError error)
InvalidSubscriberDataImportErrorException with a category, an object identifier and an error.category - the category of the exceptionid - the identifier of the object to importerror - the error associated to the exceptionpublic InvalidSubscriberDataImportErrorException(InvalidSubscriberDataImportErrorException.InvalidSubscriberDataImportCategory category, IError error)
InvalidSubscriberDataImportErrorException with a category and an error.category - the category of the exceptionerror - the error associated to the exceptionpublic void marshalAttributes(XMLOutputter output)
IXMLMarshallableoutput - The XML output to marshal the object attributes intopublic void setAttributes(XMLAttributes atts)
XMLMarshallableatts - The XML attributes of the current elementpublic void addCharacterData(java.lang.String cData)
XMLMarshallablecData - The character data to be addedpublic java.lang.String getTagName()
OperationFailureErrorExceptiongetTagName in class OperationFailureErrorExceptionpublic InvalidSubscriberDataImportErrorException.InvalidSubscriberDataImportCategory getCategory()
category of the exception.category of the exceptionpublic void setCategory(InvalidSubscriberDataImportErrorException.InvalidSubscriberDataImportCategory category)
category of the exception.category - the category of the exceptionpublic java.lang.String getId()
public void setId(java.lang.String id)
id - the identifier of the object which cannot be imported