Class ServerAuthorViewServiceException

  • All Implemented Interfaces:
    java.io.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 Detail

      • ServerAuthorViewServiceException

        public ServerAuthorViewServiceException​(ExceptionMessageDefinition messageDefinition,
                                                java.lang.String className,
                                                java.lang.String actionDescription)
        Constructor
        Parameters:
        messageDefinition - message definition
        className - class name for diagnostics purposes
        actionDescription - current action
    • Method Detail

      • toString

        public java.lang.String toString()
        JSON-style toString
        Overrides:
        toString in class OCFCheckedExceptionBase
        Returns:
        string of property names and values for this enum
      • equals

        public boolean equals​(java.lang.Object objectToCompare)
        Return comparison result based on the content of the properties.
        Overrides:
        equals in class OCFCheckedExceptionBase
        Parameters:
        objectToCompare - test object
        Returns:
        result of comparison