java.lang.Object
java.lang.Throwable
java.lang.Exception
org.odpi.openmetadata.frameworks.openmetadata.ffdc.OMFCheckedExceptionBase
org.odpi.openmetadata.commonservices.ffdc.exceptions.OMAGCheckedExceptionBase
org.odpi.openmetadata.commonservices.multitenant.ffdc.exceptions.NewInstanceException
All Implemented Interfaces:
Serializable

public class NewInstanceException extends org.odpi.openmetadata.commonservices.ffdc.exceptions.OMAGCheckedExceptionBase
NewInstanceException is thrown if the OMAG service is not able to register a new instance of itself in its instance map.
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
    NewInstanceException(org.odpi.openmetadata.frameworks.auditlog.messagesets.ExceptionMessageDefinition messageDefinition, String className, String actionDescription)
    This is the typical constructor used for creating an NewInstanceException.
    NewInstanceException(org.odpi.openmetadata.frameworks.auditlog.messagesets.ExceptionMessageDefinition messageDefinition, String className, String actionDescription, Exception caughtError)
    This is the constructor used for creating an NewInstanceException when an unexpected error has been caught.
    NewInstanceException(org.odpi.openmetadata.frameworks.auditlog.messagesets.ExceptionMessageDefinition messageDefinition, String className, String actionDescription, Exception caughtError, Map<String,Object> relatedProperties)
    This is the constructor used for creating an NewInstanceException when an unexpected error has been caught.
    NewInstanceException(org.odpi.openmetadata.frameworks.auditlog.messagesets.ExceptionMessageDefinition messageDefinition, String className, String actionDescription, Map<String,Object> relatedProperties)
    This is the typical constructor used for creating an NewInstanceException.
  • Method Summary

    Methods inherited from class org.odpi.openmetadata.commonservices.ffdc.exceptions.OMAGCheckedExceptionBase

    toString

    Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.ffdc.OMFCheckedExceptionBase

    equals, getErrorMessage, getRelatedProperties, getReportedCaughtException, getReportedCaughtExceptionClassName, getReportedErrorMessage, getReportedErrorMessageId, getReportedErrorMessageParameters, getReportedHTTPCode, getReportedSystemAction, getReportedUserAction, getReportingActionDescription, getReportingClassName, hashCode

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • NewInstanceException

      public NewInstanceException(org.odpi.openmetadata.frameworks.auditlog.messagesets.ExceptionMessageDefinition messageDefinition, String className, String actionDescription)
      This is the typical constructor used for creating an NewInstanceException.
      Parameters:
      messageDefinition - content of the message
      className - name of class reporting error
      actionDescription - description of function it was performing when error detected
    • NewInstanceException

      public NewInstanceException(org.odpi.openmetadata.frameworks.auditlog.messagesets.ExceptionMessageDefinition messageDefinition, String className, String actionDescription, Map<String,Object> relatedProperties)
      This is the typical constructor used for creating an NewInstanceException. The properties allow additional information to be associated with the exception.
      Parameters:
      messageDefinition - content of the message
      className - name of class reporting error
      actionDescription - description of function it was performing when error detected
      relatedProperties - arbitrary properties that may help with diagnosing the problem.
    • NewInstanceException

      public NewInstanceException(org.odpi.openmetadata.frameworks.auditlog.messagesets.ExceptionMessageDefinition messageDefinition, String className, String actionDescription, Exception caughtError)
      This is the constructor used for creating an NewInstanceException when an unexpected error has been caught. The properties allow additional information to be associated with the exception.
      Parameters:
      messageDefinition - content of the message
      className - name of class reporting error
      actionDescription - description of function it was performing when error detected
      caughtError - previous error causing this exception
    • NewInstanceException

      public NewInstanceException(org.odpi.openmetadata.frameworks.auditlog.messagesets.ExceptionMessageDefinition messageDefinition, String className, String actionDescription, Exception caughtError, Map<String,Object> relatedProperties)
      This is the constructor used for creating an NewInstanceException when an unexpected error has been caught. The properties allow additional information to be associated with the exception.
      Parameters:
      messageDefinition - content of the message
      className - name of class reporting error
      actionDescription - description of function it was performing when error detected
      caughtError - previous error causing this exception
      relatedProperties - arbitrary properties that may help with diagnosing the problem.