MKS Integrity 2007 Integrations Builder Guide
MKS Integrity 2007 Integrations Builder Guide
MKS Integrity 2007 Integrations Builder Guide
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Chapter 3: Using the <strong>MKS</strong> API<br />
32<br />
The following table lists some general API application exceptions.<br />
Exception Class Reason for Exception<br />
ApplicationInternalException Internal error occurred on integration point<br />
while executing command.<br />
ApplicationRuntimeException Error occurred while integration point running<br />
command because of unanticipated application<br />
problem.<br />
UnsupportedApplicationException Application passed in with command unknown/<br />
invalid.<br />
Application Connection Exceptions<br />
Application connection exceptions occur when there is an error while initiating a connection<br />
to the <strong>MKS</strong> <strong>Integrity</strong> Server.<br />
The following table lists the application connection exceptions and the reason why they<br />
occur.<br />
Exception Class Reason for Exception<br />
IncompatibleVersionException Valid integration point client cannot connect to<br />
server because server does not support client’s<br />
version.<br />
NoCredentialsException User’s credentials missing.<br />
Item Exceptions<br />
Item exceptions occur when there is an error processing an item while executing a command.<br />
The following table lists the application item exceptions and the reason why they occur.<br />
Exception Class Reason for Exception<br />
InvalidItemException Item invalid.<br />
ItemNotFoundException Item does not exist, for example, member you<br />
are trying to drop from Sandbox does not exist.<br />
ItemAlreadyExistsException Item is duplicate, for example, member you are<br />
trying to add to Sandbox already added.<br />
ItemModificationException Item cannot be modified, for example,<br />
<strong>MKS</strong> <strong>Integrity</strong> field you are trying to change is<br />
read-only.<br />
Permission Exceptions<br />
Permission exceptions occur when a command cannot be executed because the user did not<br />
have the required permissions.