Class JobSchedulingError


  • public class JobSchedulingError
    extends Object
    An error encountered by the Batch service when scheduling a Job.
    • Constructor Detail

      • JobSchedulingError

        public JobSchedulingError()
    • Method Detail

      • category

        public ErrorCategory category()
        Get possible values include: 'userError', 'serverError'.
        Returns:
        the category value
      • withCategory

        public JobSchedulingError withCategory​(ErrorCategory category)
        Set possible values include: 'userError', 'serverError'.
        Parameters:
        category - the category value to set
        Returns:
        the JobSchedulingError object itself.
      • code

        public String code()
        Get the code value.
        Returns:
        the code value
      • withCode

        public JobSchedulingError withCode​(String code)
        Set the code value.
        Parameters:
        code - the code value to set
        Returns:
        the JobSchedulingError object itself.
      • message

        public String message()
        Get the message value.
        Returns:
        the message value
      • withMessage

        public JobSchedulingError withMessage​(String message)
        Set the message value.
        Parameters:
        message - the message value to set
        Returns:
        the JobSchedulingError object itself.
      • details

        public List<NameValuePair> details()
        Get the details value.
        Returns:
        the details value
      • withDetails

        public JobSchedulingError withDetails​(List<NameValuePair> details)
        Set the details value.
        Parameters:
        details - the details value to set
        Returns:
        the JobSchedulingError object itself.