Class ClassificationException
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.subjectarea.ffdc.exceptions.SubjectAreaCheckedException
org.odpi.openmetadata.accessservices.subjectarea.ffdc.exceptions.ClassificationException
- All Implemented Interfaces:
Serializable
The ClassificationException is thrown by the Subject Area OMAS when an error occurs during a classification
value.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionClassificationException
(ExceptionMessageDefinition messageDefinition, String className, String actionDescription) This is the typical constructor used for creating a ClassificationExceptionClassificationException
(ExceptionMessageDefinition messageDefinition, String className, String actionDescription, Exception caughtError) This is the constructor used for creating an ClassificationException when an unexpected error has been caught. -
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
-
ClassificationException
public ClassificationException(ExceptionMessageDefinition messageDefinition, String className, String actionDescription) This is the typical constructor used for creating a ClassificationException- Parameters:
messageDefinition
- content of the messageclassName
- name of class reporting erroractionDescription
- description of function it was performing when error detected
-
ClassificationException
public ClassificationException(ExceptionMessageDefinition messageDefinition, String className, String actionDescription, Exception caughtError) This is the constructor used for creating an ClassificationException 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
-