Class AssetCatalogException
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.accessservices.assetcatalog.exception.AssetCatalogException
- All Implemented Interfaces:
Serializable
AssetCatalogException provides a checked exception for reporting errors found when using
the Asset Catalog OMAS services.
Typically, these errors are either configuration or operational errors that can be fixed by an administrator
or power AssetConsumerInterface. However, there may be the odd bug that surfaces here.
The AssetCatalogErrorCode can be used with this exception to populate it with standard messages.
The aim is to be able to uniquely identify the cause and remedy for the error.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionAssetCatalogException
(ExceptionMessageDefinition messageDefinition, String className, String actionDescription) This is the typical constructor used for creating an AssetCatalogException.AssetCatalogException
(ExceptionMessageDefinition messageDefinition, String className, String actionDescription, Throwable caughtError) This is the constructor used for creating an AssetCatalogException when an unexpected error has been caught.AssetCatalogException
(ExceptionMessageDefinition messageDefinition, String className, String actionDescription, Throwable caughtError, Map<String, Object> relatedProperties) This is the constructor used for creating an AssetCatalogException when an unexpected error has been caught.AssetCatalogException
(ExceptionMessageDefinition messageDefinition, String className, String actionDescription, Map<String, Object> relatedProperties) This is the typical constructor used for creating an AssetCatalogException. -
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
-
AssetCatalogException
public AssetCatalogException(ExceptionMessageDefinition messageDefinition, String className, String actionDescription) This is the typical constructor used for creating an AssetCatalogException.- Parameters:
messageDefinition
- content of the messageclassName
- name of class reporting erroractionDescription
- description of function it was performing when error detected
-
AssetCatalogException
public AssetCatalogException(ExceptionMessageDefinition messageDefinition, String className, String actionDescription, Map<String, Object> relatedProperties) This is the typical constructor used for creating an AssetCatalogException. 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.
-
AssetCatalogException
public AssetCatalogException(ExceptionMessageDefinition messageDefinition, String className, String actionDescription, Throwable caughtError) This is the constructor used for creating an AssetCatalogException 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
-
AssetCatalogException
public AssetCatalogException(ExceptionMessageDefinition messageDefinition, String className, String actionDescription, Throwable caughtError, Map<String, Object> relatedProperties) This is the constructor used for creating an AssetCatalogException 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.
-