com.sap.ip.me.api.smartsync
Class ModificationNotAllowedException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycom.sap.ip.me.api.services.MEException
              extended bycom.sap.ip.me.api.smartsync.SmartSyncException
                  extended bycom.sap.ip.me.api.smartsync.ModificationNotAllowedException
All Implemented Interfaces:
java.io.Serializable

public class ModificationNotAllowedException
extends SmartSyncException

This exception is thrown when any invalid of illegal update operation is performed on the repository object. For example, deleting a TOP row of a SyncBo object will throw an instance of this class.

Version:
2.1
Author:
SAP
See Also:
Serialized Form

Field Summary
static java.lang.String CHILDROW_NOTFOUND
          Static message used to indicate that the original child Row to be replaced is not a valid member of the SyncBo.
static java.lang.String FIELD_ROW_MISMATCH
          Static formatted message used when a FieldDescriptor does not have a corresponding match within a RowDescriptor.
static java.lang.String FLD_MODIFY_FORBIDDEN
          Static formatted message used when a modification to a field is prohibited.
static java.lang.String FLD_VALUE_IS_MANDATORY
          Static formatted message used when a mandatory field is not set with a proper value.
static java.lang.String ILLEGAL_LINKEDSYNCBO_REPLACE
          Static message used when an application tried to replace an existing SyncBo in the repository with a SyncBo that is NOT of UNLINKED status.
static java.lang.String ILLEGAL_NONINITIALROW_INSERT
          Static message used when an application tried to insert a SyncBo having a non-INITIAL status.
static java.lang.String ILLEGAL_NONINITIALSYNCBO_INSERT
          Static message used when an application tried to insert a SyncBo having a non-INITIAL status.
static java.lang.String ILLEGAL_TOPROW_DELETE
          Static message used when an application tried to delete a TOP row of a SyncBo.
static java.lang.String ILLEGAL_TOPROW_INSERT
          Static message used when an application tried to insert a TOP row instance into a SyncBo.
static java.lang.String ILLEGAL_TOPROW_REPLACE
          Static message used when an application tried to replace a TOP row instance of a SyncBo.
static java.lang.String ILLEGAL_UNLINKEDSYNCBO_DELETE
          Static message used when an application tried to delete an UNLINKED SyncBo from the repository.
static java.lang.String INCOMPATIBLE_FIELD_VALUE
          Static message used to indicate that specified field value is of incompatible type.
static java.lang.String INVALID_AS_CHILDROW
          Static message used to indicate that the Row is not a valid child structure for the SyncBo.
static java.lang.String LOCKED_SYNCBO
          Static message used to indicate that the SyncBo is in LOCKED status.
static java.lang.String NO_KEY_MOD
          Static message used when a modification is tried on the object's read-only SyncKey.
static java.lang.String ROW_TRANSITION
          Static string for "row transition" message.
static java.lang.String SYNCBO_MODIFY_FORBIDDEN
          Static formatted message used when a modification to a SyncBo object is prohibited.
 
Constructor Summary
ModificationNotAllowedException()
          Constructs a ModificationNotAllowedException instance with no message.
ModificationNotAllowedException(java.lang.String message)
          Constructs a ModificationNotAllowedException instance with a specified message.
ModificationNotAllowedException(java.lang.String message, java.lang.Object[] args)
          Constructs a ModificationNotAllowedException instance with a specified formatted message.
 
Methods inherited from class com.sap.ip.me.api.services.MEException
getNestedException, getReason, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ROW_TRANSITION

public static java.lang.String ROW_TRANSITION
Static string for "row transition" message.


FIELD_ROW_MISMATCH

public static final java.lang.String FIELD_ROW_MISMATCH
Static formatted message used when a FieldDescriptor does not have a corresponding match within a RowDescriptor.

See Also:
Constant Field Values

FLD_MODIFY_FORBIDDEN

public static final java.lang.String FLD_MODIFY_FORBIDDEN
Static formatted message used when a modification to a field is prohibited.

