SAP CC 1.0
API 4.2 (Core)

com.highdeal.filter.hci
Class InvalidBulkModificationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.highdeal.hci.OperationFailureException
              extended by com.highdeal.filter.hci.InvalidBulkModificationException
All Implemented Interfaces:
OperationResult, XMLMarshallable, java.io.Serializable

public class InvalidBulkModificationException
extends OperationFailureException

This class implements the methods for the description of an invalid bulk modification exception.

See Also:
Serialized Form
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

INVALID_ATTRIBUTE_NAME

public static final int INVALID_ATTRIBUTE_NAME
Modification attribute description name is invalid.

See Also:
Constant Field Values

INVALID_OPERATOR

public static final int INVALID_OPERATOR
Modification operator is not valid according to attribute type.

See Also:
Constant Field Values

INCOMPATIBLE_OPERAND

public static final int INCOMPATIBLE_OPERAND
The operand type is not compatible with attribute type.

See Also:
Constant Field Values

SCOPE_HAS_NO_ADDITIONAL_INFO

public static final int SCOPE_HAS_NO_ADDITIONAL_INFO
The scope does not support additional info framwork.

See Also:
Constant Field Values

DATABASE_FAILURE

public static final int DATABASE_FAILURE
Database failure exception.

See Also:
Constant Field Values

INVALID_SPECIFIC_FORMULA

public static final int INVALID_SPECIFIC_FORMULA
Invalid specific formula

See Also:
Constant Field Values

MALFORMED_MODEL

public static final int MALFORMED_MODEL
Malformed modification model.

See Also:
Constant Field Values

INHERITANCE_BROADCASTING_FAILURE

public static final int INHERITANCE_BROADCASTING_FAILURE
Inheritance broadcasting failure exception.

See Also:
Constant Field Values

UNSUPPORTED_CROSS_FIELD

public static final int UNSUPPORTED_CROSS_FIELD
Unsupported cross modification field.

See Also:
Constant Field Values

UNEXPECTED_MODIFICATION

public static final int UNEXPECTED_MODIFICATION
Unexpected modification for the used API.

See Also:
Constant Field Values

AMBIGUOUS_MODIFICATION

public static final int AMBIGUOUS_MODIFICATION
Ambiguous modification for the used API.

See Also:
Constant Field Values

UNRESOLVED_PRE_RATING

public static final int UNRESOLVED_PRE_RATING
See Also:
Constant Field Values

INTERNAL_ERROR

public static final int INTERNAL_ERROR
Other internal reasons.

See Also:
Constant Field Values

SPECIFIED_IN_MESSAGE

public static final int SPECIFIED_IN_MESSAGE
See Also:
Constant Field Values
Constructor Detail

InvalidBulkModificationException

public InvalidBulkModificationException()
Builds an InvalidBulkModificationException.


InvalidBulkModificationException

public InvalidBulkModificationException(java.lang.String message,
                                        int operator)
Builds an InvalidBulkModificationException.

Parameters:
message - the message of the exception.
operator - the operator of the exception.

InvalidBulkModificationException

public InvalidBulkModificationException(int reason)
Builds an InvalidBulkModificationException.

Parameters:
reason - the reason of the exception.

InvalidBulkModificationException

public InvalidBulkModificationException(int reason,
                                        java.lang.String attribute)
Builds an InvalidBulkModificationException.

Parameters:
reason - the reason of the exception.
attribute - the attribute of the bad search.

InvalidBulkModificationException

public InvalidBulkModificationException(int reason,
                                        java.lang.String attribute,
                                        java.lang.Object operand,
                                        int operator,
                                        java.lang.Exception exc,
                                        java.lang.String itemID)
Builds an InvalidBulkModificationException.

Parameters:
reason - the reason of the exception.
attribute - the attribute of the bad search.
Method Detail

setAttributes

public void setAttributes(XMLAttributes atts)
Description copied from interface: XMLMarshallable
Sets the attributes of the XML representation of the tag beeing processed.

Parameters:
atts - the XML attributes of the current tag.

addCharacterData

public void addCharacterData(java.lang.String cData)
Description copied from interface: XMLMarshallable
Adds character data to the content element.

Parameters:
cData - the character data to be added.

addChild

public void addChild(java.lang.String tagName,
                     XMLMarshallable child)
Description copied from interface: XMLMarshallable
Adds a child to the objects, the child represents the marshallable object to be added into the content tree.

Parameters:
tagName - the name of tag for the child.
child - the child to be added.

marshal

public void marshal(XMLOutputter output)
Description copied from interface: XMLMarshallable
Gives an XML representation of this object, and of its children.

Parameters:
output - the XML output to marshall the object into.

getReason

public int getReason()
Returns the reason of the exception.

Returns:
the reason of the exception.

getAttribute

public java.lang.String getAttribute()
Returns the faulty attribute description name.

Returns:
the name of the faulty attribute description name.

getItemID

public java.lang.Object getItemID()
Returns the id of the item which has failed during database modification.

Returns:
the faulty item id.

getOperand

public java.lang.String getOperand()
Returns the faulty operand.

Returns:
the faulty operand.

getOperator

public int getOperator()
Returns the faulty operator.

Returns:
the faulty operator.

toString

public java.lang.String toString()
Returns the reason of the exception in readable format.

Overrides:
toString in class java.lang.Throwable
Returns:
a string describing the reason of the exception.

getMessage

public java.lang.String getMessage()
Gets the message.

Overrides:
getMessage in class java.lang.Throwable
Returns:
the message.

SAP CC 1.0
API 4.2 (Core)


API Reference - July 2009

SAP Convergent Charging 1.0 (build R4.2.1.35.0.0)
CONVERGENT CHARGING 4.2

(c) Copyright 2009 SAP AG. All rights reserved.