|
SAP CC 1.0
API 4.2 (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.filter.hci.InvalidBulkModificationException
public class InvalidBulkModificationException
This class implements the methods for the description of an invalid bulk modification exception.
| XML Schema Fragment |
<xs:element name="invalidBulkModificationFault">
<xs:complexType>
<xs:attribute name="reason" type="InvalidBulkModificationReasonType"/>
<xs:attribute name="attribute" type="xs:string"/>
<xs:attribute name="operator" type="xs:string"/>
<xs:attribute name="operand" type="xs:string"/>
<xs:attribute name="itemID" type="xs:string"/>
<xs:attribute name="message" type="xs:string"/>
</xs:complexType>
</xs:element> |
<xs:simpleType name="InvalidBulkModificationReasonType">
<xs:restriction base="xs:string">
<xs:enumeration value="invalidAttributeName"/>
<xs:enumeration value="invalidOperator"/>
<xs:enumeration value="incompatibleOperand"/>
<xs:enumeration value="noAdditionalInfo"/>
<xs:enumeration value="databaseFailure"/>
<xs:enumeration value="malformedModel"/>
<xs:enumeration value="invalidSpecificModification"/>
<xs:enumeration value="inheritanceBroadcastingFailure"/>
<xs:enumeration value="unsupportedCrossModificationField"/>
<xs:enumeration value="unexpectedModification"/>
<xs:enumeration value="ambiguousModification"/>
<xs:enumeration value="unresolvedPreRating"/>
<xs:enumeration value="specifiedInMessage"/>
</xs:restriction>
</xs:simpleType> |
| Field Summary | |
|---|---|
static int |
AMBIGUOUS_MODIFICATION
Ambiguous modification for the used API. |
static int |
DATABASE_FAILURE
Database failure exception. |
static int |
INCOMPATIBLE_OPERAND
The operand type is not compatible with attribute type. |
static int |
INHERITANCE_BROADCASTING_FAILURE
Inheritance broadcasting failure exception. |
static int |
INTERNAL_ERROR
Other internal reasons. |
static int |
INVALID_ATTRIBUTE_NAME
Modification attribute description name is invalid. |
static int |
INVALID_OPERATOR
Modification operator is not valid according to attribute type. |
static int |
INVALID_SPECIFIC_FORMULA
Invalid specific formula |
static int |
MALFORMED_MODEL
Malformed modification model. |
static int |
SCOPE_HAS_NO_ADDITIONAL_INFO
The scope does not support additional info framwork. |
static int |
SPECIFIED_IN_MESSAGE
|
static int |
UNEXPECTED_MODIFICATION
Unexpected modification for the used API. |
static int |
UNRESOLVED_PRE_RATING
|
static int |
UNSUPPORTED_CROSS_FIELD
Unsupported cross modification field. |
| Constructor Summary | |
|---|---|
InvalidBulkModificationException()
Builds an InvalidBulkModificationException. |
|
InvalidBulkModificationException(int reason)
Builds an InvalidBulkModificationException. |
|
InvalidBulkModificationException(int reason,
java.lang.String attribute)
Builds an InvalidBulkModificationException. |
|
InvalidBulkModificationException(int reason,
java.lang.String attribute,
java.lang.Object operand,
int operator,
java.lang.Exception exc,
java.lang.String itemID)
Builds an InvalidBulkModificationException. |
|
InvalidBulkModificationException(java.lang.String message,
int operator)
Builds an InvalidBulkModificationException. |
|
| Method Summary | |
|---|---|
void |
addCharacterData(java.lang.String cData)
Adds character data to the content element. |
void |
addChild(java.lang.String tagName,
XMLMarshallable child)
Adds a child to the objects, the child represents
the marshallable object to be added into the content tree. |
java.lang.String |
getAttribute()
Returns the faulty attribute description name. |
java.lang.Object |
getItemID()
Returns the id of the item which has failed during database modification. |
java.lang.String |
getMessage()
Gets the message. |
java.lang.String |
getOperand()
Returns the faulty operand. |
int |
getOperator()
Returns the faulty operator. |
int |
getReason()
Returns the reason of the exception. |
void |
marshal(XMLOutputter output)
Gives an XML representation of this object, and of its children. |
void |
setAttributes(XMLAttributes atts)
Sets the attributes of the XML representation of the tag beeing processed. |
java.lang.String |
toString()
Returns the reason of the exception in readable format. |
| 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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int INVALID_ATTRIBUTE_NAME
public static final int INVALID_OPERATOR
public static final int INCOMPATIBLE_OPERAND
public static final int SCOPE_HAS_NO_ADDITIONAL_INFO
public static final int DATABASE_FAILURE
public static final int INVALID_SPECIFIC_FORMULA
public static final int MALFORMED_MODEL
public static final int INHERITANCE_BROADCASTING_FAILURE
public static final int UNSUPPORTED_CROSS_FIELD
public static final int UNEXPECTED_MODIFICATION
public static final int AMBIGUOUS_MODIFICATION
public static final int UNRESOLVED_PRE_RATING
public static final int INTERNAL_ERROR
public static final int SPECIFIED_IN_MESSAGE
| Constructor Detail |
|---|
public InvalidBulkModificationException()
public InvalidBulkModificationException(java.lang.String message,
int operator)
message - the message of the exception.operator - the operator of the exception.public InvalidBulkModificationException(int reason)
reason - the reason of the exception.
public InvalidBulkModificationException(int reason,
java.lang.String attribute)
reason - the reason of the exception.attribute - the attribute of the bad search.
public InvalidBulkModificationException(int reason,
java.lang.String attribute,
java.lang.Object operand,
int operator,
java.lang.Exception exc,
java.lang.String itemID)
reason - the reason of the exception.attribute - the attribute of the bad search.| Method Detail |
|---|
public void setAttributes(XMLAttributes atts)
XMLMarshallable
atts - the XML attributes of the current tag.public void addCharacterData(java.lang.String cData)
XMLMarshallable
cData - the character data to be added.
public void addChild(java.lang.String tagName,
XMLMarshallable child)
XMLMarshallablechild represents
the marshallable object to be added into the content tree.
tagName - the name of tag for the child.child - the child to be added.public void marshal(XMLOutputter output)
XMLMarshallable
output - the XML output to marshall the object into.public int getReason()
public java.lang.String getAttribute()
public java.lang.Object getItemID()
public java.lang.String getOperand()
public int getOperator()
public java.lang.String toString()
toString in class java.lang.Throwablepublic java.lang.String getMessage()
getMessage in class java.lang.Throwable
|
SAP CC 1.0
API 4.2 (Core) |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
SAP Convergent Charging 1.0 (build R4.2.1.35.0.0)
CONVERGENT CHARGING 4.2
(c) Copyright 2009 SAP AG. All rights reserved.