Class ControlProtocolException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
InvalidChannelException

public class ControlProtocolException extends AeronException
Indicates an invalid use of the control protocol when sending commands from the client to driver.
See Also:
  • Constructor Details

    • ControlProtocolException

      public ControlProtocolException(ErrorCode code, String msg)
      Construct an exception to indicate an invalid command has been sent to the media driver.
      Parameters:
      code - for the type of error.
      msg - providing more detail.
    • ControlProtocolException

      public ControlProtocolException(ErrorCode code, Exception rootCause)
      Construct an exception to indicate an invalid command has been sent to the media driver.
      Parameters:
      code - for the type of error.
      rootCause - of the error.
    • ControlProtocolException

      public ControlProtocolException(ErrorCode code, String msg, Exception rootCause)
      Construct an exception to indicate an invalid command has been sent to the media driver.
      Parameters:
      code - for the type of error.
      msg - providing more detail.
      rootCause - of the error.
  • Method Details

    • errorCode

      public ErrorCode errorCode()
      The ErrorCode indicating more specific issue experienced by the media driver.
      Returns:
      ErrorCode indicating more specific issue experienced by the media driver.