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 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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ServerAuthorViewServiceException(ExceptionMessageDefinition messageDefinition, String className, String actionDescription)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object objectToCompare)Return comparison result based on the content of the properties.inthashCode()Return hash code for this objectStringtoString()JSON-style toString-
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 Detail
-
ServerAuthorViewServiceException
public ServerAuthorViewServiceException(ExceptionMessageDefinition messageDefinition, String className, String actionDescription)
Constructor- Parameters:
messageDefinition- message definitionclassName- class name for diagnostics purposesactionDescription- current action
-
-
Method Detail
-
toString
public String toString()
JSON-style toString- Overrides:
toStringin classOCFCheckedExceptionBase- Returns:
- string of property names and values for this enum
-
equals
public boolean equals(Object objectToCompare)
Return comparison result based on the content of the properties.- Overrides:
equalsin classOCFCheckedExceptionBase- Parameters:
objectToCompare- test object- Returns:
- result of comparison
-
hashCode
public int hashCode()
Return hash code for this object- Overrides:
hashCodein classOCFCheckedExceptionBase- Returns:
- int hash code
-
-