Class EmgParseException

All Implemented Interfaces:
Serializable

public class EmgParseException extends RuntimeException
Thrown by EmgMessageParser when input is not an EMG envelope at all: empty, not JSON, not a JSON object, or without a Task object. The message never contains the payload.
See Also:
  • Constructor Details

    • EmgParseException

      public EmgParseException(String message)
      Creates the exception.
      Parameters:
      message - what was wrong with the input (no payload content)