Class ServerAuthorViewServiceException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.odpi.openmetadata.frameworks.connectors.ffdc.OCFCheckedExceptionBase
org.odpi.openmetadata.viewservices.serverauthor.api.ffdc.ServerAuthorViewServiceException
- All Implemented Interfaces:
Serializable
This is a simple exception class that can convey the few types of exception
that it is sensible to propagate back to the user interface. The ServerAuthor handler will
have detected or caught each error condition, audit logged it and will then
create a ServerAuthorViewServiceException to capture the essential details that can be
used in the UI.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionServerAuthorViewServiceException
(ExceptionMessageDefinition messageDefinition, String className, String actionDescription) Constructor -
Method Summary
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.ffdc.OCFCheckedExceptionBase
getErrorMessage, getRelatedProperties, getReportedCaughtException, getReportedCaughtExceptionClassName, getReportedErrorMessage, getReportedErrorMessageId, getReportedErrorMessageParameters, getReportedHTTPCode, getReportedSystemAction, getReportedUserAction, getReportingActionDescription, getReportingClassName
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
ServerAuthorViewServiceException
public ServerAuthorViewServiceException(ExceptionMessageDefinition messageDefinition, String className, String actionDescription) Constructor- Parameters:
messageDefinition
- message definitionclassName
- class name for diagnostics purposesactionDescription
- current action
-
-
Method Details
-
toString
JSON-style toString- Overrides:
toString
in classOCFCheckedExceptionBase
- Returns:
- string of property names and values for this enum
-
equals
Return comparison result based on the content of the properties.- Overrides:
equals
in classOCFCheckedExceptionBase
- Parameters:
objectToCompare
- test object- Returns:
- result of comparison
-
hashCode
public int hashCode()Return hash code for this object- Overrides:
hashCode
in classOCFCheckedExceptionBase
- Returns:
- int hash code
-