Class ErrorDefinition

    • Constructor Detail

      • ErrorDefinition

        public ErrorDefinition()
        No args constructor for use in serialization
      • ErrorDefinition

        public ErrorDefinition​(String name)
        Parameters:
        name -
    • Method Detail

      • getName

        public String getName()
        Domain-specific error name (Required)
      • setName

        public void setName​(String name)
        Domain-specific error name (Required)
      • getCode

        public String getCode()
        Error code. Can be used in addition to the name to help runtimes resolve to technical errors/exceptions. Should not be defined if error is set to '*'
      • setCode

        public void setCode​(String code)
        Error code. Can be used in addition to the name to help runtimes resolve to technical errors/exceptions. Should not be defined if error is set to '*'
      • getDescription

        public String getDescription()
        Error description
      • setDescription

        public void setDescription​(String description)
        Error description