# Uses of Class
com.orchestranetworks.schema.ConstraintViolationException

Packages that use ConstraintViolationException
Package
Description
com.orchestranetworks.schema.businessObjects
com.orchestranetworks.service
Provides classes and interfaces for implementing specific services and access rules on EBX®.

- ## Uses of ConstraintViolationException in com.orchestranetworks.schema.businessObjects

  Methods in com.orchestranetworks.schema.businessObjects that throw ConstraintViolationException
  Modifier and Type
  Method
  Description
  `void`
  MainEntity.`doDelete(ProcedureContext aContext)`
  Deletes the entire business object.

- ## Uses of ConstraintViolationException in com.orchestranetworks.service

  Methods in com.orchestranetworks.service that return ConstraintViolationException
  Modifier and Type
  Method
  Description
  `ConstraintViolationException`
  ProcedureResult.`getConstraintViolationException()`
  Returns the exception thrown if the procedure execution failed due to a constraint violation, `null` otherwise.
  Methods in com.orchestranetworks.service that throw ConstraintViolationException
  Modifier and Type
  Method
  Description
  `Adaptation`
  ProcedureContext.`doCreateOccurrence(ValueContext aContent, AdaptationTable aTable)`
  Creates a record in the specified table.
  `Adaptation`
  ProcedureContext.`doCreateOccurrence(ValueContext aContent, AdaptationTable aTable, UserReference aCreator, Date aCreationTime, UserReference aLastUpdater, Date aLastUpdateTime)`
  Creates a record in the specified table with the specified system metadata.
  `void`
  ProcedureContext.`doDelete(AdaptationName aName, boolean isDeletingChildren)`
  Deletes the specified dataset or record.
  `Adaptation`
  ProcedureContext.`doModifyContent(Adaptation aTarget, ValueContext aContent)`
  Modifies the content as specified.