Class GuidOrientatedException
- 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.GuidOrientatedException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
EntityNotDeletedException,EntityNotPurgedException,UnrecognizedGUIDException
public class GuidOrientatedException extends SubjectAreaCheckedException
The GuidOrientatedException is thrown by the Subject Area OMAS when an error occurs that has an associated guid.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GuidOrientatedException(ExceptionMessageDefinition messageDefinition, String className, String actionDescription, String guid)This is the typical constructor used for creating a GuidOrientatedExceptionGuidOrientatedException(ExceptionMessageDefinition messageDefinition, String className, String actionDescription, Throwable caughtError, String guid)This is the constructor used for creating an GuidOrientatedException when an unexpected error has been caught.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetGuid()-
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 Detail
-
GuidOrientatedException
public GuidOrientatedException(ExceptionMessageDefinition messageDefinition, String className, String actionDescription, String guid)
This is the typical constructor used for creating a GuidOrientatedException- Parameters:
messageDefinition- content of the messageclassName- name of class reporting erroractionDescription- description of function it was performing when error detectedguid- guid associated with this Exception
-
GuidOrientatedException
public GuidOrientatedException(ExceptionMessageDefinition messageDefinition, String className, String actionDescription, Throwable caughtError, String guid)
This is the constructor used for creating an GuidOrientatedException 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 exceptionguid- guid associated with this Exception
-
-
Method Detail
-
getGuid
public String getGuid()
-
-