* <li>Error Message Id - to uniquely identify the message</li>
* <li>Error Message Text - includes placeholder to allow additional values to be captured</li>
* <li>SystemAction - describes the result of the error</li>
* <li>UserAction - describes how a user should correct the error</li>
* </ul>
*/
publicenumOCFErrorCode
{
NULL_CONNECTION(400,"OCF-CONNECTION-400-001 ",
"Null connection object passed on request for new connector instance",
"The system is unable to create the requested connector instance without the connection information that describes which type of connector is required.",
"Recode call to system to include a correctly formatted connection object and retry the request."),
UNNAMED_CONNECTION(400,"OCF-CONNECTION-400-002 ",
"Unnamed connection object passed to requested action {0}",
"The system is unable to perform the requested action without a connection name.",
"Update connection configuration to include a value for at least one of the following name properties: qualifiedName, displayName, guid. Then retry the request."),
"Null Connector Provider passed in connection {0}",
"The system is unable to create the requested connector instance without information on the type of connection required.",
"Update the connection configuration to include a valid Java class name for the connector provider in the connectorProviderClassName property of the connection's connectorType. Then retry the request."),
"Unknown Connector Provider class {0} passed in connection {1}",
"The system is unable to create the requested connector instance because the Connector Provider's class is not known to the JVM. This may be because the Connector Provider's jar is not installed in the local JVM or the wrong Java class name has been configured in the connection. ",
"Verify that the Connector Provider and Connector jar files are properly configured in the process. Update the connection configuration to include a valid Java class name for the connector provider in the connectorProviderClassName property of the connection's connectorType. Then retry the request."),
"Class {0} passed in connection {1} is not a Connector Provider",
"The system is unable to create the requested connector instance because the Connector Provider's class does not implement org.apache.atlas.ocf.ConnectorProvider. ",
"Update the connection configuration to include a valid Java class name for the connector provider in the connectorProviderClassName property of the connection's connectorType. Then retry the request."),
"Unable to load Connector Provider class {0} passed in connection {1}",
"The system is unable to create the requested connector instance because the Connector Provider's class is failing to load in the JVM. This has resulted in an exception in the class loader.",
"Verify that the Connector Provider and Connector jar files are properly configured in the process. Update the connection configuration to include a valid Java class name for the connector provider in the connectorProviderClassName property of the connection's connectorType. Then retry the request."),
"Invalid Connector Provider class {0} passed in connection {1}",
"The system is unable to create the requested connector instance because the Connector Provider's class is failing to initialize in the JVM. This has resulted in an exception in the class loader.",
"Verify that the Connector Provider and Connector jar files are properly configured in the process. Update the connection configuration to include a valid Java class name for the connector provider in the connectorProviderClassName property of the connection's connectorType. Then retry the request."),
"The system is unable to initialize the requested connector because the endpoint information in the connection is missing.",
"Add the endpoint information into the connection object and retry the request."),
MALFORMED_ENDPOINT(400,"OCF-CONNECTION-400-010 ",
"The endpoint attribute {0} in connection {1} is set to \"{2}\" which is invalid",
"The system is unable to initialize the requested connector because the endpoint information in the connection is not formatted correctly for this type of connection.",
"Correct the endpoint information into the connection object and retry the request."),
NULL_PROPERTY_NAME(400,"OCF-PROPERTIES-400-011 ",
"Null property name passed to entity {0} of type {1}",
"A request to set an additional property failed because the property name passed was null",
"Recode the call to the property object with a valid property name and retry."),
"No classification name for entity {0} of type {1}",
"A classification with a null name is assigned to an entity. This value should come from a metadata repository, and always be filled in.",
"Look for other error messages to identify the source of the problem. Identify the metadata repository where the asset came from. Correct the cause of the error and then retry."),
NULL_TAG_NAME(400,"OCF-PROPERTIES-400-017 ",
"No tag name for entity {0} of type {1}",
"A tag with a null name is assigned to an entity. This value should come from a metadata repository, and always be filled in.",
"Look for other error messages to identify the source of the problem. Identify the metadata repository where the asset came from. Correct the cause of the error and then retry."),
UNKNOWN_ENDPOINT(404,"OCF-CONNECTOR-404-001 ",
"Endpoint {0} in connection {1} for connector instance {2} is either unknown or unavailable",
"The requested action is not able to complete because the remote endpoint where the assets are located is not responding. It may be unavailable or unknown.",
"Verify that the endpoint information is correct and the server that supports it is operational, then retry the request."),
"The system is unable to create the requested connector instance without the name of the Java class for the connector.",
"Update the implementation of the connector provider to ensure the connector's java class is intitialized correctly"),
UNKNOWN_CONNECTOR(500,"OCF-CONNECTOR-500-007 ",
"Unknown Connector Java class {0}",
"The system is unable to create the requested connector instance because the Connector's class is not known to the JVM. This may be because the Connector Provider's jar is not installed in the local JVM or the wrong Java class name has been configured in the connection. ",
"Verify that the Connector Provider and Connector jar files are properly configured in the process. Update the connection configuration to include a valid Java class name for the connector provider in the connectorProviderClassName property of the connection's connectorType. Then retry the request."),
NOT_CONNECTOR(500,"OCF-CONNECTOR-500-008 ",
"Java class {0} is not a Connector",
"The system is unable to create the requested connector instance because the Connector's class does not implement org.apache.atlas.ocf.Connector. ",
"Update the connection configuration to include a valid Java class name for the connector provider in the connectorProviderClassName property of the connection's connectorType. Then retry the request."),
"The system is unable to create the requested connector instance because the Connector's class is failing to load in the JVM. This has resulted in an exception in the class loader.",
"Verify that the Connector Provider and Connector jar files are properly configured in the process. Then retry the request."),
INVALID_CONNECTOR(500,"OCF-CONNECTION-500-010 ",
"Invalid Connector class {0}",
"The system is unable to create the requested connector instance because the Connector's class is failing to initialize in the JVM. This has resulted in an exception in the class loader.",
"Verify that the Connector Provider and Connector jar files are properly configured in the process. Then retry the request."),
NULL_CONNECTOR(500,"OCF-CONNECTION-500-011 ",
"Connector Provider {0} returned a null connector instance for connection {1}",
"The system detected an error during connector processing and was unable to create a connector.",
"The root cause of the error is captured in previous reported messages.");