Class ServiceErrorDetail


  • public final class ServiceErrorDetail
    extends Object
    Error details.
    • Constructor Detail

      • ServiceErrorDetail

        public ServiceErrorDetail()
    • Method Detail

      • code

        public String code()
        Get the code property: Error code.
        Returns:
        the code value.
      • message

        public String message()
        Get the message property: Error message.
        Returns:
        the message value.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.