|
SAP Convergent Charging
Java and XML APIs (Core) |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.highdeal.hci.OperationFailureException
com.highdeal.hci.OperationFailureErrorException
com.highdeal.hci.InvalidMaintainErrorException
public class InvalidMaintainErrorException
Generic exception thrown when there is an attempt to maintain something which is not valid.
The XML APIs specify the following XSD fragment:
XSD Fragment
<xs:element name="invalidMaintainError">
<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="InvalidMaintainCategoryType" use="required"/>
</xs:complexType>
</xs:element>
<xs:simpleType name="InvalidMaintainCategoryType">
<xs:restriction base="xs:string">
<xs:enumeration value="invalid"/>
<xs:enumeration value="prerequisiteMissing"/>
<xs:enumeration value="incompatibleConfiguration"/>
<xs:enumeration value="illegalState"/>
<xs:enumeration value="temporaryIllegalState"/>
</xs:restriction>
</xs:simpleType>
| Nested Class Summary | |
|---|---|
static class |
InvalidMaintainErrorException.InvalidMaintainCategory
This enumeration lists all the categories of errors that may occur during the maintenance of a master data. |
| Field Summary | |
|---|---|
static java.lang.String |
TAG_NAME
The XML tag name of the XML representation: "invalidMaintainError" |
| Fields inherited from class com.highdeal.hci.OperationFailureErrorException |
|---|
CAUSE_TAG_NAME, CAUSED_BY_TAG_NAME, MESSAGE_TAG_NAME |
| Constructor Summary | |
|---|---|
InvalidMaintainErrorException()
|
|
InvalidMaintainErrorException(InvalidMaintainErrorException.InvalidMaintainCategory category,
IError error)
Builds an exception with the error which has triggered it and associated category. |
|
InvalidMaintainErrorException(InvalidMaintainErrorException.InvalidMaintainCategory category,
IError error,
OperationFailureErrorException exception)
Builds an exception with an error, the Operation Failure which has triggered it and associated category. |
|
InvalidMaintainErrorException(InvalidMaintainErrorException.InvalidMaintainCategory category,
IError error,
java.lang.Throwable throwable)
Builds an exception with an error, the Throwable which has triggered it and associated category. |
|
| Method Summary | |
|---|---|
void |
addCharacterData(java.lang.String cData)
Adds character data to the content element. |
InvalidMaintainErrorException.InvalidMaintainCategory |
getCategory()
Gets the failure category of this exception. |
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. |
| Methods inherited from class com.highdeal.hci.OperationFailureErrorException |
|---|
addChild, getError, getMessage, marshal, marshalChildren, marshalIError, setError, unmarshalIError |
| Methods inherited from class com.highdeal.hci.OperationFailureException |
|---|
getOperandReference |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String TAG_NAME
| Constructor Detail |
|---|
public InvalidMaintainErrorException()
public InvalidMaintainErrorException(InvalidMaintainErrorException.InvalidMaintainCategory category,
IError error)
category.
category - The error categoryerror - The error which has triggered the exception
public InvalidMaintainErrorException(InvalidMaintainErrorException.InvalidMaintainCategory category,
IError error,
OperationFailureErrorException exception)
Operation Failure which has triggered it and associated category.
category - The error categoryerror - The error of the exceptionexception - The exception which has triggered the current one
public InvalidMaintainErrorException(InvalidMaintainErrorException.InvalidMaintainCategory category,
IError error,
java.lang.Throwable throwable)
Throwable which has triggered it and associated category.
category - The error categoryerror - The error of the exceptionthrowable - The throwable which has triggered the current one| Method Detail |
|---|
public InvalidMaintainErrorException.InvalidMaintainCategory getCategory()
category of this exception.
public java.lang.String getTagName()
OperationFailureErrorException
getTagName in class OperationFailureErrorExceptionpublic void marshalAttributes(XMLOutputter output)
IXMLMarshallable
output - The XML output to marshal the object attributes intopublic void setAttributes(XMLAttributes atts)
XMLMarshallable
atts - The XML attributes of the current elementpublic void addCharacterData(java.lang.String cData)
XMLMarshallable
cData - The character data to be added
|
Document Published: October 2015 (SAP CC 4.0 SP10 and Later) | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||