Class NewInstanceException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.odpi.openmetadata.frameworks.connectors.ffdc.OCFCheckedExceptionBase
org.odpi.openmetadata.commonservices.ffdc.exceptions.OMAGCheckedExceptionBase
org.odpi.openmetadata.commonservices.multitenant.ffdc.exceptions.NewInstanceException
- All Implemented Interfaces:
Serializable
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
ConstructorDescriptionNewInstanceException
(ExceptionMessageDefinition messageDefinition, String className, String actionDescription) This is the typical constructor used for creating an NewInstanceException.NewInstanceException
(ExceptionMessageDefinition messageDefinition, String className, String actionDescription, Throwable caughtError) This is the constructor used for creating an NewInstanceException when an unexpected error has been caught.NewInstanceException
(ExceptionMessageDefinition messageDefinition, String className, String actionDescription, Throwable caughtError, Map<String, Object> relatedProperties) This is the constructor used for creating an NewInstanceException when an unexpected error has been caught.NewInstanceException
(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.connectors.ffdc.OCFCheckedExceptionBase
equals, getErrorMessage, getRelatedProperties, getReportedCaughtException, getReportedCaughtExceptionClassName, getReportedErrorMessage, getReportedErrorMessageId, getReportedErrorMessageParameters, getReportedHTTPCode, getReportedSystemAction, getReportedUserAction, getReportingActionDescription, getReportingClassName, hashCode
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
NewInstanceException
public NewInstanceException(ExceptionMessageDefinition messageDefinition, String className, String actionDescription) This is the typical constructor used for creating an NewInstanceException.- Parameters:
messageDefinition
- content of the messageclassName
- name of class reporting erroractionDescription
- description of function it was performing when error detected
-
NewInstanceException
public NewInstanceException(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 messageclassName
- name of class reporting erroractionDescription
- description of function it was performing when error detectedrelatedProperties
- arbitrary properties that may help with diagnosing the problem.
-
NewInstanceException
public NewInstanceException(ExceptionMessageDefinition messageDefinition, String className, String actionDescription, Throwable 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 messageclassName
- name of class reporting erroractionDescription
- description of function it was performing when error detectedcaughtError
- previous error causing this exception
-
NewInstanceException
public NewInstanceException(ExceptionMessageDefinition messageDefinition, String className, String actionDescription, Throwable 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 messageclassName
- name of class reporting erroractionDescription
- description of function it was performing when error detectedcaughtError
- previous error causing this exceptionrelatedProperties
- arbitrary properties that may help with diagnosing the problem.
-