Class UnrecognizedGUIDException

  • All Implemented Interfaces:
    Serializable

    public class UnrecognizedGUIDException
    extends GuidOrientatedException
    The UnrecognizedGUIDException is thrown by the Subject Area OMAS when the unique identifier (guid) used to request an object is either unrecognized, or is the identifier for a different type of object.
    See Also:
    Serialized Form
    • Constructor Detail

      • UnrecognizedGUIDException

        public UnrecognizedGUIDException​(ExceptionMessageDefinition messageDefinition,
                                         String className,
                                         String actionDescription,
                                         String guid)
        This is the typical constructor used for creating an UnrecognizedGUIDException
        Parameters:
        messageDefinition - content of the message
        className - name of class reporting error
        actionDescription - description of function it was performing when error detected
        guid - unrecognised guid
      • UnrecognizedGUIDException

        public UnrecognizedGUIDException​(ExceptionMessageDefinition messageDefinition,
                                         String className,
                                         String actionDescription,
                                         Throwable caughtError,
                                         String guid)
        This is the constructor used for creating an UnrecognizedGUIDException when an unexpected error has been caught. The properties allow additional information to be associated with the exception.
        Parameters:
        messageDefinition - content of the message
        className - name of class reporting error
        actionDescription - description of function it was performing when error detected
        caughtError - previous error causing this exception
        guid - unrecognised guid