Class DiscoveryEngineException

All Implemented Interfaces:
Serializable

public class DiscoveryEngineException extends OCFCheckedExceptionBase
DiscoveryEngineException indicates there is a problem with a request to a specific discovery engine. The error codes and messages indicate the cause of the problem and guidance on finding a remedy.
See Also:
  • Constructor Details

    • DiscoveryEngineException

      public DiscoveryEngineException(ExceptionMessageDefinition messageDefinition, String className, String actionDescription)
      This is the typical constructor used for creating a DiscoveryEngineException.
      Parameters:
      messageDefinition - content of message
      className - name of class reporting error
      actionDescription - description of function it was performing when error detected
    • DiscoveryEngineException

      public DiscoveryEngineException(ExceptionMessageDefinition messageDefinition, String className, String actionDescription, Throwable caughtError)
      This is the constructor used for creating a DiscoveryEngineException in response to a previous exception.
      Parameters:
      messageDefinition - content of message
      className - name of class reporting error
      actionDescription - description of function it was performing when error detected
      caughtError - the error that resulted in this exception.
    • DiscoveryEngineException

      public DiscoveryEngineException(String errorMessage, OCFCheckedExceptionBase template)
      This is the copy/clone constructor used for creating an exception.
      Parameters:
      errorMessage - associated message
      template - object to copy