This package provides the first failure data capture support for the OCF module. This includes an error code enum, a base class for runtime exceptions, a base class for checked exceptions plus implementation of each specific exception. The error code enum (OCFErrorCode) has an entry for each unique situation where an exception is returned. Each entry defines:
- A unique id for the error
- An HTTP error code for rest calls
- A unique message Id
- Message text with place holders for specific values
- A description of the cause of the error and system action as a result.
- A description of how to correct the error (if known)
ClassDescriptionConnectionCheckedException provides a checked exception for reporting errors found in connection objects.ConnectorCheckedException provides a checked exception for reporting errors found when using OCF connectors.The InvalidParameterException is thrown by the connector when a parameter is null or an invalid value.OCFCheckedExceptionBase provides a checked exception for reporting errors found when using OCF connectors.The OCF error code is used to define first failure data capture (FFDC) for errors that occur when working with OCF Connectors.OCFRuntimeException is used for all runtime exceptions generated by the OCF.PropertyServerException provides a checked exception for reporting errors when connecting to a metadata repository to retrieve properties about the connection and/or connector.The UserNotAuthorizedException is thrown by the OCF when a userId passed on a request is not authorized to perform the requested action.