See Also:
Constant Field Values

SYNCBO_MODIFY_FORBIDDEN

public static final java.lang.String SYNCBO_MODIFY_FORBIDDEN
Static formatted message used when a modification to a SyncBo object is prohibited.

See Also:
Constant Field Values

FLD_VALUE_IS_MANDATORY

public static final java.lang.String FLD_VALUE_IS_MANDATORY
Static formatted message used when a mandatory field is not set with a proper value.

See Also:
Constant Field Values

NO_KEY_MOD

public static final java.lang.String NO_KEY_MOD
Static message used when a modification is tried on the object's read-only SyncKey.

See Also:
Constant Field Values

ILLEGAL_TOPROW_INSERT

public static final java.lang.String ILLEGAL_TOPROW_INSERT
Static message used when an application tried to insert a TOP row instance into a SyncBo.

See Also:
Constant Field Values

ILLEGAL_TOPROW_REPLACE

public static final java.lang.String ILLEGAL_TOPROW_REPLACE
Static message used when an application tried to replace a TOP row instance of a SyncBo.

See Also:
Constant Field Values

ILLEGAL_TOPROW_DELETE

public static final java.lang.String ILLEGAL_TOPROW_DELETE
Static message used when an application tried to delete a TOP row of a SyncBo.

See Also:
Constant Field Values

ILLEGAL_LINKEDSYNCBO_REPLACE

public static final java.lang.String ILLEGAL_LINKEDSYNCBO_REPLACE
Static message used when an application tried to replace an existing SyncBo in the repository with a SyncBo that is NOT of UNLINKED status.

See Also:
Constant Field Values

ILLEGAL_NONINITIALSYNCBO_INSERT

public static final java.lang.String ILLEGAL_NONINITIALSYNCBO_INSERT
Static message used when an application tried to insert a SyncBo having a non-INITIAL status.

See Also:
Constant Field Values

ILLEGAL_NONINITIALROW_INSERT

public static final java.lang.String ILLEGAL_NONINITIALROW_INSERT
Static message used when an application tried to insert a SyncBo having a non-INITIAL status.

See Also:
Constant Field Values

ILLEGAL_UNLINKEDSYNCBO_DELETE

public static final java.lang.String ILLEGAL_UNLINKEDSYNCBO_DELETE
Static message used when an application tried to delete an UNLINKED SyncBo from the repository.

See Also:
Constant Field Values

INVALID_AS_CHILDROW

public static final java.lang.String INVALID_AS_CHILDROW
Static message used to indicate that the Row is not a valid child structure for the SyncBo.

See Also:
Constant Field Values

LOCKED_SYNCBO

public static final java.lang.String LOCKED_SYNCBO
Static message used to indicate that the SyncBo is in LOCKED status.

See Also:
Constant Field Values

CHILDROW_NOTFOUND

public static final java.lang.String CHILDROW_NOTFOUND
Static message used to indicate that the original child Row to be replaced is not a valid member of the SyncBo.

See Also:
Constant Field Values

INCOMPATIBLE_FIELD_VALUE

public static final java.lang.String INCOMPATIBLE_FIELD_VALUE
Static message used to indicate that specified field value is of incompatible type.

See Also:
Constant Field Values
Constructor Detail

ModificationNotAllowedException

public ModificationNotAllowedException()
Constructs a ModificationNotAllowedException instance with no message.


ModificationNotAllowedException

public ModificationNotAllowedException(java.lang.String message)
Constructs a ModificationNotAllowedException instance with a specified message.

Parameters:
message - exception message

ModificationNotAllowedException

public ModificationNotAllowedException(java.lang.String message,
                                       java.lang.Object[] args)
Constructs a ModificationNotAllowedException instance with a specified formatted message.

Parameters:
message - the formatted exception message
args - the objects to be inserted in to the message string


Copyright © 2005 SAP AG. All Rights Reserved.