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
public class ServerAuthorViewServiceException
extends org.odpi.openmetadata.frameworks.connectors.ffdc.OCFCheckedExceptionBase
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(org.odpi.openmetadata.frameworks.auditlog.messagesets.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, getReportingClassNameMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
ServerAuthorViewServiceException
public ServerAuthorViewServiceException(org.odpi.openmetadata.frameworks.auditlog.messagesets.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:
toStringin classorg.odpi.openmetadata.frameworks.connectors.ffdc.OCFCheckedExceptionBase- Returns:
- string of property names and values for this enum
-
equals
Return comparison result based on the content of the properties.- Overrides:
equalsin classorg.odpi.openmetadata.frameworks.connectors.ffdc.OCFCheckedExceptionBase- Parameters:
objectToCompare- test object- Returns:
- result of comparison
-
hashCode
public int hashCode()Return hash code for this object- Overrides:
hashCodein classorg.odpi.openmetadata.frameworks.connectors.ffdc.OCFCheckedExceptionBase- Returns:
- int hash code
-